#83 SIGFPE trying to debug glutCreateWindow

open-works-for-me
nobody
nuisance (37)
2
2005-10-03
2005-10-03
No

I have a very simple program using freeglut, and I
tried to debug it. If I go past glutCreateWindow() I
get a SIGFPE exception. If I start the program normally
all is well.
I traced the error in freeglut_window.c line 407
(freeglut 2.4.0) in a call to glxCreateContext. I
couldn't determine exactly what caused the exception,
because I'm afraid im not yet an experienced programmer
enough to do so.

Please help! this is very annoying :(

Discussion

  • Alfred Bester

    Alfred Bester - 2005-10-03
    • status: open --> open-works-for-me
     
  • Alfred Bester

    Alfred Bester - 2005-10-03

    Logged In: YES
    user_id=1236871

    if I tell gdb to don't stop at signal SIGFPE the program
    continues as normal. But still, "why" this signal?

     
  • Alfred Bester

    Alfred Bester - 2005-10-03
    • priority: 5 --> 2
     
  • John F. Fay

    John F. Fay - 2006-09-21

    Logged In: YES
    user_id=70811

    Alfred,

    Can you upload a sample program that does this?

    - John

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks