$ gdb luatex 8477 GNU gdb (GDB) 7.2-ubuntu Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /usr/bin/luatex...Reading symbols from /usr/lib/debug/usr/bin/luatex...done. done. Attaching to program: /usr/bin/luatex, process 8477 Reading symbols from /lib/libpng12.so.0...(no debugging symbols found)...done. Loaded symbols for /lib/libpng12.so.0 Reading symbols from /lib/libz.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/libz.so.1 Reading symbols from /lib/libdl.so.2...Reading symbols from /usr/lib/debug/lib/libdl-2.12.1.so...done. done. Loaded symbols for /lib/libdl.so.2 Reading symbols from /usr/lib/libstdc++.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libstdc++.so.6 Reading symbols from /lib/libm.so.6...Reading symbols from /usr/lib/debug/lib/libm-2.12.1.so...done. done. Loaded symbols for /lib/libm.so.6 Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/libgcc_s.so.1 Reading symbols from /lib/libc.so.6...Reading symbols from /usr/lib/debug/lib/libc-2.12.1.so...done. done. Loaded symbols for /lib/libc.so.6 Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug/lib/ld-2.12.1.so...done. done. Loaded symbols for /lib64/ld-linux-x86-64.so.2 0x00000000004a24d1 in get_avail () at ../../../source/texk/web2c/luatexdir/tex/textoken.w:154 154 ../../../source/texk/web2c/luatexdir/tex/textoken.w: No such file or directory. in ../../../source/texk/web2c/luatexdir/tex/textoken.w (gdb) bt full #0 0x00000000004a24d1 in get_avail () at ../../../source/texk/web2c/luatexdir/tex/textoken.w:154 p = 273242622 t = 273242621 #1 0x0000000000471ded in macro_call () at ../../../source/texk/web2c/luatexdir/tex/expand.w:658 r = 273242622 p = 273242621 q = 273242622 s = -2109026328 t = u = 1572864 v = rbrace_ptr = n = unbalance = 9 m = 257 ref_count = 163662 save_scanner_status = 0 save_warning_index = 3331 match_chr = 35 #2 0x0000000000472a45 in get_x_token () at ../../../source/texk/web2c/luatexdir/tex/expand.w:384 No locals. #3 0x0000000000511819 in test_for_cs () at ../../../source/texk/web2c/luatexdir/tex/conditional.w:176 m = s = p = 526371 #4 conditional () at ../../../source/texk/web2c/luatexdir/tex/conditional.w:483 b = r = m = n = p = ---Type to continue, or q to quit--- q = save_scanner_status = save_cond_ptr = 74229 this_if = #5 0x0000000000472695 in expand () at ../../../source/texk/web2c/luatexdir/tex/expand.w:236 t = p = cur_ptr = cv_backup = 1 cvl_backup = 0 radix_backup = 0 co_backup = 0 backup_backup = 0 save_scanner_status = 0 #6 0x0000000000472a7d in get_x_token () at ../../../source/texk/web2c/luatexdir/tex/expand.w:391 No locals. #7 0x000000000048022d in main_control () at ../../../source/texk/web2c/luatexdir/tex/maincontrol.w:892 No locals. #8 0x0000000000477fa7 in main_body () at ../../../source/texk/web2c/luatexdir/tex/mainbody.w:469 pdftex_map = "pdftex.map" #9 0x000000000045818e in main (ac=, av=) at ../../../source/texk/web2c/luatexdir/luatex.c:460 No locals. (gdb) info registers rax 0x104959fe 273242622 rbx 0x104959fd 273242621 rcx 0x104959fe 273242622 rdx 0x2b80e8bbc010 47832660426768 rsi 0x136f35e2 326055394 rdi 0x2b8184356f28 47835268869928 rbp 0x9 0x9 rsp 0x7fff97386740 0x7fff97386740 r8 0x28 40 r9 0x180000 1572864 r10 0x0 0 r11 0x2b80e6dff0b1 47832629244081 r12 0x13fa88 1309320 r13 0x101 257 r14 0x27f4e 163662 r15 0x824acfe8 2185940968 rip 0x4a24d1 0x4a24d1 eflags 0x10202 [ IF RF ] cs 0x33 51 ss 0x2b 43 ds 0x0 0 es 0x0 0 fs 0x0 0 gs 0x0 0 (gdb) x/16i $pc => 0x4a24d1 : movl $0x0,0x4(%rdx,%rcx,8) 0x4a24d9 : addl $0x1,0x963a88(%rip) # 0xe05f68 0x4a24e0 : pop %rbx 0x4a24e1 : retq 0x4a24e2 : jmp 0x4a24e8 0x4a24e4 : nop 0x4a24e5 : nop 0x4a24e6 : nop 0x4a24e7 : nop 0x4a24e8 : mov %esi,%eax 0x4a24ea : mov $0xcccccccd,%ebx 0x4a24ef : mov 0x963a6a(%rip),%rdi # 0xe05f60 0x4a24f6 : mul %ebx 0x4a24f8 : mov %edx,%ebx 0x4a24fa : shr $0x2,%ebx 0x4a24fd : lea 0x1(%rbx,%rsi,1),%esi (gdb) thread apply all backtrace Thread 1 (process 8477): #0 0x00000000004a24d1 in get_avail () at ../../../source/texk/web2c/luatexdir/tex/textoken.w:154 #1 0x0000000000471ded in macro_call () at ../../../source/texk/web2c/luatexdir/tex/expand.w:658 #2 0x0000000000472a45 in get_x_token () at ../../../source/texk/web2c/luatexdir/tex/expand.w:384 #3 0x0000000000511819 in test_for_cs () at ../../../source/texk/web2c/luatexdir/tex/conditional.w:176 #4 conditional () at ../../../source/texk/web2c/luatexdir/tex/conditional.w:483 #5 0x0000000000472695 in expand () at ../../../source/texk/web2c/luatexdir/tex/expand.w:236 #6 0x0000000000472a7d in get_x_token () at ../../../source/texk/web2c/luatexdir/tex/expand.w:391 #7 0x000000000048022d in main_control () at ../../../source/texk/web2c/luatexdir/tex/maincontrol.w:892 #8 0x0000000000477fa7 in main_body () at ../../../source/texk/web2c/luatexdir/tex/mainbody.w:469 #9 0x000000000045818e in main (ac=, av=) at ../../../source/texk/web2c/luatexdir/luatex.c:460 (gdb)