Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Jun 2004 16:04:22 +0200
From:      Michael Nottebrock <michaelnottebrock@gmx.net>
To:        freebsd-threads@freebsd.org
Cc:        eti@erata.net
Subject:   Fwd: [kde-freebsd] Problem with qt on freebsd
Message-ID:  <200406191604.26550.michaelnottebrock@gmx.net>

next in thread | raw e-mail | index | archive | help

--Boundary-03=_qfE1Am/nZCnkLgS
Content-Type: multipart/mixed;
  boundary="Boundary-01=_mfE1AoEOjaB5jhH"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

--Boundary-01=_mfE1AoEOjaB5jhH
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

I and others have been able to reproduce the problem on -STABLE and 5.2.1-R=
,=20
but not on -CURRENT (my guess is it's probably reproducable on -CURRENT as=
=20
well if qt is linked against libc_r instead of libpthread).

Backtraces yield nothing despite full debugging enabled in QT and KDE (you =
can=20
enable debugging in the QT port by compiling with -DWANT_QT_DEBUG):
(gdb) run
Starting program: /usr/home/lofi/./qt-test

Program received signal SIGSEGV, Segmentation fault.
0x28de44f8 in __tcf_0 () at kstyle.cpp:295

Could this be some libc_r bug? It's a little heisenbug-ish, not all QT styl=
es=20
seem to trigger this reliably, perhaps it's even necessary to have some KDE=
=20
styles (i.e. kdelibs) installed, I couldn't check yet.

=2D-=20
   ,_,   | Michael Nottebrock               | lofi@freebsd.org
 (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org

--Boundary-01=_mfE1AoEOjaB5jhH
Content-Type: message/rfc822;
  name="forwarded message"
Content-Transfer-Encoding: 7bit
Content-Description: etila rootila <etishor@yahoo.com>: [kde-freebsd] Problem
	with qt on freebsd
Content-Disposition: inline

Return-Path: <kde-freebsd-bounces@freebsd.kde.org>
Received: from pop.gmx.net (lofi@localhost [127.0.0.1])
	by lofi.dyndns.org (8.12.10/8.12.10) with ESMTP id i5J9F5xo013083
	for <lofi@localhost>; Sat, 19 Jun 2004 11:15:10 +0200 (CEST)
	(envelope-from kde-freebsd-bounces@freebsd.kde.org)
X-Flags: 0000
Delivered-To: GMX delivery to michaelnottebrock@gmx.net
Received: (qmail 3670 invoked by uid 65534); 19 Jun 2004 09:11:56 -0000
Received: from h2.liquidneon.com (EHLO h2.liquidneon.com) (216.38.206.182)
  by mx0.gmx.net (mx016) with SMTP; 19 Jun 2004 11:11:56 +0200
Received: (qmail 78363 invoked from network); 19 Jun 2004 09:11:53 -0000
Received: from h2.liquidneon.com (216.38.206.182)
  by h2.liquidneon.com with SMTP; 19 Jun 2004 09:11:53 -0000
Received: (qmail 78353 invoked by uid 98); 19 Jun 2004 09:11:49 -0000
Received: from etishor@yahoo.com by h2.liquidneon.com by uid 82 with
	qmail-scanner-1.20 (clamuko: 0.65.  Clear:RC:0(216.136.204.119):. 
	Processed in 0.071322 secs); 19 Jun 2004 09:11:49 -0000
X-Qmail-Scanner-Mail-From: etishor@yahoo.com via h2.liquidneon.com
X-Qmail-Scanner: 1.20 (Clear:RC:0(216.136.204.119):. Processed in 0.071322
	secs)
Received: from mx2.freebsd.org (216.136.204.119)
	by h2.liquidneon.com with SMTP; 19 Jun 2004 09:11:49 -0000
Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18])
	by mx2.freebsd.org (Postfix) with ESMTP id 7F7E255457
	for <kde-freebsd@freebsd.kde.org>;
	Sat, 19 Jun 2004 09:11:48 +0000 (GMT)
	(envelope-from etishor@yahoo.com)
Received: by hub.freebsd.org (Postfix)
	id 7BFA516A4CF; Sat, 19 Jun 2004 09:11:48 +0000 (GMT)
Delivered-To: kde@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 7A24616A4CE
	for <kde@freebsd.org>; Sat, 19 Jun 2004 09:11:48 +0000 (GMT)
Received: from web60608.mail.yahoo.com (web60608.mail.yahoo.com
	[216.109.119.82])
	by mx1.FreeBSD.org (Postfix) with SMTP id 2855843D39
	for <kde@freebsd.org>; Sat, 19 Jun 2004 09:11:48 +0000 (GMT)
	(envelope-from etishor@yahoo.com)
Message-ID: <20040619091142.72297.qmail@web60608.mail.yahoo.com>
Received: from [65.75.178.20] by web60608.mail.yahoo.com via HTTP;
	Sat, 19 Jun 2004 02:11:42 PDT
Date: Sat, 19 Jun 2004 02:11:42 -0700 (PDT)
From: etila rootila <etishor@yahoo.com>
To: kde@freebsd.org
MIME-Version: 1.0
Content-Type: text/plain;
  charset=us-ascii
Subject: [kde-freebsd] Problem with qt on freebsd
X-BeenThere: kde-freebsd@freebsd.kde.org
X-Mailman-Version: 2.1.3
Precedence: list
List-Id: KDE/FreeBSD QA/Development Team <kde-freebsd.freebsd.kde.org>
List-Unsubscribe: <http://freebsd.kde.org/mailman/listinfo/kde-freebsd>,
	<mailto:kde-freebsd-request@freebsd.kde.org?subject=unsubscribe>
List-Archive: <http://lists.liquidneon.com/pipermail/kde-freebsd>;
List-Post: <mailto:kde-freebsd@freebsd.kde.org>
List-Help: <mailto:kde-freebsd-request@freebsd.kde.org?subject=help>
List-Subscribe: <http://freebsd.kde.org/mailman/listinfo/kde-freebsd>,
	<mailto:kde-freebsd-request@freebsd.kde.org?subject=subscribe>
Sender: kde-freebsd-bounces@freebsd.kde.org
Errors-To: kde-freebsd-bounces@freebsd.kde.org
X-GMX-Antivirus: -1 (not scanned, may not use virus scanner)
X-GMX-Antispam: -2 (not scanned, spam filter disabled)
X-Virus-Scanned: by amavisd-new
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on lofi.dyndns.org
X-Spam-Status: No, hits=-4.9 required=3.0 tests=BAYES_00 autolearn=ham 
	version=2.63
X-Spam-Level: 
X-UID: 6995

hi,

There seems to be a problem with QListView widgtet
when compiling & runing on freebsd. I found a report
of a similar problema on the mailing lists from
trolltech:
http://lists.trolltech.com/qt-interest/
2004-04/thread00962-0.html

The problema is that the application containing a
QListView witch has been populated with items
segfaults on exit. 

example:

#include <qapplication.h>
#include <qlistview.h>

int main( int argc, char ** argv )
{
QApplication a( argc, argv );
QListView w;
w.addColumn("column");
QListViewItem *item;
item=new QListViewItem(&w);
item->setText(0,"a");
item=new QListViewItem(item);
item->setText(0,"b");
a.setMainWidget(&w);
w.show();
return a.exec();
}

if you compile and run the application, and if you
close the main window without opening the first item
nothing happens. The problem is if you close the
application after opening the first item then it
segfaults. 

I'm using freebsd 4.10-stable with:

qt-3.3.2_2

bash-2.05b$ gcc -v
Using builtin specs.
gcc version 2.95.4 20020320 [FreeBSD]

ai've tryed compiling with gcc33 but the results are
the same.

bash-2.05b$ gcc33 -v
Reading specs from
/usr/local/lib/gcc-lib/i386-portbld-freebsd4.9/3.3.4/specs
Configured with: ./..//gcc-3.3-20040505/configure
--disable-nls --with-system-zlib --program-suffix=33
--with-gxx-include-dir=/usr/local/lib/gcc-lib/i386-portbld-freebsd4.9/3.3.4/include/c++/
--disable-shared --prefix=/usr/local
i386-portbld-freebsd4.9
Thread model: posix
gcc version 3.3.4 20040505 (prerelease) [FreeBSD]


The problem does not apear on linux or windows ... so
i guess it's freebsd specific. (i'm not 100% sure but
i think the problem exists on 5.X too)

Also i'm not sure if it's a qt problem or a libc
problem.


If you answer please cc to eti@erata.net (i can't
email from there cos the smtp servre does not have a
reverse and freebsd's MX does not accept mail from
there.


thanks.

Regards,
Iulian margarintescu





		
__________________________________
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
http://promotions.yahoo.com/new_mail 
_______________________________________________
kde-freebsd mailing list
kde-freebsd@freebsd.kde.org
http://freebsd.kde.org/mailman/listinfo/kde-freebsd


--Boundary-01=_mfE1AoEOjaB5jhH--

--Boundary-03=_qfE1Am/nZCnkLgS
Content-Type: application/pgp-signature
Content-Description: signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQBA1EfqXhc68WspdLARAuo9AJ4i6clyd0xsZxYEVL56fYUYZthOPgCfa2p+
2VNrIDlPzAHhRniT31qgMf0=
=zsBG
-----END PGP SIGNATURE-----

--Boundary-03=_qfE1Am/nZCnkLgS--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406191604.26550.michaelnottebrock>