|
[ icewm-Bugs-1573405 ] icewm segfault with qt-4.2 application: msg#00002window-managers.icewm.devel
Bugs item #1573405, was opened at 2006-10-09 02:43 Message generated for change (Comment added) made by captnmark You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100031&aid=1573405&group_id=31 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: icewm-1.2 Group: crash Status: Open >Resolution: Fixed Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) >Assigned to: Marko Macek (captnmark) Summary: icewm segfault with qt-4.2 application Initial Comment: Hi Thanks for your work on icewm! I'm learning how to program with Trolltech's Qt. Using the GPLed Qt 4.2.0 (http://www.trolltech.com/developer/downloads/qt/index), running the simple program attached makes icewm segfault. I compiled/linked it against Qt 4.2.0 using "qmake -project && qmake && make". Whenever I run it, the X server crashes with the message /usr/X11R6/lib/X11/xinit/xinitrc: line 28: 12113 Segmentation fault icewm This is happening on icewm 1.2.28 compiled with default compile and run-time options X.Org 6.9.0 Linux 2.4.31, glibc 2.3.5 g++ 3.3.6 Running gdb on this program only printed "program exited normally"; icewm crashed immediately after that message was shown. If I can provide more useful information let me know. Best, Juergen Lemke ---------------------------------------------------------------------- >Comment By: Marko Macek (captnmark) Date: 2006-11-12 09:26 Message: Logged In: YES user_id=1814 fixed in CVS ---------------------------------------------------------------------- Comment By: Eduard Bloch (thefirstone) Date: 2006-10-20 22:40 Message: Logged In: YES user_id=935104 The small attached change "fixes" the problem. However, the code is undocumented and I have no clue why it is there. Index: wmmgr.cc =================================================================== RCS file: /cvsroot/icewm/icewm-1.2/src/wmmgr.cc,v retrieving revision 1.104.2.30 diff -r1.104.2.30 wmmgr.cc 632c632 < #if 1 --- > #if 0 ---------------------------------------------------------------------- Comment By: Eduard Bloch (thefirstone) Date: 2006-10-20 22:25 Message: Logged In: YES user_id=935104 I can reproduce it as well and also with the current cdfly-0.3 application. Looking at the first gdb backtrace it looks like a stack overflow. Icewm is looping between: handleWindowEvent() (yxapp.cc:905) handleEvent() (ywindow.cc:617) The whole thing begins in handleXEvents(yxapp.cc:852) I cannot tell more for now, I am confused because handleEvent() (ywindow.cc:617) should run handleUnmapNotify(event.xunmap); which has no way to call handleEvent again, AFAICS. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100031&aid=1573405&group_id=31 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [ icewm-Bugs-1585084 ] QT4 applications shift all windows down when terminated: 00002, SourceForge.net |
|---|---|
| Next by Date: | [ icewm-Bugs-1564563 ] GIMP and IceWM freeze: 00002, SourceForge.net |
| Previous by Thread: | [ icewm-Bugs-1585084 ] QT4 applications shift all windows down when terminatedi: 00002, SourceForge.net |
| Next by Thread: | [ icewm-Bugs-1564563 ] GIMP and IceWM freeze: 00002, SourceForge.net |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |