From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19635 invoked by alias); 22 Aug 2014 04:11:17 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Received: (qmail 19605 invoked by uid 48); 22 Aug 2014 04:11:16 -0000 From: "dilyan.palauzov at aegee dot org" To: gdb-prs@sourceware.org Subject: [Bug cli/17300] New: crash in non-stop mode with continue -a & (readline_callback_read_char() called with no handler!) Date: Fri, 22 Aug 2014 04:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: cli X-Bugzilla-Version: 7.8 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dilyan.palauzov at aegee dot org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-q3/txt/msg00311.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=17300 Bug ID: 17300 Summary: crash in non-stop mode with continue -a & (readline_callback_read_char() called with no handler!) Product: gdb Version: 7.8 Status: NEW Severity: normal Priority: P2 Component: cli Assignee: unassigned at sourceware dot org Reporter: dilyan.palauzov at aegee dot org (gdb) show pagination State of pagination is off. (gdb) set non-stop on (gdb) attach NUM & Attaching to program: ... Reading symbols from ... (gdb) interrupt -a & (gdb) [Thread 0x7fd9786a7700 (LWP 5740)] #2 stopped. 0x00007fd97938c009 in do_sigwait () from /lib64/libpthread.so.0 [Thread 0x7fd97ef97740 (LWP 5738)] #1 stopped. 0x00007fd978997633 in select () from /lib64/libc.so.6 c -a & <-- note, I enter continue -a & even thought the prompt is not here, in order to avoid possibly repeating interrupt -a & Continuing. (gdb) Continuing. readline: readline_callback_read_char() called with no handler! /usr/sbin/gdb: line 1: 5803 Aborted (core dumped) EDITOR=/usr/bin/emacs /usr/bin/gdb --silent "$@" And the backtrace: #0 0x00007fa84fcf1655 in raise () from /lib64/libc.so.6 No symbol table info available. #1 0x00007fa84fcf2ad8 in abort () from /lib64/libc.so.6 No symbol table info available. #2 0x00007fa8529603f3 in rl_callback_read_char () from /usr/lib/libreadline.so.6 No symbol table info available. #3 0x000000000067ebc9 in rl_callback_read_char_wrapper (client_data=) at ../../gdb-7.8/gdb/event-top.c:167 No locals. #4 0x00000000006829c1 in process_event () at ../../gdb-7.8/gdb/event-loop.c:343 event_ptr = proc = 0x689610 data = { ptr = 0x0, integer = 0 } #5 0x000000000068b287 in gdb_do_one_event () at ../../gdb-7.8/gdb/event-loop.c:407 event_source_head = 0 current = 3 #6 0x000000000068ff1e in start_event_loop () at ../../gdb-7.8/gdb/event-loop.c:432 ex = { reason = 0, error = GDB_NO_ERROR, message = 0x0 } result = 0 #7 0x00000000006892b3 in captured_command_loop (data=data@entry=0x0) at ../../gdb-7.8/gdb/main.c:302 No locals. #8 0x00000000006909ca in catch_errors (func=func@entry=0x6892a0 , func_args=func_args@entry=0x0, errstring=errstring@entry=0x8b9d29 "", mask=mask@entry=RETURN_MASK_ALL) at ../../gdb-7.8/gdb/exceptions.c:506 val = 0 exception = { reason = 0, error = GDB_NO_ERROR, message = 0x0 } saved_uiout = 0x1f4d580 #9 0x0000000000691726 in captured_main (data=data@entry=0x7fff4e8f9740) at ../../gdb-7.8/gdb/main.c:1155 context = 0x7fff4e8f9740 argc = argv = quiet = 1 set_args = 0 inhibit_home_gdbinit = 0 symarg = 0x7fff4e8fb8d2 "/usr/sbin/aegee-milter" execarg = 0x7fff4e8fb8d2 "/usr/sbin/aegee-milter" pidarg = 0x0 corearg = 0x0 pid_or_core_arg = 0x0 cdarg = 0x0 ttyarg = 0x0 print_help = 0 print_version = 0 print_configuration = 0 cmdarg_vec = 0x0 cmdarg_p = 0x0 dirarg = 0x1da9f60 dirsize = ndir = system_gdbinit = 0x0 home_gdbinit = 0x1f31760 "/root/.gdbinit" local_gdbinit = 0x0 i = save_auto_load = objfile = pre_stat_chain = 0x8e7a00 #10 0x00000000006909ca in catch_errors (func=func@entry=0x690a40 , func_args=func_args@entry=0x7fff4e8f9740, errstring=errstring@entry=0x8b9d29 "", mask=mask@entry=RETURN_MASK_ALL) at ../../gdb-7.8/gdb/exceptions.c:506 val = 0 exception = { reason = 0, error = GDB_NO_ERROR, message = 0x0 } saved_uiout = 0xb9a5c0 #11 0x000000000069196b in gdb_main (args=args@entry=0x7fff4e8f9740) at ../../gdb-7.8/gdb/main.c:1163 No locals. #12 0x0000000000457bb5 in main (argc=, argv=) at ../../gdb-7.8/gdb/gdb.c:33 args = { argc = 3, argv = 0x7fff4e8f9848, interpreter_p = 0x882b99 "console" } -- You are receiving this mail because: You are on the CC list for the bug.