Summary: | x11-libs/fltk-1.3.0-r1 - fluid: Floating point exception (integer division) in src/Fl_Text_Display.cxx:339 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | jstein |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
strace -o strace.out fluid 2>&1
strace -s100 -o strace.log fluid |
Description
Toralf Förster
2013-08-11 21:12:24 UTC
Created attachment 355716 [details]
strace -o strace.out fluid 2>&1
Could you please attach a gdb backtrace? strace's output is of little to no use here. tfoerste@n22 ~ $ gdb fluid GNU gdb (Gentoo 7.5.1 p2) 7.5.1 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". For bug reporting instructions, please see: <http://bugs.gentoo.org/>... Reading symbols from /usr/bin/fluid...Reading symbols from /usr/lib/debug/usr/bin/fluid.debug...done. done. (gdb) run Starting program: /usr/bin/fluid warning: Could not load shared library symbols for linux-gate.so.1. Do you need "set solib-search-path" or "set sysroot"? [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/libthread_db.so.1". Program received signal SIGFPE, Arithmetic exception. 0xb7f247bd in Fl_Text_Display::resize (this=0x80ceb80, X=12, Y=12, W=<optimized out>, H=371) at Fl_Text_Display.cxx:339 339 Fl_Text_Display.cxx: No such file or directory. (gdb) bt #0 0xb7f247bd in Fl_Text_Display::resize (this=0x80ceb80, X=12, Y=12, W=<optimized out>, H=371) at Fl_Text_Display.cxx:339 #1 0xb7f2146e in Fl_Text_Display::buffer_modified_cb (pos=0, nInserted=0, nDeleted=0, nRestyled=0, deletedText=0x0, cbArg=0x80ceb80) at Fl_Text_Display.cxx:1480 #2 0xb7f218dc in Fl_Text_Display::buffer (this=0x80ceb80, buf=0x80cee08) at Fl_Text_Display.cxx:214 #3 0x0807babc in make_shell_window () at alignment_panel.cxx:372 #4 0x08089f40 in make_main_window () at fluid.cxx:1817 #5 0x08059cb3 in main (argc=1, argv=0xbfffec54) at fluid.cxx:2386 (gdb) quit A debugging session is active. Inferior 1 [process 30393] will be killed. Quit anyway? (y or n) y src/Fl_Text_Display.cxx:339: int nvlines = (text_area.h + mMaxsize - 1) / mMaxsize; It would be interesting to find out which font it is trying to use. From the strace output, that would appear to be adobe-helvetica-medium-r-normal which would indicate media-fonts/font-adobe-*dpi... (In reply to Jeroen Roovers from comment #4) > src/Fl_Text_Display.cxx:339: int nvlines = (text_area.h + mMaxsize - 1) / > mMaxsize; > > It would be interesting to find out which font it is trying to use. From the > strace output, that would appear to be adobe-helvetica-medium-r-normal which > would indicate media-fonts/font-adobe-*dpi... Ah, and I do not have any media-fonts/font-adobe* installed ... (In reply to Toralf Förster from comment #5) > (In reply to Jeroen Roovers from comment #4) > > src/Fl_Text_Display.cxx:339: int nvlines = (text_area.h + mMaxsize - 1) / > > mMaxsize; > > > > It would be interesting to find out which font it is trying to use. From the > > strace output, that would appear to be adobe-helvetica-medium-r-normal which > > would indicate media-fonts/font-adobe-*dpi... > > Ah, and I do not have any media-fonts/font-adobe* installed ... No problem. The last syscall is a recv on a socket connecting to the X server. You might need to do some more digging into the server's font configuration to see if it sends an invalid font height. Setting strace -s100 might help obtain the full string the server sent... Created attachment 359192 [details]
strace -s100 -o strace.log fluid
well - here it is
|