Bug 228811 - Large clipboard object crashes klipper when trying to open menu
Summary: Large clipboard object crashes klipper when trying to open menu
Status: RESOLVED DUPLICATE of bug 230490
Alias: None
Product: klipper
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Esben Mose Hansen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-27 22:36 UTC by Staffan Palmroos
Modified: 2010-04-05 03:00 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Staffan Palmroos 2010-02-27 22:36:27 UTC
Application: klipper (v0.9.7)
KDE Platform Version: 4.4.00 (KDE 4.4.0)
Qt Version: 4.6.2
Operating System: Linux 2.6.31-gentoo-r6 i686
Distribution (Platform): Gentoo Packages

-- Information about the crash:
I got this crash when I copied (ctrl-c) a large email (6.2 MB) in KMail to the clipboard and then opened the Klipper menu in the system tray.

It doesn't seem related to KMail though, if I open a large text file in emacs, copy the text and then open the Klipper menu the same crash happens.

The crash can be reproduced every time.

 -- Backtrace:
Application: Klipper (klipper), signal: Segmentation fault
[KCrash Handler]
#6  0x41bc61dc in QX11PaintEngine::drawPixmap (this=<value optimized out>, r=<value optimized out>, px=<value optimized out>, _sr=<value optimized out>) at painting/qpaintengine_x11.cpp:1919
#7  0x41b37681 in QPaintEngine::drawImage (this=<value optimized out>, r=<value optimized out>, image=<value optimized out>, sr=<value optimized out>, flags=<value optimized out>)
    at painting/qpaintengine.cpp:624
#8  0x41bbf84a in QX11PaintEngine::drawImage (this=<value optimized out>, r=<value optimized out>, image=<value optimized out>, sr=<value optimized out>, flags=) at painting/qpaintengine_x11.cpp:1893
#9  0x41b48daa in QPainterPrivate::draw_helper (this=<value optimized out>, originalPath=<value optimized out>, op=<value optimized out>) at painting/qpainter.cpp:484
#10 0x41b4a216 in QPainter::drawRects (this=<value optimized out>, rects=<value optimized out>, rectCount=<value optimized out>) at painting/qpainter.cpp:3557
#11 0x41b4a396 in QPainter::drawRect (this=<value optimized out>, r=<value optimized out>, brush=<value optimized out>) at src/gui/painting/qpainter.h:622
#12 QPainter::fillRect (this=<value optimized out>, r=<value optimized out>, brush=<value optimized out>) at painting/qpainter.cpp:6679
#13 0x41cb7f07 in qt_plastique_draw_gradient (painter=<value optimized out>, rect=<value optimized out>, gradientStart=<value optimized out>, gradientStop=<value optimized out>)
    at styles/qplastiquestyle.cpp:757
#14 0x41cbf581 in QPlastiqueStyle::drawControl (this=<value optimized out>, element=<value optimized out>, option=<value optimized out>, painter=<value optimized out>, widget=<value optimized out>)
    at styles/qplastiquestyle.cpp:2926
#15 0x41d68bca in QMenu::paintEvent (this=<value optimized out>, e=<value optimized out>) at widgets/qmenu.cpp:2185
#16 0x41a871a7 in QWidget::event (this=<value optimized out>, event=<value optimized out>) at kernel/qwidget.cpp:8144
#17 0x41d6e09d in QMenu::event (this=<value optimized out>, e=<value optimized out>) at widgets/qmenu.cpp:2414
#18 0x41a3f22e in QApplicationPrivate::notify_helper (this=<value optimized out>, receiver=<value optimized out>, e=<value optimized out>) at kernel/qapplication.cpp:4300
#19 0x41a40f6b in QApplication::notify (this=<value optimized out>, receiver=<value optimized out>, e=<value optimized out>) at kernel/qapplication.cpp:4183
#20 0x422cbaa9 in KApplication::notify (this=<value optimized out>, receiver=<value optimized out>, event=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/kdeui/kernel/kapplication.cpp:302
#21 0x4138cf40 in QCoreApplication::notifyInternal (this=<value optimized out>, receiver=<value optimized out>, event=<value optimized out>) at kernel/qcoreapplication.cpp:704
#22 0x41a4aaa1 in QCoreApplication::sendSpontaneousEvent (receiver=) at src/corelib/kernel/qcoreapplication.h:218
#23 0x41a84d2e in QWidgetPrivate::drawWidget (this=<value optimized out>, pdev=<value optimized out>, rgn=<value optimized out>, offset=<value optimized out>, flags=<value optimized out>, 
    sharedPainter=<value optimized out>, backingStore=<value optimized out>) at kernel/qwidget.cpp:5339
#24 0x41bd0c5c in QWidgetBackingStore::sync (this=<value optimized out>) at painting/qbackingstore.cpp:1291
#25 0x41bd0e64 in QWidgetBackingStore::sync (this=<value optimized out>, exposedWidget=<value optimized out>, exposedRegion=<value optimized out>) at painting/qbackingstore.cpp:1096
#26 0x41a7f7f0 in QWidgetPrivate::syncBackingStore (this=<value optimized out>, region=<value optimized out>) at kernel/qwidget.cpp:1681
#27 0x41a9c92d in QETWidget::translatePaintEvent (this=<value optimized out>, event=<value optimized out>) at kernel/qapplication_x11.cpp:5078
#28 0x41aa5f60 in QApplication::x11ProcessEvent (this=<value optimized out>, event=<value optimized out>) at kernel/qapplication_x11.cpp:3401
#29 0x41ac8d57 in x11EventSourceDispatch (s=<value optimized out>, callback=<value optimized out>, user_data=) at kernel/qguieventdispatcher_glib.cpp:146
#30 0x41032866 in g_main_dispatch (context=<value optimized out>) at gmain.c:1960
#31 IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2513
#32 0x41034891 in g_main_context_iterate (context=<value optimized out>, block=<value optimized out>, dispatch=<value optimized out>, self=) at gmain.c:2591
#33 0x41034989 in IA__g_main_context_iteration (context=<value optimized out>, may_block=<value optimized out>) at gmain.c:2654
#34 0x413ad756 in QEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#35 0x41ac8995 in QGuiEventDispatcherGlib::processEvents (this=) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x4138a72d in QEventLoop::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventloop.cpp:149
#37 0x4138a8d3 in QEventLoop::exec (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventloop.cpp:201
#38 0x4138d5c1 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#39 0x41a40fee in QApplication::exec () at kernel/qapplication.cpp:3579
#40 0x41177ddf in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/portage/kde-base/klipper-4.4.0/work/klipper-4.4.0/klipper/main.cpp:52
#41 0x080487ab in main (argc=1108558620, argv=0xb77f7568) at /var/tmp/portage/kde-base/klipper-4.4.0/work/klipper-4.4.0_build/klipper/klipper_dummy.cpp:3

Reported using DrKonqi
Comment 1 Dario Andres 2010-04-05 03:00:59 UTC
This is a Qt issue being tracked at bug 230490. Regards

*** This bug has been marked as a duplicate of bug 230490 ***