From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16402 invoked by alias); 27 Sep 2012 17:31:40 -0000 Received: (qmail 16383 invoked by uid 48); 27 Sep 2012 17:31:39 -0000 From: "jan.kratochvil at redhat dot com" To: gdb-prs@sourceware.org Subject: [Bug python/14635] New: crash in python gdb during quit #2 Date: Thu, 27 Sep 2012 17:31: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/msg00415.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=14635 Bug #: 14635 Summary: crash in python gdb during quit #2 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 0x082a78fd in salpy_dealloc (self=) at ./python/py-symtab.c:302 #1 0xf7522a69 in insertdict (mp=mp@entry=0xf72b035c, key=key@entry='sal', hash=-535590009, value=None) at /usr/src/debug/Python-2.7.3/Objects/dictobject.c:539 #2 0xf75250e9 in PyDict_SetItem (op=op@entry={'static_block': None, 'new_pc': None, 'static_symbols': None, 'sal': None, '__builtins__': , 'symtab': , 'frame': , 'GdbRemoveReadlineFinder': , 'sym': , '__package__': None, 'sys': , 'global_symbols': ['func', 'main', 'qq'], 'gdb': , '__name__': '__main__', '__doc__': None, 'global_block': }, key='sal', value=None) at /usr/src/debug/Python-2.7.3/Objects/dictobject.c:784 #3 0xf7528f51 in _PyModule_Clear (m=) at /usr/src/debug/Python-2.7.3/Objects/moduleobject.c:138 #4 0xf759762a in PyImport_Cleanup () at /usr/src/debug/Python-2.7.3/Python/import.c:445 #5 0xf75a3975 in Py_Finalize () at /usr/src/debug/Python-2.7.3/Python/pythonrun.c:454 #6 Py_Finalize () at /usr/src/debug/Python-2.7.3/Python/pythonrun.c:400 #7 0x08299ae3 in finalize_python (ignore=0x0) at ./python/python.c:1286 #8 0x082fa816 in do_my_cleanups (pmy_chain=0x93ba8cc , old_chain=0x8b5cdd4 ) at cleanups.c:155 #9 0x082fa88c in do_final_cleanups (old_chain=0x8b5cdd4 ) at cleanups.c:186 #10 0x0844b352 in quit_target (arg=0xffc27318) at top.c:1304 #11 0x083648fb in catch_errors (func=0x844b2fb , func_args=0xffc27318, errstring=0x8ba93c0 "Quitting: ", mask=6) at exceptions.c:546 #12 0x0844b3ca in quit_force (args=0x0, from_tty=1) at top.c:1332 #13 0x0827a557 in quit_command (args=0x0, from_tty=1) at ./cli/cli-cmds.c:330 #14 0x08274c22 in do_cfunc (c=0x9cf7658, args=0x0, from_tty=1) at ./cli/cli-decode.c:114 #15 0x08277515 in cmd_func (cmd=0x9cf7658, args=0x0, from_tty=1) at ./cli/cli-decode.c:1846 #16 0x0844a1cb in execute_command (p=0x8b78ccc "", from_tty=1) at top.c:486 #17 0x0836dda2 in command_handler (command=0x0) at event-top.c:424 #18 0x0836df25 in command_line_handler (rl=0x0) at event-top.c:501 #19 0x08497e53 in rl_callback_read_char () at callback.c:220 #20 0x0836d983 in rl_callback_read_char_wrapper (client_data=0x0) at event-top.c:163 #21 0x0836dcfd in stdin_event_handler (error=0, client_data=0x0) at event-top.c:369 #22 0x0836cd55 in handle_file_event (data=...) at event-loop.c:827 #23 0x0836c34f in process_event () at event-loop.c:401 #24 0x0836c41e in gdb_do_one_event () at event-loop.c:465 #25 0x0836c470 in start_event_loop () at event-loop.c:490 #26 0x0836d9ac in cli_command_loop () at event-top.c:176 #27 0x08365a33 in current_interp_command_loop () at interps.c:332 #28 0x08366247 in captured_command_loop (data=0x0) at main.c:226 #29 0x083648fb in catch_errors (func=0x8366232 , func_args=0x0, errstring=0x8b768af "", mask=6) at exceptions.c:546 #30 0x08367512 in captured_main (data=0xffc27790) at main.c:999 #31 0x083648fb in catch_errors (func=0x8366497 , func_args=0xffc27790, errstring=0x8b768af "", mask=6) at exceptions.c:546 #32 0x0836755e in gdb_main (args=0xffc27790) at main.c:1008 #33 0x080be13f in main (argc=5, argv=0xffc27844) at gdb.c:34 (gdb) frame #0 0x082a78fd in salpy_dealloc (self=) at ./python/py-symtab.c:302 302 set_objfile_data (self_sal->symtab->symtab->objfile, (gdb) l 297 sal_object *self_sal = (sal_object *) self; 298 299 if (self_sal->prev) 300 self_sal->prev->next = self_sal->next; 301 else if (self_sal->symtab != (symtab_object * ) Py_None) 302 set_objfile_data (self_sal->symtab->symtab->objfile, 303 salpy_objfile_data_key, self_sal->next); 304 305 if (self_sal->next) 306 self_sal->next->prev = self_sal->prev; (gdb) p self_sal->symtab $2 = (symtab_object *) 0x0 /home/jkratoch/hammock/20120927Build-gdbcvs-gdbserver-f18/fedora-18-i386/build/src/gdb/testsuite.unix.-m32/core.26928 -- 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.