[Qtopia-preview-feedback] Directfb crash

Alexander Papadakis alpapad at gmail.com
Tue Mar 18 17:00:27 CET 2008


Hi, I am trying to run qtopia core with dfb but i get the following error:

localhost browser # gdb ./browser
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run -qws -display directfb
Starting program: /root/build2/qtopiacore/target/demos/browser/browser
-qws -display directfb
[Thread debugging using libthread_db enabled]
[New Thread -1232935248 (LWP 9980)]

       =======================|  DirectFB 1.1.1  |=======================
            (c) 2001-2007  The DirectFB Organization (directfb.org)
            (c) 2000-2004  Convergence (integrated media) GmbH
          ------------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2008-03-15 14:43)
[New Thread -1233101936 (LWP 9995)]
(*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 9995)...
[New Thread -1259824240 (LWP 9998)]
(*) Direct/Thread: Running 'Keyboard Input' (INPUT, 9998)...
(*) DirectFB/Input: Keyboard 0.9 (directfb.org)
[New Thread -1268216944 (LWP 9999)]
(*) Direct/Thread: Running 'PS/2 Input' (INPUT, 9999)...
(*) DirectFB/Input: IMPS/2 Mouse 1.0 (directfb.org)
[New Thread -1276609648 (LWP 10000)]
(*) Direct/Thread: Running 'Linux Input' (INPUT, 10000)...
(*) DirectFB/Input: AT Translated Set 2 keyboard (1) 0.1 (directfb.org)
[New Thread -1285002352 (LWP 10001)]
(*) Direct/Thread: Running 'Linux Input' (INPUT, 10001)...
(*) DirectFB/Input: PC Speaker (2) 0.1 (directfb.org)
[New Thread -1293395056 (LWP 10002)]
(*) Direct/Thread: Running 'Linux Input' (INPUT, 10002)...
(*) DirectFB/Input: ImPS/2 Generic Wheel Mouse (3) 0.1 (directfb.org)
(*) DirectFB/Genefx: MMX detected and enabled
(*) DirectFB/Graphics: Matrox G550 0.7 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(*) FBDev/Mode: Testing 768x576 RGB16
(*) FBDev/Mode: Preparing switch to 768x576 RGB16
(*) FBDev/Mode: Testing 768x576 RGB16
(*) FBDev/Mode: Preparing switch to 768x576 RGB16
(*) FBDev/Mode: Testing 768x576 RGB16
(*) FBDev/Mode: Preparing switch to 768x576 RGB16
(*) FBDev/Mode: Testing 768x576 RGB16
(*) FBDev/Mode: Preparing switch to 768x576 RGB16
(*) FBDev/Mode: Testing 768x576 RGB16
(*) FBDev/Mode: Preparing switch to 768x576 RGB16
(*) FBDev/Mode: Switched to 768x576 (768x1152) at 16 bit RGB16 (wanted
RGB16).
(*) FBDev/Surface: Allocated 768x576 16bit RGB16 buffer at offset 884736
and pitch 1536.
(*) FBDev/Surface: Allocated 768x576 16bit RGB16 buffer at offset 0 and
pitch 1536.
(*) FBDev/Mode: (Post)Setting 768x576 RGB16
(*) FBDev/Mode: Switched to 768x576 (768x1152) at 16 bit RGB16 (wanted
RGB16).
(*) FBDev/Mode: Testing 768x576 RGB16
(*) FBDev/Mode: Preparing switch to 768x576 RGB16
(*) FBDev/Mode: (Post)Setting 768x576 RGB16
[New Thread -1301787760 (LWP 10003)]
(*) Direct/Thread: Running 'EventBufferFeed' (MESSAGING, 10003)...
[New Thread -1310180464 (LWP 10004)]
(*) Direct/Thread: Running 'EventBufferFeed' (MESSAGING, 10004)...
QDesktopServices::storageLocation not implemented
QDesktopServices::storageLocation not implemented

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1232935248 (LWP 9980)]
0xb715c244 in comp_func_solid_SourceOver (dest=0xb1422290, length=1,
      color=1711276032, const_alpha=255) at painting/qdrawhelper.cpp:1588
1588                dest[i] = color + BYTE_MUL(dest[i], qAlpha(~color));



(gdb) where

#0  0xb715c244 in comp_func_solid_SourceOver (dest=0xb1422290, length=1,
      color=1711276032, const_alpha=255) at painting/qdrawhelper.cpp:1588
#1  0xb7167b6a in blend_color_argb (count=0, spans=0xbf926aa0,
      userData=0x818968c) at painting/qdrawhelper.cpp:2984
