Hi there,

I did it again. The update-manager gdb session would not crash on me, so
I tried ctrl+C and then the gdb session of the update-manager gdb
session crashed and it did have stack. The update-manager gdb session
itself did not. Also dpkg --configure -a gdb session gave the same (type
off) output again. I hope this helps.

Cheers,

Thomas

r...@ubuntu:/home/ubuntu# gdb gdb | tee gdb-gdb.txt
GNU gdb 6.8-debian
Copyright (C) 2008 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 "i486-linux-gnu"...
(gdb) handle SIG33 pass nostop noprint
Signal        Stop      Print   Pass to program Description
SIG33         No        No      Yes             Real-time event 33
(gdb) set pagination 0
(gdb) set logging file gdb-gdb.log
(gdb) attach 13629
Attaching to program: /usr/bin/gdb, process 13629
Reading symbols from /lib/libreadline.so.5...done.
Loaded symbols for /lib/libreadline.so.5
Reading symbols from /lib/libncurses.so.5...done.
Loaded symbols for /lib/libncurses.so.5
Reading symbols from /lib/tls/i686/cmov/libm.so.6...done.
Loaded symbols for /lib/tls/i686/cmov/libm.so.6
Reading symbols from /usr/lib/libexpat.so.1...done.
Loaded symbols for /usr/lib/libexpat.so.1
Reading symbols from /lib/tls/i686/cmov/libdl.so.2...done.
Loaded symbols for /lib/tls/i686/cmov/libdl.so.2
Reading symbols from /lib/tls/i686/cmov/libc.so.6...done.
Loaded symbols for /lib/tls/i686/cmov/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/tls/i686/cmov/libpthread.so.0...done.
[Thread debugging using libthread_db enabled]
[New Thread 0xb7e876b0 (LWP 13629)]
Loaded symbols for /lib/tls/i686/cmov/libpthread.so.0
Reading symbols from /lib/tls/i686/cmov/libthread_db.so.1...done.
Loaded symbols for /lib/tls/i686/cmov/libthread_db.so.1
Reading symbols from /lib/libthread_db.so.1...done.
Loaded symbols for /lib/libthread_db.so.1
0xb80dc430 in __kernel_vsyscall ()
(gdb) continue
Continuing.

Program received signal SIGINT, Interrupt.
[Switching to Thread 0xb7e876b0 (LWP 13629)]
0xb80dc430 in __kernel_vsyscall ()
(gdb) backtrace full
#0  0xb80dc430 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7ecdc9c in sigsuspend () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#2  0x080a9c1c in linux_nat_wait (ptid={pid = -1, lwp = 0, tid = 0}, 
ourstatus=0xbfadd554) at /build/buildd/gdb-6.8/gdb/linux-nat.c:2212
        lwpid = 0
        lp = (struct lwp_info *) 0x0
        options = -2147483647
        status = 0
        pid = -1
        flush_mask = {__val = {0 <repeats 32 times>}}
        __PRETTY_FUNCTION__ = "linux_nat_wait"
#3  0x080a4b25 in thread_db_wait (ptid={pid = -1, lwp = 0, tid = 0}, 
ourstatus=0xbfadd554) at /build/buildd/gdb-6.8/gdb/linux-thread-db.c:904
No locals.
#4  0x08130dd0 in wait_for_inferior (treat_exec_as_sigtrap=0) at 
/build/buildd/gdb-6.8/gdb/infrun.c:1032
        old_cleanups = (struct cleanup *) 0x947c318
        ecss = {ws = {kind = TARGET_WAITKIND_FORKED, value = {integer = 13878, 
sig = 13878, related_pid = 13878, execd_pathname = 0x3636 <Address 0x3636 out 
of bounds>, syscall_id = 13878}}, wp = 0xbfadd554, stepping_over_breakpoint = 
0, random_signal = 1, stop_func_start = 3086272528, stop_func_end = 3086272533, 
stop_func_name = 0x900a860 "__nptl_create_event", sal = {symtab = 0x0, section 
= 0x0, line = 0, pc = 3086525488, end = 0, explicit_pc = 0, explicit_line = 0}, 
current_line = 0, current_symtab = 0x0, handling_longjmp = 0, ptid = {pid = 
13804, lwp = 13876, tid = -1235018864}, saved_inferior_ptid = {pid = 
-1079126584, lwp = -1208929194, tid = -1207971520}, 
step_after_step_resume_breakpoint = 0, stepping_through_solib_after_catch = 0, 
stepping_through_solib_catchpoints = 0x0, new_thread_event = 0, tmpstatus = 
{kind = TARGET_WAITKIND_EXITED, value = {integer = -1079126552, sig = 
3215840744, related_pid = -1079126552, execd_pathname = 0xbfadd5e8 "�խ�", 
syscall_id = -1079126552}}, infwait_state = infwait_normal_state, waiton_ptid = 
{pid = -1, lwp = 0, tid = 0}, wait_some_more = 1}
#5  0x0813107c in proceed (addr=4294967295, siggnal=TARGET_SIGNAL_DEFAULT, 
step=0) at /build/buildd/gdb-6.8/gdb/infrun.c:844
        oneproc = <value optimized out>
