From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 1924 invoked from network); 8 Jan 1999 17:14:28 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 8 Jan 1999 17:14:28 -0000 Received: from mailgw2.fhg.de (fhg.de [153.96.1.1]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id LAA32650 for ; Fri, 8 Jan 1999 11:54:22 -0500 Received: by mailgw2.fhg.de (fhg.de); Fri, 8 Jan 1999 17:54:17 +0100 (MET) X-ENV: (mailgw2.fhg.de) scr@iis.fhg.de -> axp-list@redhat.com.VIA-SMTP X-BULK-CHECK-2-990108.17.53.35: root@iis.iis.fhg.de [153.96.172.2] Received: by mailgw2.fhg.de (fhg.de) with ESMTP; Fri, 8 Jan 1999 17:53:27 +0100 (MET) from iis.fhg.de Received: by iis.fhg.de with SMTP; Fri, 8 Jan 1999 17:53:29 +0100 (MET) from sunserv02.iis.fhg.de Received: from ew003 by sunserv02.iis.fhg.de (SMI-8.6/SMI-SVR4) id RAA15598; Fri, 8 Jan 1999 17:53:28 +0100 Sender: scr@iis.fhg.de Message-ID: <36963937.41C67EA6@iis.fhg.de> Date: Fri, 08 Jan 1999 17:58:31 +0100 From: Stefan Schroepfer Organization: FHG-IIS X-Mailer: Mozilla 3.0 (X11; I; SunOS 4.1.3_U1 sun4m) MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: Threads problem: segfault in ntop1.1a9 References: <199901041615.QAA20239@ppp393.ts.rz.tu-bs.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit All I can say is: you are not alone having problems with threads on Linux/Alpha. My own multithreaded code, which compiles cleanly and runs fine on Linux/Intel and IRIX, segfaults using RedHat 5.1 with glibc-2.0.7-19 and egcs 1.1.1 (in my case I'm getting SIGSEGVs). All threaded examples that come with glibc run fine on my box. Stefan Schroepfer y0000218@rzsrv2.rz.tu-bs.de wrote: > > I have a problem compiling ntop-1.1a9 (ftp://ftp.unipi.it/pub/ntop/snapshots/ > ntop1.1a9.tar.gz) the uses threads. it works on x86. > > Just compiled ntop on a alpha-redhat-5.2 system, 2.1.130 > kernel. > > Starting program: /home/olaf/bin/./ntop -w 3000 -n > > Program received signal SIGUSR1, User defined signal 1. > __sigsuspend () at ../sysdeps/unix/sysv/linux/alpha/sigsuspend.S:42 > ../sysdeps/unix/sysv/linux/alpha/sigsuspend.S:42: No such file or directory. > Current language: auto; currently asm > (gdb) bt > #0 __sigsuspend () at ../sysdeps/unix/sysv/linux/alpha/sigsuspend.S:42 > #1 0x2000027d1d0 in pthread_create (thread=0x1201884a0, attr=0x0, > start_routine=0x120009450 , arg=0x0) at restart.h:32 > #2 0x12000a6a0 in createThread (threadId=0x0, __start_routine=0, __arg=0x0) > at util.c:374 > [...]