Re: Alpha-specific EGCS bug report #31813
On Wed, Jan 13, 1999 at 19:32:24 +0800, Mikolaj J. Habryn wrote:
> There doesn't appear to be a bug with that number in the db.
It was reported today; the database doesn't have it yet. I'm attaching it to
this message.
Ray
--
ART A friend of mine in Tulsa, Okla., when I was about eleven years old.
I'd be interested to hear from him. There are so many pseudos around taking
his name in vain.
- The Hipcrime Vocab by Chad C. Mulligan
>From debian-bugs-dist-request@lists.debian.org Wed Jan 13 12:02:32 1999
>From debian-bugs-dist-request@lists.debian.org Wed Jan 13 12:02:32 1999
Return-Path: <debian-bugs-dist-request@lists.debian.org>
Received: from murphy.novare.net (murphy.debian.org [209.176.56.6])
by zeus.wi.leidenuniv.nl (8.8.8/8.8.8/WI) with SMTP id MAA03349
for <jdassen@wi.LeidenUniv.nl>; Wed, 13 Jan 1999 12:02:23 +0100 (MET)
Received: (qmail 6798 invoked by uid 38); 13 Jan 1999 11:02:18 -0000
X-Envelope-Sender: discard-all@chiark.greenend.org.uk
Subject: Bug#31813: egcs pthread bug
Reply-To: Martin Vogt <mvogt@aixd1.rhrk.uni-kl.de>, 31813@bugs.debian.org
Resent-From: Martin Vogt <mvogt@aixd1.rhrk.uni-kl.de>
Resent-To: debian-bugs-dist@lists.debian.org
Resent-CC: Galen Hazelwood <galenh-egcs@debian.org>
Resent-Date: Wed, 13 Jan 1999 10:18:01 GMT
Resent-Message-ID: <handler.31813.B.91622205012519@bugs.debian.org>
X-Debian-PR-Message: report 31813
X-Debian-PR-Package: egcs
X-Loop: owner@bugs.debian.org
Date: Wed, 13 Jan 1999 11:06:57 +0100
From: Martin Vogt <mvogt@aixd1.rhrk.uni-kl.de>
To: submit@bugs.debian.org
Message-ID: <19990113110657.A437688@aixd1.rhrk.uni-kl.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.94.17i
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/23165
X-Loop: debian-bugs-dist@lists.debian.org
Precedence: list
Resent-Sender: debian-bugs-dist-request@lists.debian.org
Status: RO
Content-Length: 1766
Package: egcs
Version: 2.90
Hello,
This bug is only on the alpha distribution. Its more an egcs libc problem
I think, than a package bug. The bug "works" on the RH5.2 alpha as well.
I dont have debian and I dont have an alpha, but it may be possible
that I can access one if there are questions.
The example needs an installed KDE, this is required to get the
bug but I dont think thats a bug in kde, because the example programm
does not need very much of it.
regards,
Martin
/*
This program runs in both versions on my Intel RedHat 5.2 but on
the alpha it gives a segfault if the pthread library is
linked at first.
I think this is a bug.
Intel works: RH5.2
Alpha Debian segfault.
* egcs-2.90.29 980515 (egcs-1.0.3 release)
*/
// KDE include files
#include <kapp.h>
#include <pthread.h>
/*
Success :
g++ -I/opt/kde/include -I/opt/qt/include -I/usr/X11R6/include -L/opt/kde/lib
-L/opt/qt/lib -L/usr/X11R6/lib test.cpp -lkfile -lkfm -lkdeui -lkdecore -lqt
-lXext -lX11 -lpthread
SEGFAULT :
g++ -I/opt/kde/include -I/opt/qt/include -I/usr/X11R6/include -L/opt/kde/lib
-L/opt/qt/lib -L/usr/X11R6/lib test.cpp -lpthread -lkfile -lkfm -lkdeui
-lkdecore -lqt -lXext -lX11
The only difference is the linking order of the pthread library.
*/
static void *writerThread(void *arg){
printf("a\n");
return NULL;
}
int main(int nargs,char** args) {
printf("hi\n");
KApplication a( nargs, args, "kmpg" );
pthread_t tr;
printf("hello\n");
pthread_create(&tr,NULL,writerThread,NULL);
printf("b\n");
a.exec();
return 0;
}
--
To UNSUBSCRIBE, email to debian-bugs-dist-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: