From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24934 invoked by alias); 23 Jun 2008 08:22:31 -0000 Received: (qmail 24923 invoked by uid 22791); 23 Jun 2008 08:22:30 -0000 X-Spam-Check-By: sourceware.org Received: from cantor2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 23 Jun 2008 08:22:10 +0000 Received: from Relay1.suse.de (relay-ext.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 90ADD45937; Mon, 23 Jun 2008 10:22:07 +0200 (CEST) From: Andreas Schwab To: Vladimir Prus Cc: gdb@sourceware.org Subject: Re: breakpoint.c:5280: internal-error: expand_line_sal_maybe: Assertion `found' failed. References: <200806230751.44399.vladimir@codesourcery.com> X-Yow: Are you selling NYLON OIL WELLS?? If so, we can use TWO DOZEN!! Date: Mon, 23 Jun 2008 08:22:00 -0000 In-Reply-To: <200806230751.44399.vladimir@codesourcery.com> (Vladimir Prus's message of "Mon, 23 Jun 2008 07:51:43 +0400") Message-ID: User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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: 2008-06/txt/msg00214.txt.bz2 Vladimir Prus writes: > This should not happen generally -- do you have a small reproducible example? No, sorry, I saw this while debugging a KDE program. When I remove the assertion I get this output (the function starts with an inlined QString constructor): (gdb) b 'QFontDatabase::styles(QString const&) const' Note: breakpoint 2 also set at pc 0xeaf7078. Note: breakpoint 2 also set at pc 0xeaf7080. Note: breakpoint 2 also set at pc 0xeaf7150. Note: breakpoint 2 also set at pc 0xeaf7080. Note: breakpoint 2 also set at pc 0xeaf7078. Note: breakpoint 2 also set at pc 0xeaf7080. Note: breakpoint 2 also set at pc 0xeaf7150. Note: breakpoint 2 also set at pc 0xeaf7080. Note: breakpoint 2 also set at pc 0xeaf7088. Note: breakpoint 2 also set at pc 0xeaf70a4. Note: breakpoint 2 also set at pc 0xeaf7080. Note: breakpoint 2 also set at pc 0xeaf7088. Note: breakpoint 2 also set at pc 0xeaf7088. Note: breakpoint 2 also set at pc 0xeaf7088. Note: breakpoint 2 also set at pc 0xeaf7090. Note: breakpoint 2 also set at pc 0xeaf7160. Note: breakpoint 2 also set at pc 0xeaf7080. Note: breakpoint 2 also set at pc 0xeaf7088. Note: breakpoint 2 also set at pc 0xeaf719c. Breakpoint 2 at 0xeaf7078: file ../include/qstring.h, line 842. (41 locations) (gdb) p 'QFontDatabase::styles(QString const&) const' $1 = {QStringList (const QFontDatabase * const, const QString &)} 0xed94f50 (gdb) i b 2 Num Type Disp Enb Address What 2 breakpoint keep y 2.1 y 0x0eaf7078 ../include/qstring.h:842 2.2 y 0x0eaf7080 ../include/qstring.h:842 2.3 y 0x0eaf7150 ../include/qstring.h:842 2.4 y 0x0eaf7078 ../include/qstring.h:842 2.5 y 0x0eaf7080 ../include/qstring.h:842 2.6 y 0x0eaf7150 ../include/qstring.h:842 2.7 y 0x0eaf7080 ../include/qstring.h:842 2.8 y 0x0eaf7088 ../include/qstring.h:842 2.9 y 0x0eaf70a4 ../include/qstring.h:842 2.10 y 0x0eaf718c ../include/qstring.h:842 2.11 y 0x0eaf7194 ../include/qstring.h:842 2.12 y 0x0eaf71b0 ../include/qstring.h:842 2.13 y 0x0eaf730c ../include/qstring.h:842 2.14 y 0x0eaf7078 ../include/qstring.h:842 2.15 y 0x0eaf7080 ../include/qstring.h:842 2.16 y 0x0eaf7150 ../include/qstring.h:842 2.17 y 0x0eaf7080 ../include/qstring.h:842 2.18 y 0x0eaf7088 ../include/qstring.h:842 2.19 y 0x0eaf70a4 ../include/qstring.h:842 2.20 y 0x0eaf7264 ../include/qstring.h:842 2.21 y 0x0eaf7080 ../include/qstring.h:842 2.22 y 0x0eaf7088 ../include/qstring.h:842 2.23 y 0x0eaf719c ../include/qstring.h:842 2.24 y 0x0eaf7088 ../include/qstring.h:842 2.25 y 0x0eaf7088 ../include/qstring.h:842 2.26 y 0x0eaf7090 ../include/qstring.h:842 2.27 y 0x0eaf7090 ../include/qstring.h:842 2.28 y 0x0eaf7160 ../include/qstring.h:842 2.29 y 0x0eaf7160 ../include/qstring.h:842 2.30 y 0x0eaf7080 ../include/qstring.h:842 2.31 y 0x0eaf7088 ../include/qstring.h:842 2.32 y 0x0eaf719c ../include/qstring.h:842 2.33 y 0x0eaf707c ../include/qstring.h:842 2.34 y 0x0eaf7084 ../include/qstring.h:842 2.35 y 0x0eaf71bc ../include/qstring.h:842 2.36 y 0x0eaf70ac ../include/qstring.h:842 2.37 y 0x0eaf70c4 ../include/qstring.h:842 2.38 y 0x0eaf7228 ../include/qstring.h:842 2.39 y 0x0eaf737c ../include/qstring.h:842 2.40 y 0x0ed94fbc in QFontDatabase::styles(QString const&) const at ../include/qstring.h:842 2.41 y 0x0ed951f0 in QFontDatabase::styles(QString const&) const at ../include/qstring.h:842 Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."