Recent

Author Topic: Updated to KDE 4.5.2 now Apps Crash  (Read 15091 times)

sfeinst

  • Full Member
  • ***
  • Posts: 186
Updated to KDE 4.5.2 now Apps Crash
« on: October 11, 2010, 12:29:53 am »
I use PCLinuxOS.  The latest update installed KDE 4.5.2 (if there's more to a version number, let me know the command and I will update with accurate information).  Since doing that, all my Lazarus apps built for qt crash.  I had to rebuild Lazarus for gtk2 in order to get it to load.  Some of my apps crash right away, some take a couple of clicks on the UI.

I downloaded the latest SVN build and am using that not the packaged Lazarus that comes with PCLOS (since it is an older version of freepascal and Lazarus).

Does the LCL need to be updated or is there some build option I can use to have this work?

Thanks for any pointers.

zeljko

  • Hero Member
  • *****
  • Posts: 1054
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Updated to KDE 4.5.2 now Apps Crash
« Reply #1 on: October 11, 2010, 06:12:22 am »
Please provide more details about your installation:
1.Is is 32 or 64 bit ?
2.What's qt version ?
3.What's KDE theme ? -> try to start lazarus without startlazarus command from terminal .... like
./lazarus -style plastique and see if it crash in that case.
4.Provide some debug info

sfeinst

  • Full Member
  • ***
  • Posts: 186
Re: Updated to KDE 4.5.2 now Apps Crash
« Reply #2 on: October 12, 2010, 12:55:31 am »
1. 32 bit
2. 4.7.0
3. Oxygen is my current theme, if I don't use startlazarus and pass plastique, it doesn't crash.  If I pass oxygen instead of plastique, it crashes.
4.
Here's what appears on the terminal when it crashes:
[steve@localhost lazarus]$ ./lazarus -style oxygen
TMainIDE.ParseCmdLineOptions:
  PrimaryConfigPath="/home/steve/.lazarus"
  SecondaryConfigPath="/etc/lazarus"
TMainIDE.DoLoadLFM Creating designer for hidden component of /home/steve/data/code/pascal/rgxrename/frmrename.pas
TMainIDE.DoOpenProjectFile RenameForm:TRenameForm TDesigner
TApplication.HandleException Access violation
  Stack trace:
  $B5818188
QWidget::repaint: Recursive repaint detected
lazarus.pp - unhandled exception
QPaintDevice: Cannot destroy paint device that is being painted
[TMainIDE.Destroy] A
[TMainIDE.Destroy] B  -> inherited Destroy... TMainIDE
[TMainIDE.Destroy] END

zeljko

  • Hero Member
  • *****
  • Posts: 1054
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Updated to KDE 4.5.2 now Apps Crash
« Reply #3 on: October 12, 2010, 06:01:38 am »
Thanks for info, but debug output isn't good.Please do next:
Rebuild lazarus with -g and then start lazarus via gdb:
gdb ./lazarus
run
**when error occurs write bt and press enter.
Now copy complete backtrace from terminal here.

zeljko

  • Hero Member
  • *****
  • Posts: 1054
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Updated to KDE 4.5.2 now Apps Crash
« Reply #4 on: October 12, 2010, 06:57:23 am »
Forget about my last comment. I've just installed PCLinuxOS and doing update to kde-4.5.2, so I'll debug problem (and probably fix).

zeljko

  • Hero Member
  • *****
  • Posts: 1054
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Updated to KDE 4.5.2 now Apps Crash
« Reply #5 on: October 12, 2010, 09:41:46 am »
This is backtrace:
NOTE: editor options config file not found - using defaults
NOTE: codetools config file not found - using defaults
NOTE: help options config file not found - using defaults
TMainIDE.DoNewProject A

Program received signal SIGSEGV, Segmentation fault.
0xb5f4b188 in ?? () from /usr/lib/libQtGui.so.4
(gdb) bt
#0  0xb5f4b188 in ?? () from /usr/lib/libQtGui.so.4
#1  0xb619095a in ?? () from /usr/lib/libQtGui.so.4
#2  0xb6185ecb in ?? () from /usr/lib/libQtGui.so.4
#3  0xb61861ee in ?? () from /usr/lib/libQtGui.so.4
#4  0xb6156ca9 in ?? () from /usr/lib/libQtGui.so.4
#5  0xb61202d6 in ?? () from /usr/lib/libQtGui.so.4
#6  0xb616b13c in ?? () from /usr/lib/libQtGui.so.4
#7  0xb60c60bd in QPaintEngineEx::draw(QVectorPath const&) ()
   from /usr/lib/libQtGui.so.4
#8  0xb60c63cc in QPaintEngineEx::drawPath(QPainterPath const&) ()
   from /usr/lib/libQtGui.so.4
#9  0xb60dea61 in QPainter::drawPath(QPainterPath const&) ()
   from /usr/lib/libQtGui.so.4
#10 0xb60d8ae7 in ?? () from /usr/lib/libQtGui.so.4
#11 0xb60d9e65 in QPainter::drawLines(QLineF const*, int) ()
   from /usr/lib/libQtGui.so.4
#12 0xb3f21e70 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#13 0xb3f22d6d in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#14 0xb3f17b56 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#15 0xb485ec48 in KStyle::drawControl(QStyle::ControlElement, QStyleOption const*, QPainter*, QWidget const*) const () from /usr/lib/libkdeui.so.5
#16 0xb3f31be9 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#17 0xb62dc71e in QCommonStyle::drawComplexControl(QStyle::ComplexControl, QStyleOptionComplex const*, QPainter*, QWidget const*) const ()
   from /usr/lib/libQtGui.so.4
#18 0xb485aabf in KStyle::drawComplexControl(QStyle::ComplexControl, QStyleOptionComplex const*, QPainter*, QWidget const*) const ()
   from /usr/lib/libkdeui.so.5
#19 0xb3f12cec in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#20 0xb64437f0 in QScrollBar::paintEvent(QPaintEvent*) ()
   from /usr/lib/libQtGui.so.4
#21 0xb5fb4b77 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#22 0xb63932a3 in QAbstractSlider::event(QEvent*) ()
   from /usr/lib/libQtGui.so.4
---Type <return> to continue, or q <return> to quit---
#23 0xb64441e9 in QScrollBar::event(QEvent*) () from /usr/lib/libQtGui.so.4
#24 0xb5f5432c in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /usr/lib/libQtGui.so.4
#25 0xb5f5c2b8 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libQtGui.so.4
#26 0xb5bcb86e in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /usr/lib/libQtCore.so.4
#27 0xb5fbe43c in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#28 0xb5fbf1d9 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#29 0xb5fbe188 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#30 0xb5fbf1d9 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#31 0xb5fbf017 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#32 0xb5fbe188 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#33 0xb5fbf1d9 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#34 0xb5fbe188 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#35 0xb5fbf1d9 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#36 0xb5fbe188 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#37 0xb5fbf1d9 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBacki---Type <return> to continue, or q <return> to quit---
ngStore*) () from /usr/lib/libQtGui.so.4
#38 0xb5fbf017 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#39 0xb5fbe188 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#40 0xb5fbf1d9 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#41 0xb5fbe188 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#42 0xb5fbf1d9 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#43 0xb5fbe188 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#44 0xb61b91d2 in ?? () from /usr/lib/libQtGui.so.4
#45 0xb5fadd4b in QWidgetPrivate::syncBackingStore() ()
   from /usr/lib/libQtGui.so.4
