From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14341 invoked by alias); 27 Sep 2012 17:28:52 -0000 Received: (qmail 14322 invoked by uid 48); 27 Sep 2012 17:28:51 -0000 From: "jan.kratochvil at redhat dot com" To: gdb-prs@sourceware.org Subject: [Bug python/14634] New: crash in python gdb during quit Date: Thu, 27 Sep 2012 17:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: python X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jan.kratochvil at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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 X-SW-Source: 2012-q3/txt/msg00414.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=14634 Bug #: 14634 Summary: crash in python gdb during quit Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: python AssignedTo: unassigned@sourceware.org ReportedBy: jan.kratochvil@redhat.com Classification: Unclassified Host: i386-unknown-linux-gnu Target: i386-unknown-linux-gnu (gdb) bt #0 0x082a6ba4 in sympy_dealloc (obj=) at ./python/py-symbol.c:338 #1 0xf752d9a5 in tupledealloc (op=0xf71f21ec) at /usr/src/debug/Python-2.7.3/Objects/tupleobject.c:236 #2 0xf7511a69 in insertdict (mp=mp@entry=0xf729f35c, key=key@entry='sym', hash=-559589938, value=None) at /usr/src/debug/Python-2.7.3/Objects/dictobject.c:539 #3 0xf75140e9 in PyDict_SetItem (op=op@entry={'__builtins__': , 'GdbRemoveReadlineFinder': None, 'sym': None, '__package__': None, 'sys': , 'gdb': , 'objfile': , '__name__': '__main__', '__doc__': None}, key='sym', value=None) at /usr/src/debug/Python-2.7.3/Objects/dictobject.c:784 #4 0xf7517f51 in _PyModule_Clear (m=) at /usr/src/debug/Python-2.7.3/Objects/moduleobject.c:138 #5 0xf758662a in PyImport_Cleanup () at /usr/src/debug/Python-2.7.3/Python/import.c:445 #6 0xf7592975 in Py_Finalize () at /usr/src/debug/Python-2.7.3/Python/pythonrun.c:454 #7 Py_Finalize () at /usr/src/debug/Python-2.7.3/Python/pythonrun.c:400 #8 0x08299ae3 in finalize_python (ignore=0x0) at ./python/python.c:1286 #9 0x082fa816 in do_my_cleanups (pmy_chain=0x93ba8cc , old_chain=0x8b5cdd4 ) at cleanups.c:155 #10 0x082fa88c in do_final_cleanups (old_chain=0x8b5cdd4 ) at cleanups.c:186 #11 0x0844b352 in quit_target (arg=0xff8f0828) at top.c:1304 #12 0x083648fb in catch_errors (func=0x844b2fb , func_args=0xff8f0828, errstring=0x8ba93c0 "Quitting: ", mask=6) at exceptions.c:546 #13 0x0844b3ca in quit_force (args=0x0, from_tty=0) at top.c:1332 #14 0x0827a557 in quit_command (args=0x0, from_tty=0) at ./cli/cli-cmds.c:330 #15 0x08449e96 in quit_cover () at top.c:298 #16 0x0836e6b7 in async_disconnect (arg=0x0) at event-top.c:865 #17 0x0836d27c in invoke_async_signal_handlers () at event-loop.c:1052 #18 0x0836c2a1 in process_event () at event-loop.c:361 #19 0x0836c41e in gdb_do_one_event () at event-loop.c:465 #20 0x0836c470 in start_event_loop () at event-loop.c:490 #21 0x0836d9ac in cli_command_loop () at event-top.c:176 #22 0x08365a33 in current_interp_command_loop () at interps.c:332 #23 0x08366247 in captured_command_loop (data=0x0) at main.c:226 #24 0x083648fb in catch_errors (func=0x8366232 , func_args=0x0, errstring=0x8b768af "", mask=6) at exceptions.c:546 #25 0x08367512 in captured_main (data=0xff8f0b90) at main.c:999 #26 0x083648fb in catch_errors (func=0x8366497 , func_args=0xff8f0b90, errstring=0x8b768af "", mask=6) at exceptions.c:546 #27 0x0836755e in gdb_main (args=0xff8f0b90) at main.c:1008 #28 0x080be13f in main (argc=5, argv=0xff8f0c44) at gdb.c:34 (gdb) frame #0 0x082a6ba4 in sympy_dealloc (obj=) at ./python/py-symbol.c:338 338 else if (SYMBOL_SYMTAB (sym_obj->symbol)) (gdb) l 333 { 334 symbol_object *sym_obj = (symbol_object *) obj; 335 336 if (sym_obj->prev) 337 sym_obj->prev->next = sym_obj->next; 338 else if (SYMBOL_SYMTAB (sym_obj->symbol)) 339 { 340 set_objfile_data (SYMBOL_SYMTAB (sym_obj->symbol)->objfile, 341 sympy_objfile_data_key, sym_obj->next); 342 } (gdb) p sym_obj->symbol $4 = (struct symbol *) 0x0 /home/jkratoch/hammock/20120927Build-gdbcvs-gdbserver-f18/fedora-18-i386/build/src/gdb/testsuite.unix.-m32/core.20935 -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.