can't catch exceptions on shared libs

krahmer@cs.uni-potsdam.de krahmer@cs.uni-potsdam.de
Wed Jan 3 03:13:00 GMT 2001


Hi,

First of all, I wanted to report this bug via your GNATS
webinterface, but somehow it required 1) Cookies and 2) a login.
So I send it this way.

originator:

Sebastian Krahmer

Release:

Reading specs from /usr/lib/gcc-lib/i486-suse-linux/2.95.2/specs
gcc version 2.95.2 19991024 (release)

Description:

Just can't catch exception thrown from within shared libraries.

Severity:

serious (at least for me:)

Environment:

x86 SuSE linux 7.0

How to repeat:

Appended is a short tarball which demonnstrates the problem.
On static linked executables I am able to catch any exceptions,
but on shared libs it failes. Wasn't able to determine whether
this is a compiler or a linker problem.
'make static' creates 'cs' binary, 'make shared' a.out binary.
Please dont forget to type LD_LIBRARY_PATH=`pwd` before
executing a.out.

Sebastian

begin 644 t.tgz
M'XL(`,<"0CH``^V7P6O;,!3&??7[*Q[-6!U*@F(["33N#BN#]5#8T;?@RC(6
M<^TB*5M&R?[VO;B-S2@CESEA[/TNEJ5/EA#^WF>[TC3?IU)Z`R)F0BSBV!/$
M<O'[M64Q]\0R#$5,RGE(^C`.8P_%D)LZL+$N,XB>=2JK7/E'W;'Q?Y21KF6U
MR15>J.VTO`#XUN@<BV",;O]F!.D8GL%OVY@&XQ7L`.#<FV;^&C)SLCRS_\,P
M[/T?Q7O_1]&"_7\*.O\GNK'.J.SQ`[RI"6KKE*GQ36E8`>C:X6.FZ^"E3I@?
M2!>?1"L?_!VVKQ<&*;[?CML1J8Q)DNW4)HFJ\VI%(O"-<AMZOFBKR[E/Y/_B
M/ONJ"EVI(=<XZO^HRW\1+T6;_S/._Y-PFZ8W\NH*Z!2<EM?@OPNHZ]7BE`MX
M"`B<-"@M@"TSH_)>.*&1XLO=;3^#A"_M!OPJQ\G'=DKV4*E#?R^Q3?>@;J%N
MA$O!\.PK_-!K'//_+.[SGZ*?]+-Y%++_3\%(%W6N"EQ_2M>?US"BMJ[5X19D
ME5F+*3XC/&T>JK9"2+(S6DIN\.F/`*_1!I?I)<4[)?G/?0\U=O1I,**`UP6;
>F&$8AF$8AF$8AF$8AF$8AF$8YJ3\`J(X)X``*```
`
end



More information about the Gcc-bugs mailing list