From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20862 invoked by alias); 19 Jul 2012 05:26:54 -0000 Received: (qmail 20839 invoked by uid 22791); 19 Jul 2012 05:26:52 -0000 X-SWARE-Spam-Status: No, hits=-3.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_GT X-Spam-Check-By: sourceware.org Received: from mail-ob0-f169.google.com (HELO mail-ob0-f169.google.com) (209.85.214.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 19 Jul 2012 05:26:38 +0000 Received: by obhx4 with SMTP id x4so3996036obh.0 for ; Wed, 18 Jul 2012 22:26:37 -0700 (PDT) Received: by 10.182.226.104 with SMTP id rr8mr574885obc.41.1342675597815; Wed, 18 Jul 2012 22:26:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.108.33 with HTTP; Wed, 18 Jul 2012 22:25:57 -0700 (PDT) From: Hui Zhu Date: Thu, 19 Jul 2012 05:26:00 -0000 Message-ID: Subject: [BUG] gdb crash when "python import gtk" To: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2012-07/txt/msg00045.txt.bz2 GNU gdb (GDB) 7.5.50.20120719-cvs Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later 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 "x86_64-unknown-linux-gnu". For bug reporting instructions, please see: . (gdb) python import gtk memory clobbered before allocated block Aborted (core dumped) But in 7.4.1 is OK. ./gdb GNU gdb (GDB) 7.4.1.20120718-cvs Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later 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 "x86_64-unknown-linux-gnu". For bug reporting instructions, please see: . Setting up the environment for debugging gdb. No symbol table is loaded. Use the "file" command. Make breakpoint pending on future shared library load? (y or [n]) [answered N; input not from terminal] No symbol table is loaded. Use the "file" command. Make breakpoint pending on future shared library load? (y or [n]) [answered N; input not from terminal] .gdbinit:8: Error in sourced command file: Argument required (one or more breakpoint numbers). (gdb) python import gtk I will spend some time on it but I am not sure I can fix it. I think this issue is dangerous because we don't know how much other python modules are affected by this issue. Wish it can be fixed before 7.5 release. Thanks, Hui