Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'python,': 0.02; '(of': 0.07; 'debug': 0.07; 'executed': 0.09; 'indicates': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'skip:/ 10': 0.09; 'things,': 0.09; 'python': 0.11; 'received:80.91.229.3': 0.16; 'received:dip0.t-ipconnect.de': 0.16; 'received:plane.gmane.org': 0.16; 'received:t-ipconnect.de': 0.16; 'symbols': 0.16; 'subject:python': 0.16; 'install': 0.23; 'installation': 0.23; 'header:User-Agent:1': 0.23; 'source': 0.25; 'skip:" 30': 0.26; '(for': 0.26; 'skip:" 20': 0.27; 'header:X -Complaints-To:1': 0.27; 'installed': 0.27; 'unter': 0.29; 'code': 0.31; 'usually': 0.31; 'writes:': 0.31; 'run': 0.32; 'linux': 0.33; 'cases': 0.33; 'packaging': 0.33; 'problem': 0.35; 'problem.': 0.35; 'done.': 0.35; 'but': 0.35; 'there': 0.35; 'skip:" 50': 0.36; 'doing': 0.36; 'charset:us-ascii': 0.36; 'starting': 0.37; 'configured': 0.38; 'hat': 0.38; 'skip:[ 10': 0.38; 'to:addr:python-list': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'ensure': 0.60; 'received:217': 0.63; 'information': 0.63; 'such': 0.63; 'more': 0.64; 'between': 0.67; 'special': 0.74; 'potentially': 0.81; 'maybe,': 0.84; 'source?': 0.84; 'subject:read': 0.84; 'reside': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: dieter Subject: Re: gdb unable to read python frame information Date: Tue, 11 Mar 2014 08:28:31 +0100 References: <0b7f74c8-9c70-4950-b431-6c9bbb3f0058@googlegroups.com> <9c70d96c-3ab4-436c-aa90-82f47756ed6c@googlegroups.com> <00b321ae-2fb9-4360-93e4-e7f376444029@googlegroups.com> <09ebd498-fb4a-4036-8703-9f7c7a580ffa@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Gmane-NNTP-Posting-Host: pd9e0abe5.dip0.t-ipconnect.de User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.22 (linux) Cancel-Lock: sha1:qPrWmRWFrJh/9nr3uuYcUoM2I6s= X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 29 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1394522926 news.xs4all.nl 2961 [2001:888:2000:d::a6]:45015 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:68201 Wesley writes: > ... > [root@localhost ~]# gdb python > GNU gdb (GDB) Red Hat Enterprise Linux (7.2-60.el6_4.1) > This GDB was configured as "x86_64-redhat-linux-gnu". > Reading symbols from /usr/bin/python...Reading symbols from /usr/lib/debug/usr/bin/python2.6.debug...done. > done. > (gdb) run > Starting program: /usr/bin/python > warning: the debug information found in "/usr/lib/debug//usr/lib64/libpython2.6.so.1.0.debug" does not match "/usr/lib64/libpython2.6.so.1.0" (CRC mismatch). > > warning: the debug information found in "/usr/lib/debug/usr/lib64/libpython2.6.so.1.0.debug" does not match "/usr/lib64/libpython2.6.so.1.0" (CRC mismatch). This indicates that there is a problem between the executed code and the debug information. Apparently, they do not match. An installation problem might be the cause - maybe, a packaging problem. Have you not told us that you have build your own Python from source? Usually, such a Python would not reside under "/usr/bin" but more likely under "/usr/local/bin" (of course, doing special things, you can force a build from source to install unter "/usr/bin", but this usually is not advicable -- it is potentially interfering with system installed components). If you have generated your own Python, you must ensure that it is consistently used (for all the cases you are concerned by).