#6  0x0812adfc in continue_command (proc_count_exp=0x0, from_tty=1) at 
/build/buildd/gdb-6.8/gdb/infcmd.c:653
        async_exec = <value optimized out>
#7  0x0808bd91 in execute_command (p=0x8bbe110 "", from_tty=1) at 
/build/buildd/gdb-6.8/gdb/top.c:449
        arg = 0x0
        c = (struct cmd_list_element *) 0x8bdc198
        flang = <value optimized out>
        line = 0x8bbe108 "continue"
        warned = 0
#8  0x0813c9af in command_handler (command=0x8bbe108 "continue") at 
/build/buildd/gdb-6.8/gdb/event-top.c:518
        old_chain = (struct cleanup *) 0x0
        stdin_is_tty = <value optimized out>
        time_at_cmd_start = 1216075
        space_at_cmd_start = 0
#9  0x0813d8f2 in command_line_handler (rl=0x8bf40c0 "") at 
/build/buildd/gdb-6.8/gdb/event-top.c:804
        p = 0x8bf3ec0 ""
        p1 = 0x8bf3eb8 "continue"
        repeat = 1
        linebuffer = 0x8bf3eb8 "continue"
        linelength = 80
#10 0xb80a3962 in rl_callback_read_char () from /lib/libreadline.so.5
No symbol table info available.
#11 0x0813cc9b in rl_callback_read_char_wrapper (client_data=0x0) at 
/build/buildd/gdb-6.8/gdb/event-top.c:177
No locals.
#12 0x0813c5b4 in handle_file_event (event_file_desc=0) at 
/build/buildd/gdb-6.8/gdb/event-loop.c:728
        file_ptr = (file_handler *) 0x8bf39d8
        mask = <value optimized out>
        error_mask_returned = 0
#13 0x0813b942 in process_event () at /build/buildd/gdb-6.8/gdb/event-loop.c:341
        event_ptr = <value optimized out>
        proc = (event_handler_func *) 0x813c530 <handle_file_event>
        fd = 0
#14 0x0813c260 in gdb_do_one_event (data=0x0) at 
/build/buildd/gdb-6.8/gdb/event-loop.c:378
No locals.
#15 0x08138cbb in catch_errors (func=0x813c090 <gdb_do_one_event>, 
func_args=0x0, errstring=0x8276a4a "", mask=6) at 
/build/buildd/gdb-6.8/gdb/exceptions.c:513
        val = 0
        exception = {reason = 0, error = GDB_NO_ERROR, message = 0x0}
#16 0x080d9eba in tui_command_loop (data=0x0) at 
/build/buildd/gdb-6.8/gdb/tui/tui-interp.c:153
        result = -1207975948
#17 0x08139384 in current_interp_command_loop () at 
/build/buildd/gdb-6.8/gdb/interps.c:276
No locals.
#18 0x080835cb in captured_command_loop (data=0x0) at 
/build/buildd/gdb-6.8/gdb/main.c:99
No locals.
#19 0x08138cbb in catch_errors (func=0x80835c0 <captured_command_loop>, 
func_args=0x0, errstring=0x8276a4a "", mask=6) at 
/build/buildd/gdb-6.8/gdb/exceptions.c:513
        val = 0
        exception = {reason = 0, error = GDB_NO_ERROR, message = 0x0}
