IDE crashes when moving a file in source editor to a new editor window.
Original Reporter info from Mantis: JuhaManninen @JuhaManninen
-
Reporter name: Juha Manninen
Original Reporter info from Mantis: JuhaManninen @JuhaManninen
- Reporter name: Juha Manninen
Description:
AnchorDocking is NOT installed.
Backtrace included in Additional Information.
THEGTKFONT and LONGFONTNAME look suspicious but I have not studied the code yet.
I tried to reproduce one more time but could not. This is one of the nasty ones that happen only sometimes for some people.
I try to reproduce again later. At least I got the backtrace with gdb.
Steps to reproduce:
- Open file tabs in a single editor window.
- From a tab's popup menu, select Move to New Window -> SIGFPE, Arithmetic exception (sometimes).
Additional information:
Program received signal SIGFPE, Arithmetic exception.
0x00000000004930d9 in RAISEGDBEXCEPTION (MSG=0x16321a8 'TGtkFontCache.Add TheGtkFont=nil') at lclproc.pas:902
902 if (length(Msg) div (length(Msg) div 10000))=0 then ;
(gdb) bt
#0 0x00000000004930d9 in RAISEGDBEXCEPTION (MSG=0x16321a8 'TGtkFontCache.Add TheGtkFont=nil') at lclproc.pas:902
#1 0x0000000000798615 in ADD (this=0x7ffff7fd59c0, THEGTKFONT=0x0, LOGFONT=..., LONGFONTNAME=0x7fffe5c6b358 '0') at gtk2/gtk2fontcache.pas:230
#2 0x0000000000798893 in ADDWITHOUTNAME (this=0x7ffff7fd59c0, THEGTKFONT=0x0) at gtk2/gtk2fontcache.pas:264
#3 0x00000000007960b8 in CREATEFONT (this=0x7fffe5ebe670) at gtk2/gtk2devicecontext.inc:850
#4 0x0000000000796469 in GETFONT (this=0x7fffe5ebe670) at gtk2/gtk2devicecontext.inc:932
#5 0x000000000066c3d1 in SELECTOBJECT (this=0x7ffff7f76a70, DC=140737050830448, GDIOBJ=140737182789312) at gtk2/gtk2winapi.inc:7868
#6 0x00000000005e2e84 in SELECTOBJECT (DC=140737050830448, GDIOBJ=140737182789312) at include/winapi.inc:915
#7 0x00000000005c7c03 in CREATEFONT (this=0x7fffe7d59160) at include/canvas.inc:248
#8 0x00000000005cd953 in REQUIREDSTATE (this=0x7fffe7d59160, REQSTATE=...) at include/canvas.inc:1706
#9 0x00000000005cd57b in GETHANDLE (this=0x7fffe7d59160) at include/canvas.inc:1597
#10 0x00000000006d72b7 in PAINTWINDOW (this=0x7fffe6563070, DC=140737051944464) at include/customcontrol.inc:122
#11 0x00000000006b6b81 in PAINTHANDLER (this=0x7fffe6563070, THEMESSAGE=...) at include/wincontrol.inc:4798
#12 0x00000000006bcbd7 in WMPAINT (this=0x7fffe6563070, MSG=...) at include/wincontrol.inc:6740
#13 0x00000000006d7226 in WMPAINT (this=0x7fffe6563070, MESSAGE=...) at include/customcontrol.inc:106
#14 0x000000000043269f in SYSTEM$_$TOBJECT_$__$$_DISPATCH$formal ()
Mantis conversion info:
- Mantis ID: 29195
- OS: Xubuntu
- OS Build: 15.10
- Platform: Linux
- Version: 1.7 (SVN)
- Target version: 1.6