View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0025925 | Lazarus | IDE | public | 2014-03-27 10:44 | 2014-03-27 12:42 |
Reporter | Julio Jiménez Borreguero | Assigned To | Zeljan Rikalo | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Lazarus Trunk GTK2 | OS | Linux | ||
Summary | 0025925: Access Violation when editing a file (pressing a key) | ||||
Description | Changes in Lazarus trunk after rev. 44504 cause access violation when I try to edit a unit. If you press a key then AV is fired (not for Shift or Ctrl key) This happens every time using Lazarus SVN trunk (1.3) GTK2 + FPC Fixes (2.6.5) for i386 I have to revert back to rev 44503 to allow using Lazarus. | ||||
Tags | No tags attached. | ||||
Fixed in Revision | 44528 | ||||
LazTarget | - | ||||
Widgetset | GTK 2 | ||||
Attached Files |
|
|
The message for a clean 'make clean bigide': TApplication.HandleException Access violation Stack trace: $0806E7A8 $082B484E GTKKEYRELEASEAFTER, line 900 of gtk2callback.inc $B72FCB8E $09D57B48 |
|
44503 is a change in the QT interface. It cannot effect the GTK2 interface. Maybe you mean 44503 is safe and the AV is created by 44504? |
|
Yes.. 44503 is working fine. Probably is due change in 44504 $082B484E GTKKEYRELEASEAFTER, line 900 of gtk2callback.inc |
|
What is your gtk2 lib version ? Distro ? |
|
Tested under fedora gtk2.2.24 (32bit), ubuntu 10.04 64bit (gtk2-2.20.1) and it works fine in both cases. |
|
Same problem here Lazarus Revision 44527. openSUSE 12.2 (x86_64) gtk2-devel-2.24.10-3.1.2.x86_64 Program received signal SIGSEGV, Segmentation fault. 0x000000000066aa95 in fpc_do_is () Missing separate debuginfos, use: zypper install fontconfig-debuginfo-2.9.0-3.9.1.x86_64 glibc-debuginfo-2.15-22.17.1.x86_64 glibc-locale-debuginfo-2.15-22.17.1.x86_64 gtk2-engine-clearlooks-debuginfo-2.20.2-11.1.2.x86_64 libFLAC8-debuginfo-1.2.1-96.1.2.x86_64 libICE6-debuginfo-1.0.8-2.1.2.x86_64 libSM6-debuginfo-1.2.1-2.1.2.x86_64 libX11-6-debuginfo-1.5.0-2.7.1.x86_64 libX11-xcb1-debuginfo-1.5.0-2.7.1.x86_64 libXau6-debuginfo-1.0.7-2.1.2.x86_64 libXcomposite1-debuginfo-0.4.3-2.1.2.x86_64 libXcursor1-debuginfo-1.1.13-2.4.1.x86_64 libXdamage1-debuginfo-1.1.3-2.1.2.x86_64 libXext6-debuginfo-1.3.1-2.4.1.x86_64 libXfixes3-debuginfo-5.0-2.4.1.x86_64 libXi6-debuginfo-1.6.1-2.4.1.x86_64 libXinerama1-debuginfo-1.1.2-2.4.1.x86_64 libXrandr2-debuginfo-1.3.2-2.4.1.x86_64 libXrender1-debuginfo-0.9.7-2.4.1.x86_64 libXtst6-debuginfo-1.2.1-2.4.1.x86_64 libasound2-debuginfo-1.0.25-3.5.1.x86_64 libatk-1_0-0-debuginfo-2.4.0-2.1.2.x86_64 libcairo2-debuginfo-1.12.2-2.1.2.x86_64 libcanberra-gtk0-debuginfo-0.29-2.8.1.x86_64 libcanberra-gtk2-module-debuginfo-0.29-2.8.1.x86_64 libcanberra0-debuginfo-0.29-2.8.1.x86_64 libcap2-debuginfo-2.22-5.1.2.x86_64 libdbus-1-3-debuginfo-1.5.12-4.10.1.x86_64 libexpat1-debuginfo-2.1.0-2.4.1.x86_64 libffi47-debuginfo-4.7.1_20120723-1.1.1.x86_64 libfreetype6-debuginfo-2.4.9-4.4.1.x86_64 libgdk_pixbuf-2_0-0-debuginfo-2.26.1-2.1.4.x86_64 libgio-2_0-0-debuginfo-2.32.4-4.8.1.x86_64 libglib-2_0-0-debuginfo-2.32.4-4.8.1.x86_64 libgmodule-2_0-0-debuginfo-2.32.4-4.8.1.x86_64 libgobject-2_0-0-debuginfo-2.32.4-4.8.1.x86_64 libgstreamer-0_10-0-debuginfo-0.10.36-3.4.1.x86_64 libgthread-2_0-0-debuginfo-2.32.4-4.8.1.x86_64 libgtk-2_0-0-debuginfo-2.24.10-3.1.2.x86_64 libjson0-debuginfo-0.9-11.1.2.x86_64 libltdl7-debuginfo-2.4.2-5.1.2.x86_64 liblzma5-debuginfo-5.0.3-12.2.2.x86_64 libogg0-debuginfo-1.3.0-4.1.2.x86_64 libpango-1_0-0-debuginfo-1.30.1-1.1.2.x86_64 libpcre1-debuginfo-8.30-3.1.2.x86_64 libpixman-1-0-debuginfo-0.24.4-4.8.1.x86_64 libpng14-14-debuginfo-1.4.11-2.5.1.x86_64 libpulse0-debuginfo-1.1-6.4.1.x86_64 libselinux1-debuginfo-2.0.91-19.1.15.x86_64 libsndfile1-debuginfo-1.0.25-12.1.2.x86_64 libspeex1-debuginfo-1.1.999_1.2rc1-16.1.2.x86_64 libuuid1-debuginfo-2.21.2-4.5.1.x86_64 libvorbis0-debuginfo-1.3.3-1.1.2.x86_64 libvorbisenc2-debuginfo-1.3.3-1.1.2.x86_64 libvorbisfile3-debuginfo-1.3.3-1.1.2.x86_64 libxcb-render0-debuginfo-1.8.1-2.8.1.x86_64 libxcb-shm0-debuginfo-1.8.1-2.8.1.x86_64 libxcb1-debuginfo-1.8.1-2.8.1.x86_64 libxml2-2-debuginfo-2.7.8+git20120223-8.30.1.x86_64 tcpd-debuginfo-7.6-874.1.2.x86_64 zlib-debuginfo-1.2.7-2.1.2.x86_64 (gdb) bt #0 0x000000000066aa95 in fpc_do_is () 0000001 0x00007fffffffcb50 in ?? () warning: Range for type <error type> has invalid bounds 1..-1 <many times> 0000002 0x00000000009a7803 in HANDLEGTKKEYUPDOWN (AWIDGET=0x2c53c30, AEVENT=0x2c5aab0, ADATA=0x7fffda048b50, ABEFOREEVENT=false, AHANDLEDOWN=true, AEVENTNAME= 0x18e8448 'key-press-event') at gtk2/gtk2proc.inc:2313 0000003 0x00000000009bc892 in GTKKEYPRESSAFTER (WIDGET=0x2c53c30, EVENT=0x2c5aab0, DATA=0x7fffda048b50) at gtk2/gtk2callback.inc:890 0000004 0x00007ffff6f679d9 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0 0000005 0x00007ffff6936700 in g_closure_invoke () from /usr/lib64/libgobject-2.0.so.0 0000006 0x00007ffff6947986 in ?? () from /usr/lib64/libgobject-2.0.so.0 0000007 0x00007ffff694f2fb in g_signal_emit_valist () from /usr/lib64/libgobject-2.0.so.0 0000008 0x00007ffff694f872 in g_signal_emit () from /usr/lib64/libgobject-2.0.so.0 0000009 0x00007ffff707f53e in ?? () from /usr/lib64/libgtk-x11-2.0.so.0 0000010 0x00007ffff7093e9b in gtk_window_propagate_key_event () from /usr/lib64/libgtk-x11-2.0.so.0 0000011 0x00007ffff709680b in ?? () from /usr/lib64/libgtk-x11-2.0.so.0 0000012 0x00007ffff6f679d9 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0 0000013 0x00007ffff6936700 in g_closure_invoke () from /usr/lib64/libgobject-2.0.so.0 0000014 0x00007ffff69474f0 in ?? () from /usr/lib64/libgobject-2.0.so.0 0000015 0x00007ffff694f2fb in g_signal_emit_valist () from /usr/lib64/libgobject-2.0.so.0 0000016 0x00007ffff694f872 in g_signal_emit () from /usr/lib64/libgobject-2.0.so.0 0000017 0x00007ffff707f53e in ?? () from /usr/lib64/libgtk-x11-2.0.so.0 0000018 0x00007ffff6f65e47 in gtk_propagate_event () from /usr/lib64/libgtk-x11-2.0.so.0 0000019 0x00007ffff6f660cb in gtk_main_do_event () from /usr/lib64/libgtk-x11-2.0.so.0 0000020 0x00007ffff6bd1cbc in ?? () from /usr/lib64/libgdk-x11-2.0.so.0 0000021 0x00007ffff66783b5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 0000022 0x00007ffff66786e8 in ?? () from /usr/lib64/libglib-2.0.so.0 warning: Range for type <error type> has invalid bounds 1..-1 warning: Range for type <error type> has invalid bounds 1..-128 warning: Range for type <error type> has invalid bounds 1..-1 warning: Range for type <error type> has invalid bounds 1..-1 0000023 0x00007ffff66787a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 0000024 0x000000000088b2c1 in APPWAITMESSAGE (this=0x7ffff7f82a70) at gtk2/gtk2widgetset.inc:2408 0000025 0x00000000006bc6ac in IDLE (this=0x7ffff7f82350, WAIT=true) at include/application.inc:405 0000026 0x00000000006bf6d8 in HANDLEMESSAGE (this=0x7ffff7f82350) at include/application.inc:1258 0000027 0x00000000006bfe14 in RUNLOOP (this=0x7ffff7f82350) at include/application.inc:1390 0000028 0x0000000000738368 in APPRUN (this=0x7ffff7f82a70, ALOOP=...) at include/interfacebase.inc:54 0000029 0x00000000006bfd91 in RUN (this=0x7ffff7f82350) at include/application.inc:1378 warning: Range for type <error type> has invalid bounds 1..-1 0000030 0x00000000006598bd in main () at lazarus.pp:128 |
|
I can confirm this issue on Ubuntu 10.04 64bit. Problem is when you type text in non TCustomControl (eg in TEdit). That's why I haven't spotted it before. |
|
Please test and close if ok. |
|
All is fine now. Thanks! |
|
Fixed |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-03-27 10:44 | Julio Jiménez Borreguero | New Issue | |
2014-03-27 10:51 | Julio Jiménez Borreguero | Note Added: 0074002 | |
2014-03-27 10:52 | Mattias Gaertner | Note Added: 0074003 | |
2014-03-27 10:54 | Julio Jiménez Borreguero | Note Edited: 0074002 | View Revisions |
2014-03-27 10:56 | Julio Jiménez Borreguero | Note Added: 0074005 | |
2014-03-27 10:57 | Julio Jiménez Borreguero | Note Edited: 0074005 | View Revisions |
2014-03-27 11:06 | Mattias Gaertner | LazTarget | => - |
2014-03-27 11:06 | Mattias Gaertner | Description Updated | View Revisions |
2014-03-27 11:07 | Mattias Gaertner | Assigned To | => Zeljan Rikalo |
2014-03-27 11:07 | Mattias Gaertner | Status | new => assigned |
2014-03-27 11:51 | Zeljan Rikalo | Note Added: 0074007 | |
2014-03-27 11:51 | Zeljan Rikalo | Status | assigned => feedback |
2014-03-27 12:15 | Zeljan Rikalo | Note Added: 0074008 | |
2014-03-27 12:19 | theo | Note Added: 0074009 | |
2014-03-27 12:21 | Zeljan Rikalo | Note Added: 0074010 | |
2014-03-27 12:21 | Zeljan Rikalo | Status | feedback => confirmed |
2014-03-27 12:32 | Zeljan Rikalo | Fixed in Revision | => 44528 |
2014-03-27 12:32 | Zeljan Rikalo | Note Added: 0074011 | |
2014-03-27 12:32 | Zeljan Rikalo | Status | confirmed => resolved |
2014-03-27 12:32 | Zeljan Rikalo | Resolution | open => fixed |
2014-03-27 12:41 | Julio Jiménez Borreguero | Note Added: 0074012 | |
2014-03-27 12:42 | Julio Jiménez Borreguero | Note Added: 0074013 | |
2014-03-27 12:42 | Julio Jiménez Borreguero | Status | resolved => closed |