Cloning a file in editor and clicking the new window crashes Lazarus
Original Reporter info from Mantis: JuhaManninen @JuhaManninen
-
Reporter name: Juha Manninen
Original Reporter info from Mantis: JuhaManninen @JuhaManninen
- Reporter name: Juha Manninen
Description:
gdb backtrace included.
The number of windows open is not relevant. Just clone it and click the new window.
Tested with both QT and GTK2 bindings.
Built with -gl -gw -gh -Cr -Co
Linux Fedora 13 64-bit.
Additional information:
Program received signal SIGSEGV, Segmentation fault.
0x00000000008d3058 in HANDLEALLOCATED (this=0x0) at include/wincontrol.inc:7164
7164 HandleAllocated := (FHandle <> 0);
Missing separate debuginfos, use: debuginfo-install avahi-0.6.25-7.fc13.x86_64 cups-libs-1.4.4-11.fc13.x86_64 expat-2.0.1-10.fc13.x86_64 flac-1.2.1-6.fc12.x86_64 fontconfig-2.8.0-1.fc13.x86_64 freetype-2.3.11-7.fc13.x86_64 gnutls-2.8.6-2.fc13.x86_64 ibus-qt-1.3.0-3.fc13.x86_64 kdebase-workspace-4.5.4-1.fc13.x86_64 kdebase-workspace-libs-4.5.4-1.fc13.x86_64 keyutils-libs-1.2-6.fc12.x86_64 lcms-libs-1.19-1.fc13.x86_64 libXdmcp-1.0.3-3.fc13.x86_64 libXi-1.3.2-1.fc13.x86_64 libXinerama-1.1-2.fc13.x86_64 libXrandr-1.3.0-5.fc13.x86_64 libasyncns-0.8-1.fc13.x86_64 libgcrypt-1.4.5-4.fc13.x86_64 libgpg-error-1.7-1.fc13.x86_64 libicu-4.2.1-8.fc13.x86_64 libmng-1.0.10-4.fc12.x86_64 libogg-1.2.0-1.fc13.x86_64 libselinux-2.0.94-2.fc13.x86_64 libsndfile-1.0.20-5.fc13.x86_64 libtasn1-2.4-2.fc13.x86_64 libtiff-3.9.4-1.fc13.x86_64 libuuid-2.17.2-9.fc13.x86_64 libvorbis-1.3.1-1.fc13.x86_64 libxcb-1.5-1.fc13.x86_64 nss-softokn-freebl-3.12.8-1.fc13.x86_64 pulseaudio-libs-0.9.21-7.fc13.x86_64 pulseaudio-libs-glib2-0.9.21-7.fc13.x86_64 sqlite-3.6.22-1.fc13.x86_64 tcp_wrappers-libs-7.6-59.fc13.x86_64
(gdb) bt
#0 0x00000000008d3058 in HANDLEALLOCATED (this=0x0) at include/wincontrol.inc:7164
#1 0x0000000000cf8622 in DOINVALIDATE (this=0x7fffed153f00) at synpluginsyncroedit.pp:725
#2 0x0000000000cf873e in DOCARETCHANGED (this=0x7fffed153f00, SENDER=0x7fffe896bec0) at synpluginsyncroedit.pp:741
#3 0x00000000006e56d5 in CALLNOTIFYEVENTS (this=0x7fffe891bd00, SENDER=0x7fffe896bec0) at lclproc.pas:1527
#4 0x0000000000d3b71a in DOUNLOCK (this=0x7fffe896bec0) at syneditpointclasses.pas:666
#5 0x0000000000d3a1ff in UNLOCK (this=0x7fffe896bec0) at syneditpointclasses.pas:378
#6 0x0000000000d11115 in DODECPAINTLOCK (this=0x7fffe8d6e7d0, SENDER=0x7fffe8d6e7d0) at synedit.pp:1922
#7 0x00000000006e56d5 in CALLNOTIFYEVENTS (this=0x7fffe9cd2e00, SENDER=0x7fffe8d6e7d0) at lclproc.pas:1527
#8 0x0000000000d8bf87 in SENDNOTIFICATION (this=0x7ffff1ab5ca0, AREASON=SENRDECPAINTLOCK, ASENDER=0x7fffe8d6e7d0) at synedittextbuffer.pp:1138
#9 0x0000000000d89e67 in SETUPDATESTATE (this=0x7ffff1ab5ca0, UPDATING=false, SENDER=0x7fffe8d6e7d0) at synedittextbuffer.pp:966
#10 0x0000000000d332b7 in ENDUPDATE (this=0x7ffff1ab5ca0, SENDER=0x7fffe8d6e7d0) at synedittextbase.pas:462
#11 0x0000000000d10c3d in DECPAINTLOCK (this=0x7fffe8d6e7d0) at synedit.pp:1860
#12 0x0000000000d13eec in MOUSEDOWN (this=0x7fffe8d6e7d0, BUTTON=MBLEFT, SHIFT=8, X=346, Y=236) at synedit.pp:2779
#13 0x00000000008dde97 in DOMOUSEDOWN (this=0x7fffe8d6e7d0, MESSAGE=..., BUTTON=MBLEFT, SHIFT=0) at include/control.inc:1720
#14 0x00000000008de5e4 in WMLBUTTONDOWN (this=0x7fffe8d6e7d0, MESSAGE=...) at include/control.inc:1855
#15 0x00000000006ac385 in SYSTEM_TOBJECT_$__DISPATCH$formal ()
#16 0x00000000008de570 in ?? ()
#17 0x00007fffe8d6e7d0 in ?? ()
#18 0x000000000000002a in ?? ()
#19 0x0000000000000201 in ?? ()
#20 0x00007fffffffc690 in ?? ()
#21 0x00007fffe8d6e7d0 in ?? ()
#22 0x00007fffffffc690 in ?? ()
#23 0x0000000001cc9140 in _$SOURCESYNEDITOR$_Ld14 ()
#24 0x00007fffe8d6e7d0 in ?? ()
#25 0x00007fffe8d76db0 in ?? ()
#26 0x00007fffe8d76db0 in ?? ()
#27 0x00007fffe8d6e7d0 in ?? ()
#28 0x000000ec00000002 in ?? ()
#29 0x00000000008ddcd5 in WNDPROC (this=0x7fffe8d6e7d0, THEMESSAGE=...) at include/control.inc:1684
#30 0x00000000008cd570 in WNDPROC (this=0x7fffe8d6e7d0, MESSAGE=...) at include/wincontrol.inc:5241
#31 0x0000000000d21e9e in WNDPROC (this=0x7fffe8d6e7d0, MSG=...) at synedit.pp:5629
#32 0x00000000009bec47 in DELIVERMESSAGE (this=0x7fffe8d76db0, MSG=@0x7fffffffc690) at qtwidgets.pas:4383
#33 0x00000000009ba7b3 in SLOTMOUSE (this=0x7fffe8d76db0, SENDER=0x2c84180, EVENT=0x7fffffffcf50) at qtwidgets.pas:2778
#34 0x00000000009b89e2 in EVENTFILTER (this=0x7fffe8d76db0, SENDER=0x2c84180, EVENT=0x7fffffffcf50) at qtwidgets.pas:2153
#35 0x00000000009d2585 in EVENTFILTER (this=0x7fffe8d76db0, SENDER=0x2c84180, EVENT=0x7fffffffcf50) at qtwidgets.pas:11357
#36 0x00000000009d38b8 in VIEWPORTEVENTFILTER (this=0x7fffe8d89a10, EVENT=0x7fffffffcf50, RETVAL=0x7fffffffc8ff) at qtwidgets.pas:11750
#37 0x00007ffff7d555ed in QLCLAbstractScrollArea::viewportEvent (this=<value optimized out>, event=0x7fffe896bec0) at src/qlclabstractscrollarea.h:40
#38 0x00000034261531f7 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x2c84180, event=0x7fffed153f00)
at kernel/qcoreapplication.cpp:841
#39 0x0000003f61bab36c in QApplicationPrivate::notify_helper (this=0x20d4ed0, receiver=0x2c84180, e=0x7fffffffcf50) at kernel/qapplication.cpp:4302
#40 0x0000003f61bb1e2d in QApplication::notify (this=<value optimized out>, receiver=0xec, e=0x7fffffffcf50) at kernel/qapplication.cpp:3871
#41 0x0000003426153ddc in QCoreApplication::notifyInternal (this=0x20d4eb0, receiver=0x2c84180, event=0x7fffffffcf50) at kernel/qcoreapplication.cpp:726
#42 0x0000003f61bb101e in sendEvent (receiver=0x2c84180, event=0x7fffffffcf50, alienWidget=0x2c84180, nativeWidget=0x2beab90, buttonDown=0x3f6262f088,
lastMouseReceiver=..., spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:215
#43 QApplicationPrivate::sendMouseEvent (receiver=0x2c84180, event=0x7fffffffcf50, alienWidget=0x2c84180, nativeWidget=0x2beab90, buttonDown=0x3f6262f088,
lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2971
#44 0x0000003f61c23155 in QETWidget::translateMouseEvent (this=0x2beab90, event=<value optimized out>) at kernel/qapplication_x11.cpp:4380
#45 0x0000003f61c21acc in QApplication::x11ProcessEvent (this=0x20d4eb0, event=0x7fffffffd870) at kernel/qapplication_x11.cpp:3513
#46 0x0000003f61c4ab92 in x11EventSourceDispatch (s=0x20d90d0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#47 0x0000003edf83bd02 in g_main_dispatch (context=0x20d8120) at gmain.c:1960
#48 IA__g_main_context_dispatch (context=0x20d8120) at gmain.c:2513
#49 0x0000003edf83fae8 in g_main_context_iterate (context=0x20d8120, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2591
#50 0x0000003edf83fc9c in IA__g_main_context_iteration (context=0x20d8120, may_block=1) at gmain.c:2654
#51 0x0000003426179863 in QEventDispatcherGlib::processEvents (this=0x20c46b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#52 0x0000003f61c4a84e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>)
at kernel/qguieventdispatcher_glib.cpp:204
#53 0x000000342615631f in QCoreApplication::processEvents (flags=...) at kernel/qcoreapplication.cpp:918
#54 0x00007ffff7d0069f in QCoreApplication_processEvents (flags=<value optimized out>) at src/qcoreapplication_c.cpp:105
#55 0x0000000000916c46 in APPWAITMESSAGE (this=0x7ffff7b5def0) at qtobject.inc:250
#56 0x00000000006da00f in IDLE (this=0x7ffff7b5c350, WAIT=true) at include/application.inc:384
---Type <return> to continue, or q <return> to quit---
#57 0x00000000006dc8f1 in HANDLEMESSAGE (this=0x7ffff7b5c350) at include/application.inc:1230
#58 0x00000000006dd01e in RUNLOOP (this=0x7ffff7b5c350) at include/application.inc:1362
#59 0x0000000000916c28 in APPRUN (this=0x7ffff7b5def0, ALOOP=...) at qtobject.inc:233
#60 0x00000000006dcfa4 in RUN (this=0x7ffff7b5c350) at include/application.inc:1350
#61 0x000000000069c7f4 in main () at lazarus.pp:112
Mantis conversion info:
- Mantis ID: 18281
- Version: 0.9.29 (SVN)
- Fixed in version: 0.9.29 (SVN)
- Fixed in revision: 28794 (#caad22e1)
- Target version: 0.9.30