Hi,

Timo Juhani Lindfors <timo.lindf...@iki.fi> writes:
> ok, I'll try to find time to test this on different pieces of
> hardware. I'll start from some debian porter machine so that we can both
> access the same hardware.

Tried to duplicate this on barriere.debian.org but even after 16 retries
it didn't occur.

Meanwhile on my own system I managed to get the following crash:

GNU gdb (GDB) 7.6
Copyright (C) 2013 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 "x86_64-unknown-linux-gnu"...

*** stack smashing detected ***: crash terminated
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x7fe9870f7d17]
/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x0)[0x7fe9870f7ce0]
crash(kernel_init+0x308d)[0x4ed3ea]
crash(main_loop+0xdc)[0x463947]
crash(current_interp_command_loop+0x1f)[0x74ce61]
crash[0x74e110]
crash(catch_errors+0x63)[0x74bafe]
crash[0x74f732]
crash(catch_errors+0x63)[0x74bafe]
crash(gdb_main+0x3b)[0x74f780]
crash(gdb_main_entry+0x51)[0x74f7d8]
crash(gdb_main_loop+0x2c0)[0x50fb8e]
crash(main+0x2c05)[0x463857]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7fe98701c995]
crash[0x460b79]
======= Memory map: ========
00400000-00ba3000 r-xp 00000000 ca:00 708089                             
/usr/bin/crash
00da2000-00e61000 rw-p 007a2000 ca:00 708089                             
/usr/bin/crash
00e61000-01045000 rw-p 00000000 00:00 0 
014fc000-02f0e000 rw-p 00000000 00:00 0                                  [heap]
7fe97f15b000-7fe97ff53000 r--p 05dce000 ca:00 847174                     
/usr/lib/debug/boot/vmlinux-3.8-2-amd64
7fe97ff53000-7fe9805b4000 rw-p 00000000 00:00 0 
7fe9806cf000-7fe9806e4000 r-xp 00000000 ca:00 827469                     
/lib/x86_64-linux-gnu/libgcc_s.so.1
7fe9806e4000-7fe9808e4000 ---p 00015000 ca:00 827469                     
/lib/x86_64-linux-gnu/libgcc_s.so.1
7fe9808e4000-7fe9808e5000 rw-p 00015000 ca:00 827469                     
/lib/x86_64-linux-gnu/libgcc_s.so.1
7fe9808e5000-7fe980d30000 r--p 05693000 ca:00 847174                     
/usr/lib/debug/boot/vmlinux-3.8-2-amd64
7fe980d30000-7fe980f25000 r--p 0549f000 ca:00 847174                     
/usr/lib/debug/boot/vmlinux-3.8-2-amd64
7fe980f25000-7fe985878000 r--p 00b4d000 ca:00 847174                     
/usr/lib/debug/boot/vmlinux-3.8-2-amd64
7fe985878000-7fe986ad8000 rw-p 00000000 00:00 0 
7fe986b08000-7fe986cbe000 r--p 05c19000 ca:00 847174                     
/usr/lib/debug/boot/vmlinux-3.8-2-amd64
7fe986cbe000-7fe986ffb000 r--p 00000000 ca:00 716266                     
/usr/lib/locale/locale-archive
7fe986ffb000-7fe98719d000 r-xp 00000000 ca:00 827993                     
/lib/x86_64-linux-gnu/libc-2.17.so
7fe98719d000-7fe98739d000 ---p 001a2000 ca:00 827993                     
/lib/x86_64-linux-gnu/libc-2.17.so
7fe98739d000-7fe9873a1000 r--p 001a2000 ca:00 827993                     
/lib/x86_64-linux-gnu/libc-2.17.so
7fe9873a1000-7fe9873a3000 rw-p 001a6000 ca:00 827993                     
/lib/x86_64-linux-gnu/libc-2.17.so
7fe9873a3000-7fe9873a7000 rw-p 00000000 00:00 0 
7fe9873a7000-7fe9873c9000 r-xp 00000000 ca:00 827510                     
/lib/x86_64-linux-gnu/liblzma.so.5.0.0
7fe9873c9000-7fe9875c8000 ---p 00022000 ca:00 827510                     
/lib/x86_64-linux-gnu/liblzma.so.5.0.0
7fe9875c8000-7fe9875c9000 r--p 00021000 ca:00 827510                     
/lib/x86_64-linux-gnu/liblzma.so.5.0.0
7fe9875c9000-7fe9875ca000 rw-p 00022000 ca:00 827510                     
/lib/x86_64-linux-gnu/liblzma.so.5.0.0
7fe9875ca000-7fe9876c6000 r-xp 00000000 ca:00 828515                     
/lib/x86_64-linux-gnu/libm-2.17.so
7fe9876c6000-7fe9878c6000 ---p 000fc000 ca:00 828515                     
/lib/x86_64-linux-gnu/libm-2.17.so
7fe9878c6000-7fe9878c7000 r--p 000fc000 ca:00 828515                     
/lib/x86_64-linux-gnu/libm-2.17.so
7fe9878c7000-7fe9878c8000 rw-p 000fd000 ca:00 828515                     
/lib/x86_64-linux-gnu/libm-2.17.so
7fe9878c8000-7fe9878df000 r-xp 00000000 ca:00 827500                     
/lib/x86_64-linux-gnu/libz.so.1.2.8
7fe9878df000-7fe987ade000 ---p 00017000 ca:00 827500                     
/lib/x86_64-linux-gnu/libz.so.1.2.8
7fe987ade000-7fe987adf000 r--p 00016000 ca:00 827500                     
/lib/x86_64-linux-gnu/libz.so.1.2.8
7fe987adf000-7fe987ae0000 rw-p 00017000 ca:00 827500                     
/lib/x86_64-linux-gnu/libz.so.1.2.8
7fe987ae0000-7fe987b05000 r-xp 00000000 ca:00 828056                     
/lib/x86_64-linux-gnu/libtinfo.so.5.9
7fe987b05000-7fe987d04000 ---p 00025000 ca:00 828056                     
/lib/x86_64-linux-gnu/libtinfo.so.5.9
7fe987d04000-7fe987d08000 r--p 00024000 ca:00 828056                     
/lib/x86_64-linux-gnu/libtinfo.so.5.9
7fe987d08000-7fe987d09000 rw-p 00028000 ca:00 828056                     
/lib/x86_64-linux-gnu/libtinfo.so.5.9
7fe987d09000-7fe987d2a000 r-xp 00000000 ca:00 827417                     
/lib/x86_64-linux-gnu/libncurses.so.5.9
7fe987d2a000-7fe987f29000 ---p 00021000 ca:00 827417                     
/lib/x86_64-linux-gnu/libncurses.so.5.9
7fe987f29000-7fe987f2a000 r--p 00020000 ca:00 827417                     
/lib/x86_64-linux-gnu/libncurses.so.5.9
7fe987f2a000-7fe987f2b000 rw-p 00021000 ca:00 827417                     
/lib/x86_64-linux-gnu/libncurses.so.5.9
7fe987f2b000-7fe987f2e000 r-xp 00000000 ca:00 828514                     
/lib/x86_64-linux-gnu/libdl-2.17.so
7fe987f2e000-7fe98812d000 ---p 00003000 ca:00 828514                     
/lib/x86_64-linux-gnu/libdl-2.17.so
7fe98812d000-7fe98812e000 r--p 00002000 ca:00 828514                     
/lib/x86_64-linux-gnu/libdl-2.17.so
7fe98812e000-7fe98812f000 rw-p 00003000 ca:00 828514                     
/lib/x86_64-linux-gnu/libdl-2.17.so
7fe98812f000-7fe988150000 r-xp 00000000 ca:00 827989                     
/lib/x86_64-linux-gnu/ld-2.17.so
7fe98819c000-7fe988336000 r--p 06bc5000 ca:00 847174                     
/usr/lib/debug/boot/vmlinux-3.8-2-amd64
7fe988336000-7fe98833b000 rw-p 00000000 00:00 0 
7fe988349000-7fe988350000 rw-p 00000000 00:00 0 
7fe988350000-7fe988351000 r--p 00021000 ca:00 827989                     
/lib/x86_64-linux-gnu/ld-2.17.so
7fe988351000-7fe988353000 rw-p 00022000 ca:00 827989                     
/lib/x86_64-linux-gnu/ld-2.17.so
7fffd40df000-7fffd4100000 rw-p 00000000 00:00 0                          [stack]
7fffd419e000-7fffd41a0000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  
[vsyscall]
Aborted (core dumped)

