[Digikam-devel] [Bug 180507] New: crash when dragging picture to another app with kwin_composite enabled
Will Stephenson
wstephenson at kde.org
Mon Jan 12 21:59:46 GMT 2009
http://bugs.kde.org/show_bug.cgi?id=180507
Summary: crash when dragging picture to another app with
kwin_composite enabled
Product: digikam
Version: unspecified
Platform: Compiled Sources
OS/Version: unspecified
Status: NEW
Severity: normal
Priority: NOR
Component: general
AssignedTo: digikam-devel at kde.org
ReportedBy: wstephenson at kde.org
Version: (using Devel)
Installed from: Compiled sources
Very strange. It doesn't happen with regular kwin at all. beta8, suse
packages.
libqt4-4.4.3-29.1
Steps to reproduce:
drag a picture from an album (ie using regular folder-based album view) on to
another app (ie dolphin). Either alt-tab with maximised windows or just drag
it off the digikam window if not maximised.
drag it around a bit without releasing
dolphin crashes:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f134702b700 (LWP 30474)]
0x00007f1342fc6d2f in QWidget::testAttribute_helper (this=0x59e38c0,
attribute=Qt::WA_Hover) at kernel/qwidget.cpp:9341
9341 const int int_off = x / (8*sizeof(uint));
(gdb) '/home/will/Documents/Pictures/2007/Akademy
Glasgow/will_glasgow_bridge.jpg'
Undefined command: "". Try "help".
(gdb) p int_off
$1 = 1
(gdb) p x
$2 = {int (const QWidget *)} 0x7f1342fcc3d0 <QWidget::x() const>
(gdb) l
9336 */
9337 bool QWidget::testAttribute_helper(Qt::WidgetAttribute attribute) const
9338 {
9339 Q_D(const QWidget);
9340 const int x = attribute - 8*sizeof(uint);
9341 const int int_off = x / (8*sizeof(uint));
9342 return (d->high_attributes[int_off] &
(1<<(x-(int_off*8*sizeof(uint)))));
9343 }
9344
9345 /*!
(gdb) p attribute
$3 = Qt::WA_Hover
(gdb) p this
$4 = (const QWidget * const) 0x59e38c0
(gdb) p *this
$5 = {<QObject> = {_vptr.QObject = 0x6048e20, d_ptr = 0x0}, <QPaintDevice> =
{_vptr.QPaintDevice = 0x7f13438d7c30, painters = 0}, data = 0x5d1e458}
(gdb) bt
#0 0x00007f1342fc6d2f in QWidget::testAttribute_helper (this=0x59e38c0,
attribute=Qt::WA_Hover) at kernel/qwidget.cpp:9341
#1 0x00007f1342f8c884 in QApplication::notify (this=<value optimized out>,
receiver=<value optimized out>, e=0x7fff4f08c8c0) at
../../include/QtGui/../../src/gui/kernel/qwidget.h:987
#2 0x00007f134429cafb in KApplication::notify () from /usr/lib64/libkdeui.so.5
#3 0x00007f1342448e81 in QCoreApplication::notifyInternal
(this=0x7fff4f08f120, receiver=0x59e38c0, event=0x7fff4f08c8c0) at
kernel/qcoreapplication.cpp:587
#4 0x00007f1342f8bb38 in QApplicationPrivate::sendMouseEvent
(receiver=0x59e38c0, event=0x7fff4f08c8c0, alienWidget=0x0,
nativeWidget=0x59e38c0, buttonDown=<value optimized out>,
lastMouseReceiver=@0x7f1343901760) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:212
#5 0x00007f1342ff0289 in QETWidget::translateMouseEvent (this=0x59e38c0,
event=<value optimized out>) at kernel/qapplication_x11.cpp:4042
#6 0x00007f1342feeca7 in QApplication::x11ProcessEvent (this=0x7fff4f08f120,
event=0x7fff4f08d340) at kernel/qapplication_x11.cpp:3160
#7 0x00007f134301558c in x11EventSourceDispatch (s=0x94e7e0, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:142
#8 0x00007f133aa1d93a in g_main_context_dispatch () from
/usr/lib64/libglib-2.0.so.0
#9 0x00007f133aa21040 in ?? () from /usr/lib64/libglib-2.0.so.0
#10 0x00007f133aa211dc in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#11 0x00007f13424713af in QEventDispatcherGlib::processEvents (this=0x94aea0,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:319
#12 0x00007f1343014cff in QGuiEventDispatcherGlib::processEvents
(this=0x59e38c0, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:198
#13 0x00007f1342447782 in QEventLoop::processEvents (this=<value optimized
out>, flags={i = 1325979184}) at kernel/qeventloop.cpp:143
#14 0x00007f134244790d in QEventLoop::exec (this=0x4af1be0, flags={i =
1325979328}) at kernel/qeventloop.cpp:194
#15 0x00007f1342ffe78b in QDragManager::drag (this=0x491c7c0, o=<value
optimized out>) at kernel/qdnd_x11.cpp:1944
#16 0x00007f1342f96938 in QDrag::exec (this=0x58b4560, supportedActions={i =
1325979696}, defaultDropAction=Qt::IgnoreAction) at kernel/qdrag.cpp:275
#17 0x00007f1342f969e3 in QDrag::exec (this=0x59e38c0, supportedActions=<value
optimized out>) at kernel/qdrag.cpp:234
#18 0x00000000005922ef in Digikam::AlbumIconView::startDrag (this=0xb26150) at
/usr/src/debug/digikam-0.10.0-beta8/digikam/albumiconview.cpp:1341
#19 0x0000000000614016 in Digikam::IconView::contentsMouseMoveEvent
(this=0xb26150, e=0x7fff4f08dc30) at
/usr/src/debug/digikam-0.10.0-beta8/digikam/iconview.cpp:1170
#20 0x00007f1340ff5eb9 in Q3ScrollView::viewportMouseMoveEvent (this=0xb26150,
e=0x7fff4f08e2b0) at widgets/q3scrollview.cpp:1789
#21 0x00007f1340ff7788 in Q3ScrollView::eventFilter (this=0xb26150,
obj=0xac53d0, e=0x7fff4f08e2b0) at widgets/q3scrollview.cpp:1487
#22 0x00007f1342448148 in
QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized
out>, receiver=0xac53d0, event=0x7fff4f08e2b0) at
kernel/qcoreapplication.cpp:694
#23 0x00007f1342f8414c in QApplicationPrivate::notify_helper (this=0x94af40,
receiver=0xac53d0, e=0x7fff4f08e2b0) at kernel/qapplication.cpp:3799
#24 0x00007f1342f8c79a in QApplication::notify (this=<value optimized out>,
receiver=0xac53d0, e=0x7fff4f08e2b0) at kernel/qapplication.cpp:3528
#25 0x00007f134429cafb in KApplication::notify () from /usr/lib64/libkdeui.so.5
#26 0x00007f1342448e81 in QCoreApplication::notifyInternal
(this=0x7fff4f08f120, receiver=0xac53d0, event=0x7fff4f08e2b0) at
kernel/qcoreapplication.cpp:587
#27 0x00007f1342f8bb38 in QApplicationPrivate::sendMouseEvent
(receiver=0xac53d0, event=0x7fff4f08e2b0, alienWidget=0xac53d0,
nativeWidget=0xb26150, buttonDown=<value optimized out>,
lastMouseReceiver=@0x7f1343901760) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:212
#28 0x00007f1342ff0289 in QETWidget::translateMouseEvent (this=0xb26150,
event=<value optimized out>) at kernel/qapplication_x11.cpp:4042
#29 0x00007f1342feeca7 in QApplication::x11ProcessEvent (this=0x7fff4f08f120,
event=0x7fff4f08ed30) at kernel/qapplication_x11.cpp:3160
#30 0x00007f134301558c in x11EventSourceDispatch (s=0x94e7e0, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:142
#31 0x00007f133aa1d93a in g_main_context_dispatch () from
/usr/lib64/libglib-2.0.so.0
#32 0x00007f133aa21040 in ?? () from /usr/lib64/libglib-2.0.so.0
#33 0x00007f133aa211dc in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#34 0x00007f13424713af in QEventDispatcherGlib::processEvents (this=0x94aea0,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:319
#35 0x00007f1343014cff in QGuiEventDispatcherGlib::processEvents
(this=0x59e38c0, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:198
#36 0x00007f1342447782 in QEventLoop::processEvents (this=<value optimized
out>, flags={i = 1325985824}) at kernel/qeventloop.cpp:143
#37 0x00007f134244790d in QEventLoop::exec (this=0x7fff4f08f060, flags={i =
1325985904}) at kernel/qeventloop.cpp:194
#38 0x00007f1342449dfd in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:845
#39 0x0000000000656df1 in main (argc=1, argv=0x7fff4f08fd88) at
/usr/src/debug/digikam-0.10.0-beta8/digikam/main.cpp:188
--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Digikam-devel
mailing list