#46 0xb5fdc7a0 in ?? () from /usr/lib/libQtGui.so.4
#47 0xb5fe9526 in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib/libQtGui.so.4
#48 0xb6017830 in ?? () from /usr/lib/libQtGui.so.4
#49 0xb57505de in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#50 0xb5754458 in ?? () from /usr/lib/libglib-2.0.so.0
#51 0xb57545fe in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#52 0xb5bfaff1 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#53 0xb60170fa in ?? () from /usr/lib/libQtGui.so.4
#54 0xb5bcff93 in QCoreApplication::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#55 0xb7ee6043 in QCoreApplication_processEvents (flags=0)
    at src/qcoreapplication_c.cpp:105

zeljko

  • Hero Member
  • *****
  • Posts: 1054
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Updated to KDE 4.5.2 now Apps Crash
« Reply #6 on: October 12, 2010, 10:18:42 am »
Scrollbars are killing app. Scrollbars are shown inside paintEvent of TCustomControl (eg. TTreeView, TSynEdit etc..), and that works ok for all themes except for kde-4.5.2 oxygen -> raises av about recursive paint event.

sfeinst

  • Full Member
  • ***
  • Posts: 186
Re: Updated to KDE 4.5.2 now Apps Crash
« Reply #7 on: October 12, 2010, 01:00:53 pm »
zeljko,

Thank you for looking into this as I do not have any knowledge debugging at that level.  Let me know if you want me to do anything (unfortunately can only look into things when at home).

Out of curiosity, is this something that the creators of the Oxygen theme did that was unconventional (I am not familair with how KDE themes are built) or is it just something the Lazarus QT LCL did not consider as a possibility?

zeljko

  • Hero Member
  • *****
  • Posts: 1054
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Updated to KDE 4.5.2 now Apps Crash
« Reply #8 on: October 12, 2010, 01:31:12 pm »
1. Found one problem and fixed (TQtCustomControl's doesn't like showing of scrollbars inside paintevent - only under oxygen).

2. SynEdit constantly crashes (imediatelly), but could not find why or where yet (must extend debug info in qtlcl first  so then I'll know more).

3.Don't expect fast fix since I don't have enough spare time to dig into (especially because I'm using PCLinuxOS under vmware so it isn't so fast).

4.In the meantime, use lazarus with original qt styles eg. -style plastique, or run qtconfig-qt4 and set default style for qt4 apps (then you can run lazarus from desktop via startlazarus).

ADDON: It doesn't crash when running via valgrind.I have problem with mentioned distribution since there's no debuginfo packages for qt and others, so cannot debug it properly.


« Last Edit: October 12, 2010, 04:12:41 pm by zeljko »

zeljko

  • Hero Member
  • *****
  • Posts: 1054
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Updated to KDE 4.5.2 now Apps Crash
« Reply #9 on: October 13, 2010, 06:44:43 pm »
At least got good gdb output (Fedora 13 KDE-4.4 with oxygen + Qt-4.7 build from koji.fedoraproject.org ).Don't know who's guilty in this case but qtlcl is definitely not , but think that qt-4.7 is buggy here, and I hope that 4.7.1 will fix this problem (maybe it's already fixed in qt-4.7.1 git repo).
NOTE that pure scrollbar on form crashes complete app.

Program received signal SIGSEGV, Segmentation fault.
comp_func_SourceOver_sse2 (destPixels=0x932c8a0, srcPixels=<value optimized out>, length=92, const_alpha=254)
    at painting/qdrawhelper_sse2.cpp:317
317           BLEND_SOURCE_OVER_ARGB32_WITH_CONST_ALPHA_SSE2(dst, src, length, nullVector, half, one, colorMask, constAlphaVector);
(gdb) bt
#0  comp_func_SourceOver_sse2 (destPixels=0x932c8a0, srcPixels=<value optimized out>, length=92, const_alpha=254)
    at painting/qdrawhelper_sse2.cpp:317
#1  0x0230c8b2 in process (count=2, spans=0xbfff9da0, data=0x9328378, handler=...) at painting/qdrawhelper.cpp:3327
#2  handleSpans<BlendSrcGeneric<(SpanMethod)0> > (count=2, spans=0xbfff9da0, data=0x9328378, handler=...) at painting/qdrawhelper.cpp:3273
#3  0x02303f79 in blend_src_generic<(SpanMethod)0> (count=2, spans=0xbfff9da0, userData=0x9328378) at painting/qdrawhelper.cpp:3345
#4  0x0230426d in qt_gradient_quint32 (count=2, spans=0xbfff9da0, userData=0x9328378) at painting/qdrawhelper.cpp:6932
#5  0x022d5568 in qt_span_fill_clipRect (count=<value optimized out>, spans=0xbfff9da0, userData=0x9328378)
    at painting/qpaintengine_raster.cpp:4835
#6  0x022a19d1 in flushSpans (this=0x90c5488, a=..., b=..., width=<value optimized out>, squareCap=2) at painting/qrasterizer.cpp:105
#7  ~QSpanBuffer (this=0x90c5488, a=..., b=..., width=<value optimized out>, squareCap=2) at painting/qrasterizer.cpp:80
#8  QRasterizer::rasterizeLine (this=0x90c5488, a=..., b=..., width=<value optimized out>, squareCap=2) at painting/qrasterizer.cpp:1137
#9  0x022e8a79 in QRasterPaintEngine::stroke (this=0x93b42c8, path=..., pen=...) at painting/qpaintengine_raster.cpp:1743
#10 0x0224d4fe in QPaintEngineEx::draw (this=0x93b42c8, path=...) at painting/qpaintengineex.cpp:601
#11 0x0224d836 in QPaintEngineEx::drawPath (this=0x93b42c8, path=...) at painting/qpaintengineex.cpp:846
#12 0x02265240 in QPainter::drawPath (this=0xbfffabb0, path=...) at painting/qpainter.cpp:3381
#13 0x0225f2be in QPainterPrivate::draw_helper (this=0x93abbf8, originalPath=..., op=QPainterPrivate::StrokeDraw) at painting/qpainter.cpp:471
#14 0x02260581 in QPainter::drawLines (this=0xbfffc6c0, lines=0xbfffadcc, lineCount=1) at painting/qpainter.cpp:4657

#15 0x0346cb3b in drawLine (this=0x8fa4670, p=0xbfffc6c0, r=..., pal=..., orientation=Qt::Horizontal, hover=false, opacity=-1)
    at /usr/include/QtGui/qpainter.h:534
#16 drawLine (this=0x8fa4670, p=0xbfffc6c0, r=..., pal=..., orientation=Qt::Horizontal, hover=false, opacity=-1)
    at /usr/include/QtGui/qpainter.h:556
#17 OxygenStyle::renderScrollBarHandle (this=0x8fa4670, p=0xbfffc6c0, r=..., pal=..., orientation=Qt::Horizontal, hover=false, opacity=-1)
    at /usr/src/debug/kdebase-runtime-4.4.5/kstyles/oxygen/oxygen.cpp:4400
---Type <return> to continue, or q <return> to quit---
#18 0x0346d702 in renderScrollBarHandle (this=0x8fa4670, primitive=9, opt=0xbfffbc48, r=..., pal=..., flags=..., p=0xbfffc6c0, widget=
    0x9171120, kOpt=0x0) at /usr/src/debug/kdebase-runtime-4.4.5/kstyles/oxygen/oxygen.h:293
#19 OxygenStyle::drawScrollBarPrimitive (this=0x8fa4670, primitive=9, opt=0xbfffbc48, r=..., pal=..., flags=..., p=0xbfffc6c0, widget=
    0x9171120, kOpt=0x0) at /usr/src/debug/kdebase-runtime-4.4.5/kstyles/oxygen/oxygen.cpp:1597
