Re: Mozilla & Indy (and other stuff)
On Sat, Nov 24, 2001 at 11:15:12PM +0100, Krzysztof Krzyzaniak wrote:
[..snip..]
> BTW several programs crashes on my Indy i.e. menu packages, konqueror,
> emacs21, xemacs:
Could you check the source code if these packages crash while messing
with C++ exceptions? I just had a quick look into the menu package and
it seems that C++ exception handling is broken on mips using g++-2.95.4.
A testcase like:
#include <iostream.h>
#include <string>
class ferror_open {
int a;
public:
ferror_open():a(2){};
int message(){
return a;
};
};
int main()
{
try {
throw ferror_open();
} catch(ferror_open d){ cout << d.message() << endl;};
}
causes a segfault while working as expected when using g++ 3.0.2. I don't
know how exceptions are implemented in g++. Some helpfull pointers are
*greatly* appreciated. Should we try to fix this in 2.95.4 or switch to
3.0.2 for the affected packages?
-- Guido
P.S.: I'm cc'ing debian-gcc. Maybe we can get some helpfull pointers
from there.
Reply to: