Catching floating exceptions

I

Ian Collins

James said:
They do have to make it work within a browser, which is not
designed for this sort of thing. The only real problem I have
with it is that it keeps crashing Firefox.

James, you forgot to mention the gratuitous munting of your signature!
 
J

James Kanze

James Kanze wrote:
James, you forgot to mention the gratuitous munting of your signature!

Is it still doing it? I think that that was due to the way I'd
integrated vim into Firefox, and (I hope) I've fixed it (on all
of the machines I use).
 
D

Default User

James said:
They do have to make it work within a browser, which is not
designed for this sort of thing.

But that's nothing new. Several of the news services provide web
versions of news readers.

There's no excuse for that - Hide Quoted Text - business. Also no
excuse for not auto-trimming .sigs.

The only real problem I have
with it is that it keeps crashing Firefox.

I haven't had any problem with that, but I haven't used Google to post
much in a couple years.
This is obviously a
bug in Firefox (a program shouldn't crash, no matter what it is
sent), but the problem only occurs when I'll reading news
through Google (and then only when I'm running it with a remote
X server---for various reasons, the only way I can access news
at this site is through Google, using Firefox running on a Linux
box, addressing an X server on a Sparc under Solaris).

Oh.




Brian
 
D

Default User

James said:
Is it still doing it?
Yep.

I think that that was due to the way I'd
integrated vim into Firefox, and (I hope) I've fixed it (on all
of the machines I use).
Nope.

--
James Kanze (GABI Software) email:[email protected]
Conseils en informatique orientie objet/
Beratung in objektorientierter Datenverarbeitung
9 place Simard, 78210 St.-Cyr-l'Icole, France, +33 (0)1 30 23 00 34




Brian
 
G

Generic Usenet Account

Thanks to all of you who proposed using setjmp and longjmp, in
conjunction with SIGFPE for handling floating exceptions. It was a
little more involved than I thought due to getting into an infinite
loop, with the signal handler being called endlessly called once the
SIG_FPE exception occurs. I have posted my implementation to
comp.sources.d.

Unfortunately this solution is not fully platform neutral since it
relies on signals.

I am really waiting to see the day when the C++ standard adopts a
consistent way for handling floating point exceptions.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,294
Messages
2,571,509
Members
48,195
Latest member
Tomjerry

Latest Threads

Top