#20 0x0345b7aa in OxygenStyle::drawKStylePrimitive (this=0x8fa4670, widgetType=KStyle::WT_ScrollBar, primitive=9, opt=0xbfffbc48, r=...,
    palette=..., flags=..., p=0xbfffc6c0, widget=0x9171120, kOpt=0x0) at /usr/src/debug/kdebase-runtime-4.4.5/kstyles/oxygen/oxygen.cpp:762
#21 0x06716486 in KStyle::drawControl (this=0x8fa4670, element=QStyle::CE_ScrollBarSlider, option=0xbfffbc48, p=0xbfffc6c0, widget=0x9171120)
    at /usr/src/debug/kdelibs-4.4.5/kdeui/kernel/kstyle.cpp:2266
#22 0x03464916 in OxygenStyle::drawControl (this=0x8fa4670, element=QStyle::CE_ScrollBarSlider, option=0xbfffbc48, p=0xbfffc6c0, widget=
    0x9171120) at /usr/src/debug/kdebase-runtime-4.4.5/kstyles/oxygen/oxygen.cpp:641
#23 0x02446cbd in QCommonStyle::drawComplexControl (this=0x8fa4670, cc=QStyle::CC_ScrollBar, opt=0xbfffc658, p=0xbfffc6c0, widget=0x9171120)
    at styles/qcommonstyle.cpp:3237
