2012/5/26 Timo Juhani Lindfors <[email protected]>: > Slobodan Milnović <[email protected]> writes: >> Core was generated by `grotty'. >> Program terminated with signal 4, Illegal instruction. >> #0 0x0000af3a in ?? () >> (gdb) bt > > Would be nice to see the output of the following commands: > > x/16i $pc > info register >
Unfortunatelly, I cannot give you the results of these gdb commands for this particular case, because my SD card became so corrupt that I had to format it and reinstall. But, I was able to repeat the segfaults and illegal instruction cases after the reinstall (debootstrap using wheezy armhf, and installed libc6-dbg), and I have put those in the attached txt file. If you need anything else, just say so.
sysctl.conf: kernel.core_uses_pid = 1 kernel.core_pattern = /var/log/dumps/core-%e-%s-%u-%g-%p-%t fs.suid_dumpable = 2 ulimit -c unlimited /var/log/dumps# gdb /usr/bin/troff core-troff-11-0-0-972-1338042952 GNU gdb (GDB) 7.4.1-debian Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> 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 "arm-linux-gnueabihf". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/bin/troff...(no debugging symbols found)...done. [New LWP 972] Core was generated by `troff -mtty-char -mandoc -rLL=97n -rLT=97n -Tascii'. Program terminated with signal 11, Segmentation fault. #0 0xbe9bdd14 in ?? () (gdb) bt #0 0xbe9bdd14 in ?? () #1 0x40298032 in __GI___libc_free (mem=<optimized out>) at malloc.c:3738 #2 0x00059f60 in ?? () #3 0x00059f60 in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) x/16i $pc => 0xbe9bdd14: cdplt 14, 9, cr13, cr11, cr10, {1} 0xbe9bdd18: mrclt 14, 4, sp, cr11, cr0, {1} 0xbe9bdd1c: mrclt 14, 4, sp, cr11, cr11, {1} 0xbe9bdd20: cdplt 14, 9, cr13, cr11, cr3, {2} 0xbe9bdd24: cdplt 14, 9, cr13, cr11, cr12, {2} 0xbe9bdd28: mrclt 14, 4, sp, cr11, cr5, {2} 0xbe9bdd2c: andeq r0, r0, r0 0xbe9bdd30: mrclt 14, 4, sp, cr11, cr13, {2} 0xbe9bdd34: mrclt 14, 4, sp, cr11, cr1, {3} 0xbe9bdd38: mrclt 14, 4, sp, cr11, cr11, {3} 0xbe9bdd3c: cdplt 14, 9, cr13, cr11, cr3, {4} 0xbe9bdd40: cdplt 14, 9, cr13, cr11, cr14, {4} 0xbe9bdd44: mrclt 14, 4, sp, cr11, cr11, {4} 0xbe9bdd48: cdplt 14, 9, cr13, cr11, cr11, {5} 0xbe9bdd4c: cdplt 14, 9, cr13, cr11, cr3, {6} 0xbe9bdd50: mrclt 14, 4, sp, cr11, cr0, {6} (gdb) info register r0 0x7e318 516888 r1 0x1 1 r2 0x0 0 r3 0x0 0 r4 0xbe9bd9b8 3197884856 r5 0x40321258 1077023320 r6 0x220bd 139453 r7 0x30 48 r8 0x59f60 368480 r9 0x11e7a0 1173408 r10 0x56e84 355972 r11 0x56e80 355968 r12 0x511f0 332272 sp 0xbe9bd9b4 0xbe9bd9b4 lr 0x40298033 1076461619 pc 0xbe9bdd14 0xbe9bdd14 cpsr 0x60000010 1610612752 /var/log/dumps# gdb /usr/bin/troff core-troff-11-0-0-9 core-troff-11-0-0-903-1338042908 core-troff-11-0-0-972-1338042952 core-troff-11-0-0-955-1338042932 core-troff-11-0-0-989-1338042961 root@HAL-Laptop:/var/log/dumps# gdb /usr/bin/troff core-troff-11-0-0-903-1338042908 GNU gdb (GDB) 7.4.1-debian Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> 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 "arm-linux-gnueabihf". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/bin/troff...(no debugging symbols found)...done. [New LWP 903] Core was generated by `troff -mtty-char -mandoc -rLL=97n -rLT=97n -Tascii'. Program terminated with signal 11, Segmentation fault. #0 0x006cc08c in ?? () (gdb) bt #0 0x006cc08c in ?? () #1 0x0000b400 in ?? () #2 0x0000b400 in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) x/16i $pc => 0x6cc08c: Cannot access memory at address 0x6cc08c (gdb) info register r0 0x5fb08 391944 r1 0xa44bc 672956 r2 0x0 0 r3 0x6e80 28288 r4 0x5fb08 391944 r5 0xa44bc 672956 r6 0x0 0 r7 0x56ec0 356032 r8 0x56f90 356240 r9 0x56e84 355972 r10 0x56e80 355968 r11 0xbedf9d14 3202325780 r12 0x51244 332356 sp 0xbedf99b8 0xbedf99b8 lr 0xb401 46081 pc 0x6cc08c 0x6cc08c cpsr 0x60000030 1610612784 /var/log/dumps# gdb /usr/bin/troff core-troff-11-0-0-9 core-troff-11-0-0-903-1338042908 core-troff-11-0-0-972-1338042952 core-troff-11-0-0-955-1338042932 core-troff-11-0-0-989-1338042961 root@HAL-Laptop:/var/log/dumps# gdb /usr/bin/troff core-troff-11-0-0-955-1338042932 GNU gdb (GDB) 7.4.1-debian Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> 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 "arm-linux-gnueabihf". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/bin/troff...(no debugging symbols found)...done. [New LWP 955] Core was generated by `troff -mtty-char -mandoc -rLL=97n -rLT=97n -Tascii'. Program terminated with signal 11, Segmentation fault. #0 0x006cc08c in ?? () (gdb) bt #0 0x006cc08c in ?? () #1 0x0000b400 in ?? () #2 0x0000b400 in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) x/16i $pc => 0x6cc08c: Cannot access memory at address 0x6cc08c (gdb) info register r0 0x5fb08 391944 r1 0xa44bc 672956 r2 0x0 0 r3 0x6e80 28288 r4 0x5fb08 391944 r5 0xa44bc 672956 r6 0x0 0 r7 0x56ec0 356032 r8 0x56f90 356240 r9 0x56e84 355972 r10 0x56e80 355968 r11 0xbea10a4c 3198224972 r12 0x51244 332356 sp 0xbea109b8 0xbea109b8 lr 0xb401 46081 pc 0x6cc08c 0x6cc08c cpsr 0x60000030 1610612784 /var/log/dumps# gdb /usr/bin/troff core-troff-11-0-0-9 core-troff-11-0-0-903-1338042908 core-troff-11-0-0-972-1338042952 core-troff-11-0-0-955-1338042932 core-troff-11-0-0-989-1338042961 root@HAL-Laptop:/var/log/dumps# gdb /usr/bin/troff core-troff-11-0-0-989-1338042961 GNU gdb (GDB) 7.4.1-debian Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> 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 "arm-linux-gnueabihf". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/bin/troff...(no debugging symbols found)...done. [New LWP 989] Core was generated by `troff -mtty-char -mandoc -rLL=97n -rLT=97n -Tascii'. Program terminated with signal 11, Segmentation fault. #0 0x006cc08c in ?? () (gdb) bt #0 0x006cc08c in ?? () #1 0x0000b400 in ?? () #2 0x0000b400 in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) x/16i $pc => 0x6cc08c: Cannot access memory at address 0x6cc08c (gdb) info register r0 0x5fb08 391944 r1 0xa44bc 672956 r2 0x0 0 r3 0x6e80 28288 r4 0x5fb08 391944 r5 0xa44bc 672956 r6 0x0 0 r7 0x56ec0 356032 r8 0x56f90 356240 r9 0x56e84 355972 r10 0x56e80 355968 r11 0xbe90ed14 3197168916 r12 0x51244 332356 sp 0xbe90e9b8 0xbe90e9b8 lr 0xb401 46081 pc 0x6cc08c 0x6cc08c cpsr 0x60000030 1610612784 /var/log/dumps# gdb /usr/bin/troff core-troff-4-0-0-828-1338043158 GNU gdb (GDB) 7.4.1-debian Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> 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 "arm-linux-gnueabihf". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/bin/troff...(no debugging symbols found)...done. [New LWP 828] Core was generated by `troff -mtty-char -mandoc -rLL=97n -rLT=97n -Tascii'. Program terminated with signal 4, Illegal instruction. #0 0x0000975a in printf () at printf.c:30 30 printf.c: No such file or directory. (gdb) bt #0 0x0000975a in printf () at printf.c:30 #1 0x00009738 in strcpy () at strcpy.c:31 #2 0x00009738 in strcpy () at strcpy.c:31 Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) x/16i $pc => 0x975a <printf+6>: blx 0xff342192 0x975e <printf+10>: ; <UNDEFINED> instruction: 0xc600e5bc 0x9762 <putenv+2>: bgt 0x12021a6 0x9766 <putenv+6>: blx 0xff14219e 0x976a <putenv+10>: ; <UNDEFINED> instruction: 0xc600e5bc 0x976e <__cxa_pure_virtual+2>: bgt 0x12021b2 0x9772 <__cxa_pure_virtual+6>: blx 0xfef421aa 0x9776 <__cxa_pure_virtual+10>: ; <UNDEFINED> instruction: 0xc600e5bc 0x977a <strstr+2>: bgt 0x12021be 0x977e <strstr+6>: blx 0xfed421b6 0x9782 <strstr+10>: ; <UNDEFINED> instruction: 0x4778e5bc 0x9786 <strstr+14>: strgt r4, [r0], -r0, asr #13 0x978a <fwrite+2>: bgt 0x12021ce 0x978e <fwrite+6>: blx 0xfea421c6 0x9792 <fwrite+10>: ; <UNDEFINED> instruction: 0x4778e5bc 0x9796 <fwrite+14>: strgt r4, [r0], -r0, asr #13 (gdb) info register r0 0x72f48 470856 r1 0x3d980 252288 r2 0x20000000 536870912 r3 0x0 0 r4 0x3d980 252288 r5 0x5afac 372652 r6 0x19d 413 r7 0x72f48 470856 r8 0xce8 3304 r9 0x762f8 484088 r10 0x76fe0 487392 r11 0xbb9 3001 r12 0x403af220 1077604896 sp 0xbe9c2b60 0xbe9c2b60 lr 0x9738 38712 pc 0x975a 0x975a <printf+6> cpsr 0x60000010 1610612752 /var/log/dumps# gdb /usr/bin/troff core-troff-4-0-0-920-1338042919 GNU gdb (GDB) 7.4.1-debian Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> 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 "arm-linux-gnueabihf". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/bin/troff...(no debugging symbols found)...done. [New LWP 920] Core was generated by `troff -mtty-char -mandoc -rLL=97n -rLT=97n -Tascii'. Program terminated with signal 4, Illegal instruction. #0 0x00009730 in strcpy () at strcpy.c:31 31 strcpy.c: No such file or directory. (gdb) bt #0 0x00009730 in strcpy () at strcpy.c:31 #1 0x00031472 in ?? () #2 0x000316ce in ?? () #3 0x00031726 in ?? () #4 0x00031726 in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) x/16i $pc => 0x9730 <strcpy>: add r12, pc, #0, 12 0x9734 <strcpy+4>: add r12, r12, #290816 ; 0x47000 0x9738 <strcpy+8>: ldr pc, [r12, #2788]! ; 0xae4 0x973c <strncat>: add r12, pc, #0, 12 0x9740 <strncat+4>: add r12, r12, #290816 ; 0x47000 0x9744 <strncat+8>: ldr pc, [r12, #2780]! ; 0xadc 0x9748 <__aeabi_uidiv>: add r12, pc, #0, 12 0x974c <__aeabi_uidiv+4>: add r12, r12, #290816 ; 0x47000 0x9750 <__aeabi_uidiv+8>: ldr pc, [r12, #2772]! ; 0xad4 0x9754 <printf>: add r12, pc, #0, 12 0x9758 <printf+4>: add r12, r12, #290816 ; 0x47000 0x975c <printf+8>: ldr pc, [r12, #2764]! ; 0xacc 0x9760 <putenv>: add r12, pc, #0, 12 0x9764 <putenv+4>: add r12, r12, #290816 ; 0x47000 0x9768 <putenv+8>: ldr pc, [r12, #2756]! ; 0xac4 0x976c <__cxa_pure_virtual>: add r12, pc, #0, 12 (gdb) info register r0 0x74308 475912 r1 0x3e780 255872 r2 0x20000000 536870912 r3 0x0 0 r4 0x3e780 255872 r5 0x5afac 372652 r6 0x7c0c8 508104 r7 0x74308 475912 r8 0x6d30 27952 r9 0x762f8 484088 r10 0x771c0 487872 r11 0xbb9 3001 r12 0x40300220 1076888096 sp 0xbee13b60 0xbee13b60 lr 0x31473 201843 pc 0x9730 0x9730 <strcpy> cpsr 0x60000010 1610612752 /var/log/dumps# gdb /usr/bin/troff core-troff-4-0-0-937-1338042925 GNU gdb (GDB) 7.4.1-debian Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> 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 "arm-linux-gnueabihf". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/bin/troff...(no debugging symbols found)...done. [New LWP 937] Core was generated by `troff -mtty-char -mandoc -rLL=97n -rLT=97n -Tascii'. Program terminated with signal 4, Illegal instruction. #0 0x00009730 in strcpy () at strcpy.c:31 31 strcpy.c: No such file or directory. (gdb) bt #0 0x00009730 in strcpy () at strcpy.c:31 #1 0x00030d76 in ?? () #2 0x000124f6 in ?? () #3 0x0001291e in ?? () #4 0x000129f4 in ?? () #5 0x00013b66 in ?? () #6 0x0001c548 in ?? () #7 0x0001f50a in ?? () #8 0x00013b66 in ?? () #9 0x0001c548 in ?? () #10 0x0001efdc in ?? () #11 0x0001f152 in ?? () #12 0x0000a7fc in ?? () #13 0x40318cfa in __libc_start_main (main=0x99f9, argc=6, ubp_av=0xbee2bd14, init=<optimized out>, fini=0x31739, rtld_fini=0x400a4d85 <_dl_fini>, stack_end=0xbee2bd14) at libc-start.c:228 #14 0x0000ad56 in ?? () #15 0x0000ad56 in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) x/16i $pc => 0x9730 <strcpy>: add r12, pc, #0, 12 0x9734 <strcpy+4>: add r12, r12, #290816 ; 0x47000 0x9738 <strcpy+8>: ldr pc, [r12, #2788]! ; 0xae4 0x973c <strncat>: add r12, pc, #0, 12 0x9740 <strncat+4>: add r12, r12, #290816 ; 0x47000 0x9744 <strncat+8>: ldr pc, [r12, #2780]! ; 0xadc 0x9748 <__aeabi_uidiv>: add r12, pc, #0, 12 0x974c <__aeabi_uidiv+4>: add r12, r12, #290816 ; 0x47000 0x9750 <__aeabi_uidiv+8>: ldr pc, [r12, #2772]! ; 0xad4 0x9754 <printf>: add r12, pc, #0, 12 0x9758 <printf+4>: add r12, r12, #290816 ; 0x47000 0x975c <printf+8>: ldr pc, [r12, #2764]! ; 0xacc 0x9760 <putenv>: add r12, pc, #0, 12 0x9764 <putenv+4>: add r12, r12, #290816 ; 0x47000 0x9768 <putenv+8>: ldr pc, [r12, #2756]! ; 0xac4 0x976c <__cxa_pure_virtual>: add r12, pc, #0, 12 (gdb) info register r0 0xb9c70 760944 r1 0xbee2b288 3202527880 r2 0x400b0065 1074462821 r3 0x370 880 r4 0xa 10 r5 0xbee2b288 3202527880 r6 0x5af78 372600 r7 0x5af78 372600 r8 0xa7a7c 686716 r9 0xbb9 3001 r10 0xaa59f8a5 2858023077 r11 0x0 0 r12 0x51204 332292 sp 0xbee2b140 0xbee2b140 lr 0x30d77 200055 pc 0x9730 0x9730 <strcpy> cpsr 0x80000010 -2147483632 /var/log/dumps# gdb /usr/bin/grotty core-grotty-4-0-0-1007-1338042969 GNU gdb (GDB) 7.4.1-debian Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> 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 "arm-linux-gnueabihf". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/bin/grotty...(no debugging symbols found)...done. [New LWP 1007] Core was generated by `grotty'. Program terminated with signal 4, Illegal instruction. #0 0x0000ae7e in ?? () (gdb) bt #0 0x0000ae7e in ?? () #1 0x0000af42 in ?? () #2 0x0000ba5c in ?? () #3 0x0000c00a in ?? () #4 0x00009526 in ?? () #5 0x40246cfa in __libc_start_main (main=0x93c1, argc=1, ubp_av=0xbe840d54, init=<optimized out>, fini=0x113b9, rtld_fini=0x40052d85 <_dl_fini>, stack_end=0xbe840d54) at libc-start.c:228 #6 0x000096fa in ?? () #7 0x000096fa in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) x/16i $pc => 0xae7e: blx 0x913c <_IO_getc> 0xae82: adds r3, r0, #1 0xae84: mov r4, r0 0xae86: cmp r3, #33 ; 0x21 0xae88: bhi.n 0xaf24 0xae8a: add r2, pc, #4 ; (adr r2, 0xae90) 0xae8c: ldr.w pc, [r2, r3, lsl #2] 0xae90: add r7, sp, #100 ; 0x64 0xae92: movs r0, r0 0xae94: add r7, sp, #148 ; 0x94 0xae96: movs r0, r0 0xae98: add r7, sp, #148 ; 0x94 0xae9a: movs r0, r0 0xae9c: add r7, sp, #148 ; 0x94 0xae9e: movs r0, r0 0xaea0: add r7, sp, #148 ; 0x94 (gdb) info register r0 0x4030e680 1076946560 r1 0x40000000 1073741824 r2 0x2f614 194068 r3 0x55 85 r4 0x201cc 131532 r5 0x201cc 131532 r6 0x261a8 156072 r7 0x201cc 131532 r8 0x1d244 119364 r9 0x219e8 137704 r10 0x1e1a0 123296 r11 0x21a10 137744 r12 0x4030f290 1076949648 sp 0xbe840b50 0xbe840b50 lr 0xaf43 44867 pc 0xae7e 0xae7e cpsr 0x60000030 1610612784 /var/log/dumps# gdb /usr/bin/preconv core-preconv-11-0-0-895-1338042907 GNU gdb (GDB) 7.4.1-debian Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> 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 "arm-linux-gnueabihf". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/bin/preconv...(no debugging symbols found)...done. [New LWP 895] Core was generated by `preconv -e UTF-8'. Program terminated with signal 11, Segmentation fault. #0 __memchr (s=<optimized out>, c_in=<optimized out>, n=3201502104) at memchr.c:86 86 memchr.c: No such file or directory. (gdb) bt #0 __memchr (s=<optimized out>, c_in=<optimized out>, n=3201502104) at memchr.c:86 #1 0x00009764 in ?? () #2 0x0000a4a8 in ?? () #3 0x00009246 in ?? () #4 0x40253cfa in __libc_start_main (main=0x90a9, argc=3, ubp_av=0xbed30dc4, init=<optimized out>, fini=0xbf29, rtld_fini=0x4001bd85 <_dl_fini>, stack_end=0xbed30dc4) at libc-start.c:228 #5 0x000092fa in ?? () #6 0x000092fa in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) x/16i $pc => 0x40296142 <__memchr+10>: ldrb r3, [r0, #0] 0x40296144 <__memchr+12>: cmp r3, r1 0x40296146 <__memchr+14>: itt ne 0x40296148 <__memchr+16>: movne r3, r0 0x4029614a <__memchr+18>: movne r0, r3 0x4029614c <__memchr+20>: bne.n 0x4029615c <__memchr+36> 0x4029614e <__memchr+22>: b.n 0x40296164 <__memchr+44> 0x40296150 <__memchr+24>: lsls r4, r0, #30 0x40296152 <__memchr+26>: beq.n 0x40296168 <__memchr+48> 0x40296154 <__memchr+28>: ldrb.w r4, [r3, #1]! 0x40296158 <__memchr+32>: cmp r4, r1 0x4029615a <__memchr+34>: beq.n 0x40296164 <__memchr+44> 0x4029615c <__memchr+36>: adds r0, #1 0x4029615e <__memchr+38>: subs r2, #1 0x40296160 <__memchr+40>: bne.n 0x40296150 <__memchr+24> 0x40296162 <__memchr+42>: mov r0, r2 (gdb) info register r0 0x75 117 r1 0xe0 224 r2 0xbed30b98 3201502104 r3 0x40000000 1073741824 r4 0xbed30b7c 3201502076 r5 0xf5 245 r6 0x75 117 r7 0x15394 86932 r8 0x4031b680 1076999808 r9 0x0 0 r10 0x5 5 r11 0x15394 86932 r12 0x40296139 1076453689 sp 0xbed30b68 0xbed30b68 lr 0x9765 38757 pc 0x40296142 0x40296142 <__memchr+10> cpsr 0x20000030 536870960 root@HAL-Laptop:/var/log/dumps# gdb /usr/bin/preconv core-preconv-11-0-0-947-1338042932 GNU gdb (GDB) 7.4.1-debian Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> 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 "arm-linux-gnueabihf". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/bin/preconv...(no debugging symbols found)...done. [New LWP 947] Core was generated by `preconv -e UTF-8'. Program terminated with signal 11, Segmentation fault. #0 0x00000000 in ?? () (gdb) bt #0 0x00000000 in ?? () #1 0x00009764 in ?? () #2 0x0000a4a8 in ?? () #3 0x00009246 in ?? () #4 0x4028fcfa in __libc_start_main (main=0x90a9, argc=3, ubp_av=0xbec16dc4, init=<optimized out>, fini=0xbf29, rtld_fini=0x4001ed85 <_dl_fini>, stack_end=0xbec16dc4) at libc-start.c:228 #5 0x000092fa in ?? () #6 0x000092fa in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) x/16i $pc => 0x0: Cannot access memory at address 0x0 (gdb) info register r0 0x6c 108 r1 0x403575e0 1077245408 r2 0xbec16b98 3200347032 r3 0x0 0 r4 0xbec16b7c 3200347004 r5 0xec 236 r6 0x6c 108 r7 0x15394 86932 r8 0x40357680 1077245568 r9 0x0 0 r10 0x5 5 r11 0x15394 86932 r12 0x21350 136016 sp 0xbec16b78 0xbec16b78 lr 0x9765 38757 pc 0x0 0 cpsr 0x80000010 -2147483632

