Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#201 terminate called without an active exception: possibly wrong use of atexit

open
nobody
None
5
2013-07-21
2013-07-21
Markus Koschany
No

I am forwarding a Debian bug report that was filed against billard-gl but appears to be a regression in freeglut version 2.8.1.

http://bugs.debian.org/716720

Billard-gl crashes if you quit the game with the following message:

pure virtual method called
terminate called without an active exception
Aborted

The backtrace at http://bugs.debian.org/716720#15 reveals that the crash might be related to freeglut's use of the atexit handler. The issue is only reproducible in a virtual environment (Virtualbox, Ubuntu 13.04 / Debian Sid, llvmpipe) and happens only with version 2.8.1 but not with 2.6.0.

A similar bug was reported at https://bugs.freedesktop.org/show_bug.cgi?id=56542

A mesa developer claims that this is neither a bug in mesa but could be a possibly wrong use of atexit in freeglut.

Discussion