HTML enabled hints cause crash if mouse pointer enters hint window
Original Reporter info from Mantis: ggeldenhuys
-
Reporter name: Graeme Geldenhuys
Original Reporter info from Mantis: ggeldenhuys
- Reporter name: Graeme Geldenhuys
Description:
How to reproduce:
Compile and install the turbopoweriprodsgn.lpk package. This will enable the HTML hint window in the source editor. Now create a new project, drop a TButton on the form and implement a OnClick event handler. Simply add a writeln() statement, and set a breakpoint to that line. Now run/debug that project, click the button to trigger the breakpoint. Now over the mouse of Sender. This will produce a large hint window. Move the mouse into the hint window, and the IDE crashes.
I'm using Lazarus 0.9.31 r32232 FPC 2.4.5 x86_64-linux-gtk 2.
Below is the backtrace information.
----------------------------------------------------
Program received signal SIGSEGV, Segmentation fault.
0x0000000000615ac0 in SYSTEM_TOBJECT_$__INHERITSFROM$TCLASS$$BOOLEAN ()
(gdb) bt
#0 0x0000000000615ac0 in SYSTEM_TOBJECT_$__INHERITSFROM$TCLASS$$BOOLEAN ()
#1 0x00000000006152cc in fpc_do_is ()
#2 0x00007ffff7e00050 in ?? ()
#3 0x00000000008f4f3d in DELIVERMESSAGE (TARGET=0x7fffea15c8d0,
AMESSAGE=@0x7fffffffd788) at lclmessageglue.pas:104
#4 0x00000000008a4ffb in DELIVERMESSAGE (TARGET=0x7fffea15c8d0,
AMESSAGE=@0x7fffffffd788)
at ../../../../lazarus/lcl/interfaces/gtk2/gtk2proc.inc:3628
#5 0x00000000008b1c17 in DELIVERMOUSEMOVEMESSAGE (WIDGET=0x229d100,
EVENT=0x20cd6a0, AWINCONTROL=0x7fffea15c8d0)
at ../../../../lazarus/lcl/interfaces/gtk2/gtk2callback.inc:1262
#6 0x00000000008b1f98 in GTKMOTIONNOTIFY (WIDGET=0x229d100, EVENT=0x20cd6a0,
DATA=0x7fffea15c8d0)
at ../../../../lazarus/lcl/interfaces/gtk2/gtk2callback.inc:1374
#7 0x00007ffff6f8a178 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#8 0x00007ffff69605de in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#9 0x00007ffff6974598 in ?? () from /usr/lib/libgobject-2.0.so.0
#10 0x00007ffff69758b9 in g_signal_emit_valist ()
from /usr/lib/libgobject-2.0.so.0
#11 0x00007ffff6976033 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#12 0x00007ffff70a10bf in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#13 0x00007ffff6f82643 in gtk_propagate_event ()
from /usr/lib/libgtk-x11-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#14 0x00007ffff6f8371b in gtk_main_do_event ()
from /usr/lib/libgtk-x11-2.0.so.0
#15 0x00007ffff6bf786c in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#16 0x00007ffff66b38c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#17 0x00007ffff66b7748 in ?? () from /lib/libglib-2.0.so.0
#18 0x00007ffff66b78fc in g_main_context_iteration ()
from /lib/libglib-2.0.so.0
#19 0x00000000007ce72e in APPWAITMESSAGE (this=0x7ffff7e01c30)
at ../../../../lazarus/lcl/interfaces/gtk2/gtk2widgetset.inc:2471
#20 0x000000000065a165 in IDLE (this=0x7ffff7e00050, WAIT=true)
at ../../../lazarus/lcl/include/application.inc:401
#21 0x000000000065c37c in HANDLEMESSAGE (this=0x7ffff7e00050)
at ../../../lazarus/lcl/include/application.inc:1265
#22 0x000000000065c851 in RUNLOOP (this=0x7ffff7e00050)
at ../../../lazarus/lcl/include/application.inc:1397
#23 0x00000000006d67f6 in APPRUN (this=0x7ffff7e01c30, ALOOP=...)
at ../../../lazarus/lcl/include/interfacebase.inc:60
#24 0x000000000065c7f7 in RUN (this=0x7ffff7e00050)
at ../../../lazarus/lcl/include/application.inc:1385
#25 0x0000000000606449 in main () at lazarus.pp:119
(gdb)
----------------------------------------------------