This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/10890] New: Assertion triggered by "thread apply all continue"


I am not sure "thread apply all cont" is something that can make
sense, but when doing it I get an assertion triggered:

(gdb) bt full
#0  0xb7f917f2 in ?? () from /lib/ld-linux.so.2
No symbol table info available.
#1  0xb7b4d6d0 in raise () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#2  0xb7b4f098 in abort () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#3  0x0809c635 in internal_vproblem (problem=0x83a59c8, file=0x82d65ab
"linux-nat.c", line=353015960, 
    fmt=0x82cde06 "%s: Assertion `%s' failed.", ap=0xbfdad07c "f\224-\b{y-\b")
at utils.c:979
        quit_p = 1
        dump_core_p = 6
        reason = 0x150a9898 "linux-nat.c:1821: internal-error: linux_nat_resume:
Assertion `signo == TARGET_SIGNAL_0' failed.\nA problem internal to GDB has been
detected,\nfurther debugging may prove unreliable."
        dejavu = 1
        msg = "Recursive internal problem.\n"
#4  0x080992f3 in internal_verror (file=0x82d65ab "linux-nat.c", line=1821,
fmt=0x82cde06 "%s: Assertion `%s' failed.", 
    ap=0xbfdad07c "f\224-\b{y-\b") at utils.c:994
No locals.
#5  0x08099326 in internal_error (file=0x82d65ab "linux-nat.c", line=1821,
string=0x82cde06 "%s: Assertion `%s' failed.")
    at utils.c:1003
No locals.
#6  0x080c4620 in linux_nat_resume (ops=0x8e448f8, ptid={pid = 13876, lwp = 0,
tid = 0}, step=0, signo=TARGET_SIGNAL_TSTP)
    at linux-nat.c:1821
        prev_mask = {__val = {0, 0, 8, 3218788568, 135869426, 138075808, 2,
3082801428, 0, 0, 17664, 5, 191, 35387, 2132542208, 
    16778261, 437457152, 386863616, 22, 17664, 5, 149178616, 18, 3218788648,
135000897, 13876, 0, 0, 4294967295, 0, 0, 3218788664}}
        lp = (struct lwp_info *) 0x92f7090
        resume_many = 1
        __PRETTY_FUNCTION__ = "linux_nat_resume"
#7  0x08193e94 in target_resume (ptid={pid = 13876, lwp = 0, tid = 0}, step=0,
signal=TARGET_SIGNAL_TSTP) at target.c:2144
        t = (struct target_ops *) 0x6
#8  0x08165644 in resume (step=0, sig=TARGET_SIGNAL_TSTP) at infrun.c:1316
        resume_ptid = {pid = 13876, lwp = 0, tid = 0}
        old_cleanups = (struct cleanup *) 0x1395f890
        regcache = <value optimized out>
        gdbarch = (struct gdbarch *) 0x8eda790
        tp = (struct thread_info *) 0x13fe4a40
        pc = 3086886898
        __PRETTY_FUNCTION__ = "resume"
#9  0x08169f5f in proceed (addr=4294967295, siggnal=TARGET_SIGNAL_DEFAULT,
step=0) at infrun.c:1644
        regcache = <value optimized out>
        gdbarch = (struct gdbarch *) 0x8eda790
        tp = <value optimized out>
        pc = 13909
        oneproc = 0
#10 0x0815f849 in continue_1 (all_threads=0) at infcmd.c:668
No locals.
#11 0x08160156 in continue_command (args=0x0, from_tty=1) at infcmd.c:760
        async_exec = <value optimized out>
        all_threads = 0
#12 0x080981a0 in execute_command (p=0xbfdad3a5 "", from_tty=1) at top.c:453
        arg = 0x0
        c = (struct cmd_list_element *) 0x8e5e300
        flang = <value optimized out>
        line = 0xbfdad3a1 "cont"
        warned = 0
#13 0x0816ff11 in thread_apply_all_command (cmd=0xbfdad3a1 "cont", from_tty=1)
at thread.c:1041
        tp = (struct thread_info *) 0x13fe4a40
        old_chain = (struct cleanup *) 0x0
        saved_cmd = 0x8e58428 "cont"
#14 0x080981a0 in execute_command (p=0xbfdad3a4 "t", from_tty=1) at top.c:453
        arg = 0xbfdad3a1 "cont"
        c = (struct cmd_list_element *) 0x8e62f60
        flang = <value optimized out>
        line = 0xbfdad390 "thread apply all cont"
        warned = 0
#15 0x081713da in catch_exception (uiout=0x8e71240, func=0x80f0cc0
<do_captured_execute_command>, func_args=0xbfdad3d0, mask=6)
    at exceptions.c:462
        exception = {reason = 0, error = GDB_NO_ERROR, message = 0x0}
#16 0x080f0c51 in cli_interpreter_exec (data=0x0, command_str=0xc0d79b8 "thread
apply all cont") at ./cli/cli-interp.c:130
        old_stream = (struct ui_file *) 0x8e38990