#2  0xb714651a in qt_span_fill_clipRect (count=1, spans=0xbf926aa0,
      userData=0x818968c) at painting/qpaintengine_raster.cpp:4598
#3  0xb714bbd1 in QRasterPaintEngine::drawPoints (this=0x8189440,
      points=0xbf92eb50, pointCount=4) at
painting/qpaintengine_raster.cpp:3097
#4  0xb70de482 in QPaintEngine::drawPoints (this=0x8189440,
points=0xbf930780,
      pointCount=4) at painting/qpaintengine.cpp:447
#5  0xb70ecb73 in QPainter::drawPoints (this=0xbf936d04, points=0xbf930780,
      pointCount=4) at painting/qpainter.cpp:3097
#6  0xb73347c9 in QPlastiqueStyle::drawControl (this=0x80a1068,
      element=QStyle::CE_TabBarTabShape, option=0xbf936b7c,
painter=0xbf936d04,
      widget=0x80bb170) at styles/qplastiquestyle.cpp:2333
#7  0xb72f1626 in QCommonStyle::drawControl (this=0x80a1068,
      element=QStyle::CE_TabBarTab, opt=0xbf936b7c, p=0xbf936d04,
      widget=0x80bb170) at styles/qcommonstyle.cpp:1579
#8  0xb738a07e in QWindowsStyle::drawControl (this=0x80a1068,
      ce=QStyle::CE_TabBarTab, opt=0xbf936b7c, p=0xbf936d04,
widget=0x80bb170)
      at styles/qwindowsstyle.cpp:2521
#9  0xb734263f in QPlastiqueStyle::drawControl (this=0x80a1068,
      element=QStyle::CE_TabBarTab, option=0xbf936b7c, painter=0xbf936d04,
---Type <return> to continue, or q <return> to quit---
      widget=0x80bb170) at styles/qplastiquestyle.cpp:3791
#10 0xb73baccb in QStylePainter::drawControl (this=0xbf936d04,
      ce=QStyle::CE_TabBarTab, opt=@0xbf936b7c)
      at ../../include/QtGui/../../src/gui/painting/qstylepainter.h:91
#11 0xb7467f99 in QTabBar::paintEvent (this=0x80bb170)
      at widgets/qtabbar.cpp:1291
#12 0xb70447fc in QWidget::event (this=0x80bb170, event=0xbf937370)
      at kernel/qwidget.cpp:6988
#13 0xb746670b in QTabBar::event (this=0x80bb170, e=0xbf937370)
      at widgets/qtabbar.cpp:1204
#14 0xb6fee985 in QApplicationPrivate::notify_helper (this=0x8092230,
      receiver=0x80bb170, e=0xbf937370) at kernel/qapplication.cpp:3735
#15 0xb6ff0467 in QApplication::notify (this=0xbf938518,
receiver=0x80bb170,
      e=0xbf937370) at kernel/qapplication.cpp:3702
#16 0xb6c76c06 in QCoreApplication::notifyInternal (this=0xbf938518,
      receiver=0x80bb170, event=0xbf937370) at
kernel/qcoreapplication.cpp:582
#17 0xb6ff93c9 in QCoreApplication::sendSpontaneousEvent
(receiver=0x80bb170,
      event=0xbf937370)
      at 
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#18 0xb704edfe in qt_sendSpontaneousEvent (obj=0x80bb170, event=0xbf937370)
      at kernel/qapplication_qws.cpp:2231
#19 0xb70432eb in QWidgetPrivate::drawWidget (this=0x80bb188,
pdev=0x8189414,
      rgn=@0xbf9374fc, offset=@0xbf937534, flags=4, sharedPainter=0x81d68b8)
---Type <return> to continue, or q <return> to quit---
      at kernel/qwidget.cpp:4421
#20 0xb7043a0f in QWidgetPrivate::paintSiblingsRecursive (this=0x80baa68,
      pdev=0x8189414, siblings=@0xbf937754, index=1, rgn=@0xbf9375c0,
      offset=@0xbf9378f4, flags=4, sharedPainter=0x81d68b8)
      at kernel/qwidget.cpp:4519
#21 0xb7043885 in QWidgetPrivate::paintSiblingsRecursive (this=0x80baa68,
      pdev=0x8189414, siblings=@0xbf937754, index=2, rgn=@0xbf937680,
      offset=@0xbf9378f4, flags=4, sharedPainter=0x81d68b8)
      at kernel/qwidget.cpp:4509
#22 0xb7043885 in QWidgetPrivate::paintSiblingsRecursive (this=0x80baa68,
      pdev=0x8189414, siblings=@0xbf937754, index=3, rgn=@0xbf9378bc,
      offset=@0xbf9378f4, flags=4, sharedPainter=0x81d68b8)
      at kernel/qwidget.cpp:4509
