[systemd-devel] [ANNOUNCE] systemd 199

Kok, Auke-jan H auke-jan.h.kok at intel.com
Tue Mar 26 12:35:46 PDT 2013


On Tue, Mar 26, 2013 at 10:32 AM, Lennart Poettering
<lennart at poettering.net> wrote:
> On Tue, 26.03.13 10:06, Shawn (shawnlandden at gmail.com) wrote:
>
>> you could get a backtrace in gdb
>
> Yes, please provide a backtrace for this!

that's a helluva hard thing to do with systemd-coredump somehow not
working on my box. I ended up redirecting coredumps to a file manually
and got:


>>>>>>>>>

#0  0xb77c4424 in __kernel_vsyscall ()
(gdb) bt full
#0  0xb77c4424 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb75a03af in raise () from /usr/lib/libc.so.6
No symbol table info available.
#2  0xb75a1c75 in abort () from /usr/lib/libc.so.6
No symbol table info available.
#3  0x080b3d4b in log_assert (text=<optimized out>, file=0x80c6023
"src/test/test-unit-name.c", line=131,
    func=0x80e1858 "test_unit_printf", format=0x8110360 "Assertion
'%s' failed at %s:%u, function %s(). Aborting.")
    at src/shared/log.c:714
        buffer = "Assertion 'r == 0' failed at
src/test/test-unit-name.c:131, function test_unit_printf().
Aborting.", '\000' <repeats 1949 times>
#4  0x080b4455 in log_assert_failed (text=0x80c61e3 "r == 0",
file=0x80c6023 "src/test/test-unit-name.c", line=131,
    func=0x80e1858 "test_unit_printf") at src/shared/log.c:719
No locals.
#5  0x08050699 in test_unit_printf () at src/test/test-unit-name.c:131
        m = <optimized out>
        mid = 0x8135008 "7a3e74c61421e7d582e9c25e00000016"
        root = 0xb76dcca8
        u = <optimized out>
        u2 = <optimized out>
        r = <optimized out>
        bid = 0x8135030 "1ab28824da47480c85252d8ce90b5d1e"
        host = 0x8135058 "hannah"
        root_uid = <optimized out>
#6  main (argc=1, argv=0xbfdce064) at src/test/test-unit-name.c:196
No locals.

>>>>>>>>>>>

Reading symbols from /home/sofar/git/systemd/.libs/lt-test-unit-name...done.

warning: core file may not match specified executable file.
[New LWP 20476]
Core was generated by `/home/sofar/git/systemd/.libs/lt-test-sched-prio'.
Program terminated with signal 6, Aborted.
#0  0xb777e424 in __kernel_vsyscall ()
(gdb) bt full
#0  0xb777e424 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb755a3af in ?? ()
No symbol table info available.
#2  0xb7694ff4 in ?? ()
No symbol table info available.
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

>>>>>>>>>>>>>

Reading symbols from /home/sofar/git/systemd/.libs/lt-test-unit-name...done.

warning: core file may not match specified executable file.
[New LWP 20532]
Core was generated by `./test-bus-marshal'.
Program terminated with signal 6, Aborted.
#0  0xb76fa424 in __kernel_vsyscall ()
(gdb) bt full
#0  0xb76fa424 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb72383af in ?? ()
No symbol table info available.
#2  0xb7372ff4 in ?? ()
No symbol table info available.
Backtrace stopped: previous frame inner to this frame (corrupt stack?)


More information about the systemd-devel mailing list