#17 0x0817154a in interp_exec (interp=0x3229, command_str=0xc0d79b8 "thread
apply all cont") at interps.c:326
No locals.
#18 0x080f5aae in mi_cmd_interpreter_exec (command=0x82e5645
"-interpreter-exec", argv=0xbfdad470, argc=2) at ./mi/mi-interp.c:206
        e = {reason = 149761376, error = 137873474, message = 0xbfdad458 "\002"}
        interp_to_use = <value optimized out>
        i = 1
        old_chain = (struct cleanup *) 0xf8372a0
#19 0x080f6621 in captured_mi_execute_command (uiout=0x8e71b00, data=0x8ebcf58)
at ./mi/mi-main.c:1232
        argv = {0x82cc8c8 "console", 0xc0d79b8 "thread apply all cont"}
        cleanup = (struct cleanup *) 0x0
#20 0x081713da in catch_exception (uiout=0x8e71b00, func=0x80f63e0
<captured_mi_execute_command>, func_args=0x8ebcf58, mask=6)
    at exceptions.c:462
        exception = {reason = 0, error = GDB_NO_ERROR, message = 0x0}
#21 0x080f608b in mi_execute_command (cmd=0x1520a580 "thread apply all cont",
from_tty=1) at ./mi/mi-main.c:1288
        result = {reason = 80, error = 354461056, message = 0xbfdad518
"8&#65533;&#65533;\024i\027\b\200&#65533; \025"}
        previous_ptid = {pid = 13876, lwp = 13882, tid = 0}
        command = (struct mi_parse *) 0x8ebcf58
#22 0x080f5006 in mi_execute_command_wrapper (cmd=0x1520a580 "thread apply all
cont") at ./mi/mi-interp.c:251
No locals.
#23 0x08176914 in handle_file_event (data={ptr = 0x0, integer = 0}) at
event-loop.c:812
        file_ptr = (file_handler *) 0x8ebcf28
        mask = <value optimized out>
        error_mask_returned = 0
#24 0x081760db in process_event () at event-loop.c:394
        event_ptr = <value optimized out>
        proc = (event_handler_func *) 0x8176890 <handle_file_event>
        data = {ptr = 0x0, integer = 0}
#25 0x08176ff4 in gdb_do_one_event (data=0x0) at event-loop.c:459
        current = 3
        event_source_head = 0
#26 0x081711ab in catch_errors (func=0x8176da0 <gdb_do_one_event>,
func_args=0x0, errstring=0x82dc69d "", mask=6)
    at exceptions.c:510
        val = 0
        exception = {reason = 0, error = GDB_NO_ERROR, message = 0x0}
#27 0x0817684c in start_event_loop () at event-loop.c:483
        gdb_result = 0
#28 0x0808e97b in captured_command_loop (data=0x0) at ./main.c:226
No locals.
#29 0x081711ab in catch_errors (func=0x808e970 <captured_command_loop>,
func_args=0x0, errstring=0x82dc69d "", mask=6)
    at exceptions.c:510
        val = 0
        exception = {reason = 0, error = GDB_NO_ERROR, message = 0x0}