#24 0x067124fd in KStyle::drawComplexControl (this=0x8fa4670, cc=QStyle::CC_ScrollBar, opt=0xbfffc658, p=0xbfffc6c0, w=0x9171120)
    at /usr/src/debug/kdelibs-4.4.5/kdeui/kernel/kstyle.cpp:3591
#25 0x0345c1f9 in OxygenStyle::drawComplexControl (this=0x8fa4670, control=QStyle::CC_ScrollBar, option=0xbfffc658, painter=0xbfffc6c0, widget=
    0x9171120) at /usr/src/debug/kdebase-runtime-4.4.5/kstyles/oxygen/oxygen.cpp:303
#26 0x0259c619 in QScrollBar::paintEvent (this=0x9171120) at widgets/qscrollbar.cpp:566
#27 0x0215206b in QWidget::event (this=0x9171120, event=0xbfffcc58) at kernel/qwidget.cpp:8333
#28 0x024fb7a5 in QAbstractSlider::event (this=0x9171120, e=0xbfffcc58) at widgets/qabstractslider.cpp:942
#29 0x0259d078 in QScrollBar::event (this=0x9171120, event=0xbfffcc58) at widgets/qscrollbar.cpp:546
#30 0x020ff3bc in QApplicationPrivate::notify_helper (this=0x8f67a08, receiver=0x9171120, e=0xbfffcc58) at kernel/qapplication.cpp:4396
#31 0x02105a01 in QApplication::notify (this=0x8f679f8, receiver=0x9171120, e=0xbfffcc58) at kernel/qapplication.cpp:4361
#32 0x0039eba3 in QCoreApplication::notifyInternal (this=0x8f679f8, receiver=0x9171120, event=0xbfffcc58) at kernel/qcoreapplication.cpp:732
---Type <return> to continue, or q <return> to quit---
#33 0x02158807 in sendSpontaneousEvent (this=0x9218840, pdev=0x91e9e5c, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=
    0x91f33f8) at ../../src/corelib/kernel/qcoreapplication.h:218
#34 QWidgetPrivate::drawWidget (this=0x9218840, pdev=0x91e9e5c, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x91f33f8)
    at kernel/qwidget.cpp:5420
#35 0x02159612 in QWidgetPrivate::paintSiblingsRecursive (this=0x92186e0, pdev=0x91e9e5c, siblings=..., index=<value optimized out>, rgn=...,
    offset=..., flags=4, sharedPainter=0x0, backingStore=0x91f33f8) at kernel/qwidget.cpp:5627
#36 0x02158551 in QWidgetPrivate::drawWidget (this=0x92186e0, pdev=0x91e9e5c, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=
    0x91f33f8) at kernel/qwidget.cpp:5473
#37 0x02159612 in QWidgetPrivate::paintSiblingsRecursive (this=0x92181e0, pdev=0x91e9e5c, siblings=..., index=<value optimized out>, rgn=...,
    offset=..., flags=4, sharedPainter=0x0, backingStore=0x91f33f8) at kernel/qwidget.cpp:5627
#38 0x02159449 in QWidgetPrivate::paintSiblingsRecursive (this=0x92181e0, pdev=0x91e9e5c, siblings=..., index=1, rgn=..., offset=..., flags=4,
    sharedPainter=0x0, backingStore=0x91f33f8) at kernel/qwidget.cpp:5614
#39 0x02158551 in QWidgetPrivate::drawWidget (this=0x92181e0, pdev=0x91e9e5c, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=
    0x91f33f8) at kernel/qwidget.cpp:5473
#40 0x02159612 in QWidgetPrivate::paintSiblingsRecursive (this=0x9214260, pdev=0x91e9e5c, siblings=..., index=<value optimized out>, rgn=...,
    offset=..., flags=4, sharedPainter=0x0, backingStore=0x91f33f8) at kernel/qwidget.cpp:5627
#41 0x02158551 in QWidgetPrivate::drawWidget (this=0x9214260, pdev=0x91e9e5c, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=
    0x91f33f8) at kernel/qwidget.cpp:5473
#42 0x02159612 in QWidgetPrivate::paintSiblingsRecursive (this=0x91fb328, pdev=0x91e9e5c, siblings=..., index=<value optimized out>, rgn=...,
    offset=..., flags=4, sharedPainter=0x0, backingStore=0x91f33f8) at kernel/qwidget.cpp:5627
#43 0x02158551 in QWidgetPrivate::drawWidget (this=0x91fb328, pdev=0x91e9e5c, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=
    0x91f33f8) at kernel/qwidget.cpp:5473
#44 0x02159612 in QWidgetPrivate::paintSiblingsRecursive (this=0x91fb180, pdev=0x91e9e5c, siblings=..., index=<value optimized out>, rgn=...,
---Type <return> to continue, or q <return> to quit---
    offset=..., flags=4, sharedPainter=0x0, backingStore=0x91f33f8) at kernel/qwidget.cpp:5627
#45 0x02159449 in QWidgetPrivate::paintSiblingsRecursive (this=0x91fb180, pdev=0x91e9e5c, siblings=..., index=0, rgn=..., offset=..., flags=4,
    sharedPainter=0x0, backingStore=0x91f33f8) at kernel/qwidget.cpp:5614
#46 0x02158551 in QWidgetPrivate::drawWidget (this=0x91fb180, pdev=0x91e9e5c, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=
    0x91f33f8) at kernel/qwidget.cpp:5473
#47 0x02159612 in QWidgetPrivate::paintSiblingsRecursive (this=0x91f3000, pdev=0x91e9e5c, siblings=..., index=<value optimized out>, rgn=...,
    offset=..., flags=4, sharedPainter=0x0, backingStore=0x91f33f8) at kernel/qwidget.cpp:5627
#48 0x02158551 in QWidgetPrivate::drawWidget (this=0x91f3000, pdev=0x91e9e5c, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=
    0x91f33f8) at kernel/qwidget.cpp:5473
#49 0x02159612 in QWidgetPrivate::paintSiblingsRecursive (this=0x91f4230, pdev=0x91e9e5c, siblings=..., index=<value optimized out>, rgn=...,
    offset=..., flags=4, sharedPainter=0x0, backingStore=0x91f33f8) at kernel/qwidget.cpp:5627
#50 0x02158551 in QWidgetPrivate::drawWidget (this=0x91f4230, pdev=0x91e9e5c, rgn=..., offset=..., flags=5, sharedPainter=0x0, backingStore=
    0x91f33f8) at kernel/qwidget.cpp:5473
