Hack "glhanoi" has an assertion failure.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xscreensaver (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Running "glhanoi -count 96" or higher causes an assertion failure:
glhanoi: glhanoi.c:504: update_glhanoi: Assertion `disk != ((void *)0)' failed.
This assertion failure reliably occurs after about 3.5 seconds of runtime. I am running xscreensaver 4.23-4ubuntu8 on Ubuntu Dapper, but the same message (different line number) appears with version 5.01 built from source.
With numbers over 96, it takes a different amount of time to fail, but it still does fail. It appears not to fail at all with count 95 or below.
I'm aware that no one in their right mind would run glhanoi with a count that high, but assertion failures are things that should never, ever occur, right?
This was emailed to jwz upstream back in late September, but no response was received.
I was able to generate the same output, with the addition of a core dump.