VICE home Knowledge Base - Article 21-003


[Bug] On startup, VICE dies with floating point exception


The information in this article applies to the following versions of VICE:

SYMPTOMS

If you start any VICE emulator, you always get the following log, and the emulator dies:

X11: Found 16bit/TrueColor visual
X11: Using private colormap
Floating point exception

If you compile VICE with debugging information and start it under control of gdb, you see a backtrace similar to the following:

(gdb) backtrace
#0 0x080e049a in vidmode_init () at vidmode.c:88
#1 0x080df07b in fullscreen_init () at fullscreen.c:166
#2 0x080e7dad in ui_init_finish () at x11ui.c:553
#3 0x080591ab in main_program (argc=1, argv=0xbffffaf4) at main.c:187
#4 0x080ddc6b in main (argc=0, argv=0x0) at unixmain.c:40

CAUSE

There is a problem with fullscreen support on some machines.

REMARK

You do not need to use the fullscreen option for this bug to strike. It is enough that VICE is compiled to support fullscreen!

WORKAROUND

Configure VICE without the option -enable-fullscreen before compiling it.

FIX

Noone yet.

STATUS

The VICE team has confirmed this to be a problem in the VICE versions listed at the beginning of this article.

REVISION

Last Reviewed: August 25, 2004