From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 21762 invoked from network); 24 May 2000 14:11:02 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 24 May 2000 14:11:02 -0000 Received: from takefive.takefive.co.at (takefive.takefive.co.at [193.81.18.150]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id KAA28585 for ; Wed, 24 May 2000 10:11:01 -0400 Received: from extreme.takefive.co.at (extreme [193.81.18.174]) by takefive.takefive.co.at (8.8.8/1.0T5H) with ESMTP id QAA05438 for ; Wed, 24 May 2000 16:11:00 +0200 (MET DST) Received: from takefive.co.at (extreme.takefive.co.at [193.81.18.174]) by extreme.takefive.co.at (8.9.3/8.9.3) with ESMTP id QAA05837 for ; Wed, 24 May 2000 16:10:56 +0200 Message-Id: <200005241410.QAA05837@extreme.takefive.co.at> Date: Wed, 24 May 2000 16:10:53 +0200 (CEST) From: Max Weninger Subject: Crash on quit when using shared libs To: axp-list@redhat.com MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Hi, I discovered a very strange problem using shared libs that seems to be specific to AlphaLinux. We are building an application that uses a set of shared libs. When quiting the application I get a core dump with the following backtrace. ... Program received signal SIGSEGV, Segmentation fault. 0x0 in ?? () (gdb) bt #0 0x0 in ?? () I discovered that one specific shared lib is reponsible for this core dump. When building this library as a static lib ( archive ) instead everthing works fine. I first thought it has something to do with global variable initialisation or any other obvoius problems specific to shared libs but the exact same shared lib works on other platforms like IntelLinux and Solaris. Environment: binutils-2.9.5.0.22 gcc-2.95.3-0.20000323 glibc-2.1.3-14 I think it has something to do with the size of the shared lib because with smaller shared libs ( size of the *.so file ). I never had such problems. Is this behaviour/bug known ? I read about linker problems specific on AlphaLinux in this newsgroup a time ago. Can this problem have similiar reasons ? The next thing I will try is to split the relevant shared lib into smaller parts and see if that helps. Any other help, ideas or feedback is welcome Regards Max -- _______________________________________________________________ \ o/\_ DI Max Weninger <\__,\ Email (max@takefive.co.at) ">. | ` .-| Jakob-Haringer-Str. 8 . \ A-5020 Salzburg - AUSTRIA . \ Tel: +43 662 4579150 - Fax: +43 662 4579156 .-| _________._|____________________________________________________