#140 floating point exception on startup

v1.0_(example)
closed-wont-fix
nobody
None
5
2015-01-12
2011-04-14
Anonymous
No

On platform `sparc-unknown-linux-gnu' on a startup a freshly installed xfe crashes with `floating point exception' error.
Here the bt from gdb:

(gdb) r
Starting program: /usr/local/bin/xfe
[Thread debugging using libthread_db enabled]
[New Thread 1024 (LWP 16178)]
[New Thread 2049 (Missing)]

Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread 2049 (LWP 16178)]
0x50553028 in FX::FXPopup::layout () from /usr/local/lib/libFOX-1.6.so.0
(gdb) bt
#0 0x50553028 in FX::FXPopup::layout () from /usr/local/lib/libFOX-1.6.so.0
#1 0x50628a18 in FX::FXWindow::resize () from /usr/local/lib/libFOX-1.6.so.0
#2 0x505917c4 in FX::FXShell::create () from /usr/local/lib/libFOX-1.6.so.0
#3 0x5053b9cc in FX::FXMenuTitle::create ()
from /usr/local/lib/libFOX-1.6.so.0
#4 0x50457fd0 in FX::FXComposite::create ()
from /usr/local/lib/libFOX-1.6.so.0
#5 0x50457fd0 in FX::FXComposite::create ()
from /usr/local/lib/libFOX-1.6.so.0
#6 0x50591744 in FX::FXShell::create () from /usr/local/lib/libFOX-1.6.so.0
#7 0x50608e34 in FX::FXTopWindow::create ()
from /usr/local/lib/libFOX-1.6.so.0
#8 0x5051f914 in FX::FXMainWindow::create ()
from /usr/local/lib/libFOX-1.6.so.0
#9 0x001c4fe4 in XFileExplorer::create () at XFileExplorer.cpp:1304
#10 0x5057d6dc in FX::FXRootWindow::create ()
from /usr/local/lib/libFOX-1.6.so.0
#11 0x5042ab48 in FX::FXApp::create () from /usr/local/lib/libFOX-1.6.so.0
#12 0x001dc838 in main (argc=1, argv=0x5042a8cc) at main.cpp:407

P.S. BTW is sparc supported? And may be this is libFOX bug, not xfe, please notify me, if it is true.

Discussion

  • lisp-hacker
    lisp-hacker
    2011-04-14

    xfe was compiled with CXXFLAGS=-O0 ./configure --enable-debug

     
  • Roland Baudin
    Roland Baudin
    2011-04-18

    Hi,
    I can't test Xfe under a Sparc platform and so I have no idea if it's an Xfe issue or a FOX issue...
    Sorry,
    RB

     
  • Roland Baudin
    Roland Baudin
    2015-01-12

    • status: open --> closed-wont-fix
    • Group: --> v1.0_(example)
     
  • Roland Baudin
    Roland Baudin
    2015-01-12

    This bug is old and the platform not supported, so I close it.