#51 0x02332f25 in QWidgetBackingStore::sync (this=0x91f33f8) at painting/qbackingstore.cpp:1328
#52 0x0214b513 in QWidgetPrivate::syncBackingStore (this=0x91f4230) at kernel/qwidget.cpp:1805

#53 0x0217775e in QETWidget::translateConfigEvent (this=0x91ea750, event=0xbfffed20) at kernel/qapplication_x11.cpp:5291
#54 0x02183c06 in QApplication::x11ProcessEvent (this=0x8f679f8, event=0xbfffed20) at kernel/qapplication_x11.cpp:3441
#55 0x021afc92 in x11EventSourceDispatch (s=0x8f6af40, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#56 0x00b57525 in g_main_dispatch (context=0x8f6a090) at gmain.c:1960
#57 IA__g_main_context_dispatch (context=0x8f6a090) at gmain.c:2513
#58 0x00b5b268 in g_main_context_iterate (context=0xa08bf0, block=0, dispatch=1, self=0x8f67f00) at gmain.c:2591
#59 0x00b5b449 in IA__g_main_context_iteration (context=0x8f6a090, may_block=0) at gmain.c:2654
#60 0x003c95b6 in QEventDispatcherGlib::processEvents (this=0x8f57588, flags=...) at kernel/qeventdispatcher_glib.cpp:415
---Type <return> to continue, or q <return> to quit---
#61 0x021af706 in QGuiEventDispatcherGlib::processEvents (this=0x8f57588, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#62 0x003a2bb2 in QCoreApplication::processEvents (flags=...) at kernel/qcoreapplication.cpp:924

#63 0x063e6043 in QCoreApplication_processEvents (flags=Could not find the frame base for "QCoreApplication_processEvents(unsigned int)".
) at src/qcoreapplication_c.cpp:105
#64 0x081f38a3 in TQTWIDGETSET__APPPROCESSMESSAGES (this=<error reading variable>) at qtobject.inc:264
#65 0x0808b299 in TAPPLICATION__HANDLEMESSAGE (this=<error reading variable>) at ./include/application.inc:1229
#66 0x0808b6ff in TAPPLICATION__RUNLOOP (this=<error reading variable>) at ./include/application.inc:1362
#67 0x081f3863 in TQTWIDGETSET__APPRUN (ALOOP=0x808b6c0 <TAPPLICATION__RUNLOOP>, this=<error reading variable>) at qtobject.inc:233
#68 0x0808b6ba in TAPPLICATION__RUN (this=<error reading variable>) at ./include/application.inc:1350
#69 0x0805e782 in main () at lazarus.pp:112

zeljko

  • Hero Member
  • *****
  • Posts: 1054
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Updated to KDE 4.5.2 now Apps Crash
« Reply #10 on: October 13, 2010, 06:48:23 pm »
FRESH NEWS: "./lazarus -graphicssystem raster" does not crash under Fedora 13.

zeljko

  • Hero Member
  • *****
  • Posts: 1054
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Updated to KDE 4.5.2 now Apps Crash
« Reply #11 on: November 05, 2010, 07:30:20 pm »
I've opened an issue about oxygen problem. https://bugs.kde.org/show_bug.cgi?id=254889
There's also workaround for crash.


sfeinst

  • Full Member
  • ***
  • Posts: 186
Re: Updated to KDE 4.5.2 now Apps Crash
« Reply #12 on: November 05, 2010, 10:46:15 pm »
Thanks for your continuing work.  I tried your workaround in the bug tracker and so far it does not crash.  I'll keep testing, but good to be able to use oxygen again.

zeljko

  • Hero Member
  • *****
  • Posts: 1054
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Updated to KDE 4.5.2 now Apps Crash
« Reply #13 on: November 21, 2010, 11:38:31 am »
Seem that bindings must be recompiled with -mstackrealign. Such build of libQt4Pas works as expected (tested with qt-4.6.3 , qt-4.7.0 and qt-4.7.1) on Fedora 13 & 14.