#23 0xb7043633 in QWidgetPrivate::drawWidget (this=0x80baa68,
pdev=0x8189414,
      rgn=@0xbf9378bc, offset=@0xbf9378f4, flags=4, sharedPainter=0x81d68b8)
      at kernel/qwidget.cpp:4462
#24 0xb7043a0f in QWidgetPrivate::paintSiblingsRecursive (this=0x80b9e48,
      pdev=0x8189414, siblings=@0xbf937b14, index=2, rgn=@0xbf937980,
      offset=@0x81893fc, flags=4, sharedPainter=0x81d68b8)
      at kernel/qwidget.cpp:4519
#25 0xb7043885 in QWidgetPrivate::paintSiblingsRecursive (this=0x80b9e48,
      pdev=0x8189414, siblings=@0xbf937b14, index=6, rgn=@0xbf937a40,
      offset=@0x81893fc, flags=4, sharedPainter=0x81d68b8)
---Type <return> to continue, or q <return> to quit---
      at kernel/qwidget.cpp:4509
#26 0xb7043885 in QWidgetPrivate::paintSiblingsRecursive (this=0x80b9e48,
      pdev=0x8189414, siblings=@0xbf937b14, index=18, rgn=@0xbf937c90,
      offset=@0x81893fc, flags=4, sharedPainter=0x81d68b8)
      at kernel/qwidget.cpp:4509
#27 0xb7043633 in QWidgetPrivate::drawWidget (this=0x80b9e48,
pdev=0x8189414,
      rgn=@0xbf937c90, offset=@0x81893fc, flags=5, sharedPainter=0x81d68b8)
      at kernel/qwidget.cpp:4462
#28 0xb719169f in QWidgetBackingStore::cleanRegion (this=0x81893f0,
      rgn=@0xbf937d6c, widget=0x80b9da0, recursiveCopyToScreen=true)
      at painting/qbackingstore.cpp:1041
#29 0xb71919a2 in qt_syncBackingStore (widget=0x80b9da0)
      at painting/qbackingstore.cpp:356
#30 0xb7044cc2 in QWidget::event (this=0x80b9da0, event=0x82b15e8)
      at kernel/qwidget.cpp:7132
#31 0xb7411e30 in QMainWindow::event (this=0x80b9da0, event=0x82b15e8)
      at widgets/qmainwindow.cpp:1252
#32 0xb6fee985 in QApplicationPrivate::notify_helper (this=0x8092230,
      receiver=0x80b9da0, e=0x82b15e8) at kernel/qapplication.cpp:3735
#33 0xb6ff0467 in QApplication::notify (this=0xbf938518,
receiver=0x80b9da0,
      e=0x82b15e8) at kernel/qapplication.cpp:3702
#34 0xb6c76c06 in QCoreApplication::notifyInternal (this=0xbf938518,
      receiver=0x80b9da0, event=0x82b15e8) at 
kernel/qcoreapplication.cpp:582
---Type <return> to continue, or q <return> to quit---
#35 0xb6c7a0a9 in QCoreApplication::sendEvent (receiver=0x80b9da0,
      event=0x82b15e8) at kernel/qcoreapplication.h:215
#36 0xb6c770d8 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0,
      event_type=0, data=0x80922e0) at kernel/qcoreapplication.cpp:1188
#37 0xb6ca541b in QEventDispatcherUNIX::processEvents (this=0x8096918,
      flags=@0xbf938420) at kernel/qeventdispatcher_unix.cpp:867
#38 0xb705ea23 in QEventDispatcherQWS::processEvents (this=0x8096918,
      flags=@0xbf93845c) at kernel/qeventdispatcher_qws.cpp:134
#39 0xb6c73a3c in QEventLoop::processEvents (this=0xbf9384d0,
      flags=@0xbf938494) at kernel/qeventloop.cpp:146
#40 0xb6c73be7 in QEventLoop::exec (this=0xbf9384d0, flags=@0xbf9384d8)
      at kernel/qeventloop.cpp:193
#41 0xb6c7739f in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:838
#42 0xb6fee70d in QApplication::exec () at kernel/qapplication.cpp:3267
#43 0x08083237 in main (argc=Cannot access memory at address 0x66000000
) at main.cpp:125
(gdb)


A core file can be also provided.

Will dfb be one of the supported gfx drivers for qtopia? When do you
expect a stable release.

Thanks for your great work and product,
Alex




More information about the Qtopia-preview-feedback mailing list