#30 0x0808f5ec in captured_main (data=0xbfdad704) at ./main.c:902
        argc = 3
        argv = (char **) 0xbfdad7b4
        symarg = 0x0
        execarg = 0x0
        pidarg = 0x0
        corearg = 0x0
        pid_or_core_arg = 0x0
        cdarg = 0x0
        ttyarg = 0x0
        cmdarg = (struct cmdarg *) 0x8e38370
        cmdsize = <value optimized out>
        ncmd = 0
        dirarg = (char **) 0x8e38380
        dirsize = <value optimized out>
        ndir = 0
        system_gdbinit = 0x0
        home_gdbinit = 0x8ee1270 "/home/apoenitz/.gdbinit"
        local_gdbinit = 0x0
        i = <value optimized out>
        time_at_startup = 0
        quiet = 0
        batch = 0
        set_args = 0
        print_help = 0
        print_version = 0
        long_options = {{name = 0x82cc926 "tui", has_arg = 0, flag = 0x0, val =
14}, {name = 0x82cc9bf "xdb", has_arg = 0, 
    flag = 0x83ad410, val = 1}, {name = 0x82cc9c3 "dbx", has_arg = 0, flag =
0x83ad414, val = 1}, {name = 0x83009f0 "readnow", 
    has_arg = 0, flag = 0x83c66d4, val = 1}, {name = 0x82e62c5 "r", has_arg = 0,
flag = 0x83c66d4, val = 1}, {
    name = 0x82cc9c7 "quiet", has_arg = 0, flag = 0x83ad438, val = 1}, {name =
0x8341a1b "q", has_arg = 0, flag = 0x83ad438, 
    val = 1}, {name = 0x82cc9d6 "silent", has_arg = 0, flag = 0x83ad438, val =
1}, {name = 0x82cc9cd "nx", has_arg = 0, 
    flag = 0x83ad514, val = 1}, {name = 0x82d4c0a "n", has_arg = 0, flag =
0x83ad514, val = 1}, {name = 0x82cc9d0 "batch-silent", 
    has_arg = 0, flag = 0x0, val = 66}, {name = 0x82cc9dd "batch", has_arg = 0,
flag = 0x83ad434, val = 1}, {
    name = 0x82cc9e3 "epoch", has_arg = 0, flag = 0x83c6180, val = 1}, {name =
0x82cc9e9 "fullname", has_arg = 0, flag = 0x0, 
    val = 102}, {name = 0x832c865 "f", has_arg = 0, flag = 0x0, val = 102},
{name = 0x82cc9f2 "annotate", has_arg = 1, flag = 0x0, 
    val = 12}, {name = 0x82cc9fb "help", has_arg = 0, flag = 0x83ad42c, val =
1}, {name = 0x8377b29 "se", has_arg = 1, flag = 0x0, 
    val = 10}, {name = 0x8321047 "symbols", has_arg = 1, flag = 0x0, val = 115},
{name = 0x837c8e2 "s", has_arg = 1, flag = 0x0, 
    val = 115}, {name = 0x82e5652 "exec", has_arg = 1, flag = 0x0, val = 101},
{name = 0x834155a "e", has_arg = 1, flag = 0x0, 
    val = 101}, {name = 0x837dfe8 "core", has_arg = 1, flag = 0x0, val = 99},
{name = 0x833ff5d "c", has_arg = 1, flag = 0x0, 
    val = 99}, {name = 0x82d7c5c "pid", has_arg = 1, flag = 0x0, val = 112},
{name = 0x82d1372 "p", has_arg = 1, flag = 0x0, 
    val = 112}, {name = 0x82e5734 "command", has_arg = 1, flag = 0x0, val =
120}, {name = 0x82cca00 "eval-command", has_arg = 1, 
    flag = 0x0, val = 88}, {name = 0x82e3a68 "version", has_arg = 0, flag =
0x83ad428, val = 1}, {name = 0x837c813 "x", 
    has_arg = 1, flag = 0x0, val = 120}, {name = 0x82e2f3e "ex", has_arg = 1,
flag = 0x0, val = 88}, {name = 0x82cc927 "ui", 
    has_arg = 1, flag = 0x0, val = 105}, {name = 0x82ef40a "interpreter",
has_arg = 1, flag = 0x0, val = 105}, {
    name = 0x82d32c7 "i", has_arg = 1, flag = 0x0, val = 105}, {name = 0x82e2f87
"directory", has_arg = 1, flag = 0x0, val = 100}, {
    name = 0x832c2f5 "d", has_arg = 1, flag = 0x0, val = 100}, {name = 0x82e38eb
"cd", has_arg = 1, flag = 0x0, val = 11}, {
    name = 0x8304ae2 "tty", has_arg = 1, flag = 0x0, val = 116}, {name =
0x82e2d55 "baud", has_arg = 1, flag = 0x0, val = 98}, {
    name = 0x82cd806 "b", has_arg = 1, flag = 0x0, val = 98}, {name = 0x8342378
"nw", has_arg = 0, flag = 0x0, val = 15}, {
    name = 0x82cca0d "nowindows", has_arg = 0, flag = 0x0, val = 15}, {name =
0x8340d5b "w", has_arg = 0, flag = 0x0, val = 16}, {
    name = 0x82cca0f "windows", has_arg = 0, flag = 0x0, val = 16}, {name =
0x82cca17 "statistics", has_arg = 0, flag = 0x0, 
    val = 13}, {name = 0x83332c8 "write", has_arg = 0, flag = 0x83ad454, val =
1}, {name = 0x82e3938 "args", has_arg = 0, 
    flag = 0x83ad430, val = 1}, {name = 0x82f5a01 "l", has_arg = 1, flag = 0x0,
val = 108}, {
    name = 0x82cca22 "return-child-result", has_arg = 0, flag = 0x83ad424, val =
1}, {name = 0x0, has_arg = 0, flag = 0x0, val = 0}}
#31 0x081711ab in catch_errors (func=0x808eaf0 <captured_main>,
func_args=0xbfdad704, errstring=0x82dc69d "", mask=6)
    at exceptions.c:510
        val = 0
        exception = {reason = 0, error = GDB_NO_ERROR, message = 0x0}
#32 0x0808e8b1 in gdb_main (args=0xbfdad704) at ./main.c:911
No locals.
#33 0x0808e875 in main (argc=Cannot access memory at address 0x3229
) at gdb.c:33

-- 
           Summary: Assertion triggered by "thread apply all continue"
           Product: gdb
           Version: 7.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: gdb
        AssignedTo: unassigned at sourceware dot org
        ReportedBy: andre dot poenitz at nokia dot com
                CC: gdb-prs at sourceware dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://sourceware.org/bugzilla/show_bug.cgi?id=10890

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]