On Mon, Jul 29, 2002, [EMAIL PROTECTED] wrote about "segmentation faults
during throw":
> we have multithreaded program running on RedHad Linux 7.3, Kernel 2.4.18.3,
> gcc 2.96, ld 2.11.93
>
> This program uses throw-catch technique for I/O-error handling. Following
> http://www.tldp.org/HOWTO/SMP-HOWTO-3.html#ss3.3 I inserted
> mutex_lock/mutex_unlock in constructor/destructor of exception class.
> But, in any case, under heavy loads program received SIGSEGV from within
> throw handler - if I look at stack, I see functions like "unwind_cleanup",
> "rethrow" and so on.
> Can replacing compiler to another - pgcc or something else,or upgrading to
> gcc ver.3, or another thing solve this problem?
3 days ago, Redhat released a new RPM for their gcc compiler. Among the
fixes they list is:
57443 - multithreaded program aborts when exception thrown
and a host of other bugs, so this might perhaps fix your problem.
For Redhat Linux 7.3 on the i386, the RPMs can be found in:
ftp://updates.redhat.com/7.3/en/os/i386/gcc-2.96-112.i386.rpm
ftp://updates.redhat.com/7.3/en/os/i386/cpp-2.96-112.i386.rpm
ftp://updates.redhat.com/7.3/en/os/i386/gcc-c++-2.96-112.i386.rpm
ftp://updates.redhat.com/7.3/en/os/i386/libstdc++-2.96-112.i386.rpm
ftp://updates.redhat.com/7.3/en/os/i386/libstdc++-devel-2.96-112.i386.rpm
ftp://updates.redhat.com/7.3/en/os/i386/gcc-objc-2.96-112.i386.rpm
ftp://updates.redhat.com/7.3/en/os/i386/gcc-g77-2.96-112.i386.rpm
ftp://updates.redhat.com/7.3/en/os/i386/gcc-chill-2.96-112.i386.rpm
ftp://updates.redhat.com/7.3/en/os/i386/gcc-java-2.96-112.i386.rpm
--
Nadav Har'El | Monday, Jul 29 2002, 20 Av 5762
[EMAIL PROTECTED] |-----------------------------------------
Phone: +972-53-245868, ICQ 13349191 |It's fortunate I have back luck - without
http://nadav.harel.org.il |it I would have no luck at all!
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]