#20 0x080842ac in captured_main (data=0xbfaddaa4) at 
/build/buildd/gdb-6.8/gdb/main.c:883
        argc = 2
        argv = (char **) 0xbfaddb54
        symarg = 0xbfade9a1 "update-manager"
        execarg = 0xbfade9a1 "update-manager"
        pidarg = 0x0
        corearg = 0x0
        pid_or_core_arg = 0x0
        cdarg = 0x0
        ttyarg = 0x0
        cmdarg = (struct cmdarg *) 0x8bbe0e8
        cmdsize = <value optimized out>
        ncmd = 0
        dirarg = (char **) 0x8bbe0f8
        dirsize = <value optimized out>
        ndir = 0
        homebuf = {st_dev = 0, __pad1 = 0, st_ino = 0, st_mode = 0, st_nlink = 
0, st_uid = 0, st_gid = 0, st_rdev = 0, __pad2 = 0, st_size = 0, st_blksize = 
0, st_blocks = 0, st_atim = {tv_sec = 0, tv_nsec = 0}, st_mtim = {tv_sec = 0, 
tv_nsec = 0}, st_ctim = {tv_sec = 0, tv_nsec = 0}, __unused4 = 0, __unused5 = 0}
        cwdbuf = {st_dev = 0, __pad1 = 0, st_ino = 0, st_mode = 0, st_nlink = 
0, st_uid = 0, st_gid = 0, st_rdev = 0, __pad2 = 0, st_size = 0, st_blksize = 
0, st_blocks = 0, st_atim = {tv_sec = 0, tv_nsec = 0}, st_mtim = {tv_sec = 0, 
tv_nsec = 0}, st_ctim = {tv_sec = 0, tv_nsec = 0}, __unused4 = 0, __unused5 = 0}
        homedir = 0xbfadef1e "/root"
        i = -1079125759
        time_at_startup = 8000
        quiet = 0
        batch = 0
        set_args = 0
        print_help = 0
        print_version = 0
        long_options = {{name = 0x826bc9e "tui", has_arg = 0, flag = 0x0, val = 
14}, {name = 0x826bd0a "xdb", has_arg = 0, flag = 0x8325364, val = 1}, {name = 
0x826bd0e "dbx", has_arg = 0, flag = 0x8325368, val = 1}, {name = 0x82969a5 
"readnow", has_arg = 0, flag = 0x833d97c, val = 1}, {name = 0x8283319 "r", 
has_arg = 0, flag = 0x833d97c, val = 1}, {name = 0x826bd12 "quiet", has_arg = 
0, flag = 0x8325388, val = 1}, {name = 0x82d0d6f "q", has_arg = 0, flag = 
0x8325388, val = 1Cannot access memory at address 0x8
}, {name = 0x826bd21 "silent", has_arg = 0, flag = 0x8325388, val = 1}, {name = 
0x826bd18 "nx", has_arg = 0, flag = 0x83253f4, val = 1}, {name = 0x826e993 "n", 
has_arg = 0, flag = 0x83253f4, val = 1}, {name = 0x826bd1b "batch-silent", 
has_arg = 0, flag = 0x0, val = 66}, {name = 0x826bd28 "batch", has_arg = 0, 
flag = 0x8325384, val = 1}, {name = 0x826bd2e "epoch", has_arg = 0, flag = 
0x833d484, val = 1}, {name = 0x826bd34 "fullname", has_arg = 0, flag = 0x0, val 
= 102}, {name = 0x82bd699 "f", has_arg = 0, flag = 0x0, val = 102}, {name = 
0x826bd3d "annotate", has_arg = 1, flag = 0x0, val = 12}, {name = 0x826bd46 
"help", has_arg = 0, flag = 0x832537c, val = 1}, {name = 0x82f01a1 "se", 
has_arg = 1, flag = 0x0, val = 10}, {name = 0x82b3870 "symbols", has_arg = 1, 
flag = 0x0, val = 115}, {name = 0x82f4db3 "s", has_arg = 1, flag = 0x0, val = 
115}, {name = 0x828d6fd "exec", has_arg = 1, flag = 0x0, val = 101}, {name = 
0x82d06be "e", has_arg = 1, flag = 0x0, val = 101}, {name = 0x82f7522 "core", 
has_arg = 1, flag = 0x0, val = 99}, {name = 0x82cf9ee "c", has_arg = 1, flag = 
0x0, val = 99}, {name = 0x8274f01 "pid", has_arg = 1, flag = 0x0, val = 112}, 
{name = 0x82966a8 "p", has_arg = 1, flag = 0x0, val = 112}, {name = 0x827d785 
"command", has_arg = 1, flag = 0x0, val = 120}, {name = 0x826bd4b 
"eval-command", has_arg = 1, flag = 0x0, val = 88}, {name = 0x828094d 
"version", has_arg = 0, flag = 0x8325378, val = 1}, {name = 0x82f4cde "x", 
has_arg = 1, flag = 0x0, val = 120}, {name = 0x827fd40 "ex", has_arg = 1, flag 
= 0x0, val = 88}, {name = 0x826bc9f "ui", has_arg = 1, flag = 0x0, val = 105}, 
{name = 0x82884e6 "interpreter", has_arg = 1, flag = 0x0, val = 105}, {name = 
0x82713aa "i", has_arg = 1, flag = 0x0, val = 105}, {name = 0x827fda7 
"directory", has_arg = 1, flag = 0x0, val = 100}, {name = 0x82bd131 "d", 
has_arg = 1, flag = 0x0, val = 100}, {name = 0x8280742 "cd", has_arg = 1, flag 
= 0x0, val = 11}, {name = 0x8299f96 "tty", has_arg = 1, flag = 0x0, val = 116}, 
{name = 0x827fb96 "baud", has_arg = 1, flag = 0x0, val = 98}, {name = 0x826cb10 
"b", has_arg = 1, flag = 0x0, val = 98}, {name = 0x82d11f5 "nw", has_arg = 0, 
flag = 0x0, val = 15}, {name = 0x826bd58 "nowindows", has_arg = 0, flag = 0x0, 
val = 15}, {name = 0x82cfd3d "w", has_arg = 0, flag = 0x0, val = 16}, {name = 
0x826bd5a "windows", has_arg = 0, flag = 0x0, val = 16}, {name = 0x826bd62 
"statistics", has_arg = 0, flag = 0x0, val = 13}, {name = 0x8273a82 "write", 
has_arg = 0, flag = 0x8325394, val = 1}, {name = 0x828079a "args", has_arg = 0, 
flag = 0x8325380, val = 1}, {name = 0x827bb17 "l", has_arg = 1, flag = 0x0, val 
= 108}, {name = 0x826bd6d "return-child-result", has_arg = 0, flag = 0x8325374, 
val = 1}, {name = 0x0, has_arg = 0, flag = 0x0, val = 0}}
#21 0x08138cbb in catch_errors (func=0x8083600 <captured_main>, 
func_args=0xbfaddaa4, errstring=0x8276a4a "", mask=6) at 
/build/buildd/gdb-6.8/gdb/exceptions.c:513
        val = 0
        exception = {reason = 0, error = GDB_NO_ERROR, message = 0x0}
#22 0x080835b1 in gdb_main (args=0xbfaddaa4) at 
/build/buildd/gdb-6.8/gdb/main.c:892
No locals.
#23 0x08083575 in main (argc=) at /build/buildd/gdb-6.8/gdb/gdb.c:33
        args = {argc = 2, argv = 0xbfaddb54, use_windows = 0, interpreter_p = 
0x826bc68 "console"}
(gdb) info registers
eax            0xfffffdfe       -514
ecx            0x8      8
edx            0xb7ffbff4       -1207975948
ebx            0x8325f80        137518976
esp            0xbfadd35c       0xbfadd35c
ebp            0xbfadd378       0xbfadd378
esi            0x0      0
edi            0x0      0
eip            0xb80dc430       0xb80dc430 <__kernel_vsyscall+16>
eflags         0x200246 [ PF ZF IF ID ]
cs             0x73     115
ss             0x7b     123
ds             0x7b     123
es             0x7b     123
fs             0x0      0
gs             0x33     51
(gdb) thread apply all backtrace

Thread 1 (Thread 0xb7e876b0 (LWP 13629)):
#0  0xb80dc430 in __kernel_vsyscall ()
Cannot access memory at address 0x8
#1  0xb7ecdc9c in sigsuspend () from /lib/tls/i686/cmov/libc.so.6
#2  0x080a9c1c in linux_nat_wait (ptid={pid = -1, lwp = 0, tid = 0}, 
ourstatus=0xbfadd554) at /build/buildd/gdb-6.8/gdb/linux-nat.c:2212
#3  0x080a4b25 in thread_db_wait (ptid={pid = -1, lwp = 0, tid = 0}, 
ourstatus=0xbfadd554) at /build/buildd/gdb-6.8/gdb/linux-thread-db.c:904
#4  0x08130dd0 in wait_for_inferior (treat_exec_as_sigtrap=0) at 
/build/buildd/gdb-6.8/gdb/infrun.c:1032
#5  0x0813107c in proceed (addr=4294967295, siggnal=TARGET_SIGNAL_DEFAULT, 
step=0) at /build/buildd/gdb-6.8/gdb/infrun.c:844
#6  0x0812adfc in continue_command (proc_count_exp=0x0, from_tty=1) at 
/build/buildd/gdb-6.8/gdb/infcmd.c:653
#7  0x0808bd91 in execute_command (p=0x8bbe110 "", from_tty=1) at 
/build/buildd/gdb-6.8/gdb/top.c:449
#8  0x0813c9af in command_handler (command=0x8bbe108 "continue") at 
/build/buildd/gdb-6.8/gdb/event-top.c:518
#9  0x0813d8f2 in command_line_handler (rl=0x8bf40c0 "") at 
/build/buildd/gdb-6.8/gdb/event-top.c:804
#10 0xb80a3962 in rl_callback_read_char () from /lib/libreadline.so.5
#11 0x0813cc9b in rl_callback_read_char_wrapper (client_data=0x0) at 
/build/buildd/gdb-6.8/gdb/event-top.c:177
#12 0x0813c5b4 in handle_file_event (event_file_desc=0) at 
/build/buildd/gdb-6.8/gdb/event-loop.c:728
#13 0x0813b942 in process_event () at /build/buildd/gdb-6.8/gdb/event-loop.c:341
#14 0x0813c260 in gdb_do_one_event (data=0x0) at 
/build/buildd/gdb-6.8/gdb/event-loop.c:378
#15 0x08138cbb in catch_errors (func=0x813c090 <gdb_do_one_event>, 
func_args=0x0, errstring=0x8276a4a "", mask=6) at 
/build/buildd/gdb-6.8/gdb/exceptions.c:513
#16 0x080d9eba in tui_command_loop (data=0x0) at 
/build/buildd/gdb-6.8/gdb/tui/tui-interp.c:153
#17 0x08139384 in current_interp_command_loop () at 
/build/buildd/gdb-6.8/gdb/interps.c:276
#18 0x080835cb in captured_command_loop (data=0x0) at 
/build/buildd/gdb-6.8/gdb/main.c:99
#19 0x08138cbb in catch_errors (func=0x80835c0 <captured_command_loop>, 
func_args=0x0, errstring=0x8276a4a "", mask=6) at 
/build/buildd/gdb-6.8/gdb/exceptions.c:513
#20 0x080842ac in captured_main (data=0xbfaddaa4) at 
/build/buildd/gdb-6.8/gdb/main.c:883
#21 0x08138cbb in catch_errors (func=0x8083600 <captured_main>, 
func_args=0xbfaddaa4, errstring=0x8276a4a "", mask=6) at 
/build/buildd/gdb-6.8/gdb/exceptions.c:513
#22 0x080835b1 in gdb_main (args=0xbfaddaa4) at 
/build/buildd/gdb-6.8/gdb/main.c:892
#23 0x08083575 in main (argc=) at /build/buildd/gdb-6.8/gdb/gdb.c:33
(gdb) set logging file gdb-gdb-2.log
(gdb) set logging on
Copying output to gdb-gdb-2.log.
(gdb) continue
Continuing.

Program received signal SIGPIPE, Broken pipe.
0xb80dc430 in __kernel_vsyscall ()
(gdb) quit
The program is running.  Quit anyway (and detach it)? (y or n) y
Detaching from program: /usr/bin/gdb, process 13629
r...@ubuntu:/home/ubuntu#

-- 
update-manager crashed with SIGSEGV
https://bugs.launchpad.net/bugs/282426
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to