#2 Infinite loop on Signal 11 during database location query

closed-fixed
nobody
None
5
2001-11-10
2000-01-28
Anonymous
No

I had just compiled the program and went to run it, and when I got the query about where the database was, I hit Ctrl-C to get out of the program. Instead it put me in an infinite loop, spitting out the following message until I killed the process:
Signal 11:SEGMENTATION ERROR
Darn, caught a signal. Email me if you get stuck. Tom
I don't know which is first, and which is second, because they scrolled off the screen too fast.
This signal should probably be caught and handled more cleanly, and possibly inform the user that pressing enter will simply exit the program.
Peter Kahle <pkahle@pobox.com>

Discussion

  • Peter M Kahle

    Peter M Kahle - 2000-01-28

    track

     
  • Matthew Emmerton

    This bug was fixed in version 1.3 of gedlib/xreffile.c

     
  • Marko Kohtala

    Marko Kohtala - 2000-09-23

    I'd guess this bug is still there in 3.0.5. Just start llines and press Ctrl-C when it asks for the database.

     
  • Petter Reinholdtsen

    The infinite loop no longer happends in the CVS version.
    Instead, it crashes with a core file when pressing Ctrl-C
    in the first dialog box. I'm not sure how this should be
    fixed. What should happend when the user press Ctrl-C in
    this dialog box?

     
  • Anonymous - 2001-11-10
    • status: open --> closed-fixed
     
  • Anonymous - 2001-11-10

    Logged In: YES
    user_id=60964

    I think this was the indexing into sig table with -1 offset
    bug, fixed in signal.c by myself in Jan 2001.

     

Log in to post a comment.

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

Sign up for the SourceForge newsletter:





No, thanks