I've rebuilt crash with debugging symbols so the addresses probably
won't match your binary. Here's however a backtrace:

warning: no loadable sections found in added symbol-file system-supplied DSO at 
0x7fffd419e000
Core was generated by `crash -e emacs -i a 
/usr/lib/debug/boot/vmlinux-3.8-2-amd64 core'.
Program terminated with signal 6, Aborted.
#0  0x00007fe9870301e5 in __GI_raise (sig=sig@entry=6) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:56
56  ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  0x00007fe9870301e5 in __GI_raise (sig=sig@entry=6) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007fe987033398 in __GI_abort () at abort.c:90
#2  0x00007fe98706b7cb in __libc_message (do_abort=do_abort@entry=2, 
fmt=fmt@entry=0x7fe987165895 "*** %s ***: %s terminated\n")
    at ../sysdeps/unix/sysv/linux/libc_fatal.c:199
#3  0x00007fe9870f7d17 in __GI___fortify_fail (msg=msg@entry=0x7fe98716587d 
"stack smashing detected") at fortify_fail.c:31
#4  0x00007fe9870f7ce0 in __stack_chk_fail () at stack_chk_fail.c:28
#5  0x00000000004ed3ea in kernel_init () at kernel.c:703
#6  0x0000000000463947 in main_loop () at main.c:650
#7  0x000000000074ce61 in current_interp_command_loop () at interps.c:326
#8  0x000000000074e110 in captured_command_loop (data=0x0) at main.c:258
#9  0x000000000074bafe in catch_errors (func=0x74e0f2 <captured_command_loop>, 
func_args=0x0, errstring=0xa9aaa4 "", mask=6) at exceptions.c:557
#10 0x000000000074f732 in captured_main (data=0x7fffd40ff4e0) at main.c:1064
#11 0x000000000074bafe in catch_errors (func=0x74e3b8 <captured_main>, 
func_args=0x7fffd40ff4e0, errstring=0xa9aaa4 "", mask=6) at exceptions.c:557
#12 0x000000000074f780 in gdb_main (args=0x7fffd40ff4e0) at main.c:1079
#13 0x000000000074f7d8 in gdb_main_entry (argc=2, argv=0x7fffd40ff668) at 
main.c:1099
#14 0x000000000050fb8e in gdb_main_loop (argc=7, argv=0x7fffd40ff668) at 
gdb_interface.c:76
#15 0x0000000000463857 in main (argc=7, argv=0x7fffd40ff668) at main.c:613


-Timo


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to