Bug 238031 - Klipper crashed when the content of the clipboard was too big
Summary: Klipper crashed when the content of the clipboard was too big
Status: RESOLVED DUPLICATE of bug 33747
Alias: None
Product: klipper
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Esben Mose Hansen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-18 12:16 UTC by Unknown
Modified: 2011-12-24 13:57 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Unknown 2010-05-18 12:16:24 UTC
Application: klipper (v0.9.7)
KDE Platform Version: 4.4.3 (KDE 4.4.3)
Qt Version: 4.6.2
Operating System: Linux 2.6.31.12-0.2-desktop x86_64
Distribution: "openSUSE 11.2 (x86_64)"

-- Information about the crash:
I put onto the clipboard the result set of an SQL query (205.000 rows). This was not a problem, but when I tried to right click on its icon, klipper crashed. Before the crash it used 1800 MB of memory :)

Maybe a solution is, that when you put such a big content to the clipboard, klipper should delete this when something new arrives.

The crash itself maybe because I ran out of memory (so it's probably not klipper's fault).

 -- Backtrace:
Application: Klipper (kdeinit4), signal: Segmentation fault
[KCrash Handler]
#5  0x00007f225cf63ae9 in ?? () from /lib64/libc.so.6
#6  0x00007f225cf61c32 in memmove () from /lib64/libc.so.6
#7  0x00007f225d95ded6 in QGlyphLayout (totalGlyphs=<value optimized out>, address=<value optimized out>, this=<value optimized out>) at /usr/include/bits/string3.h:59
#8  QGlyphLayout::grow (totalGlyphs=<value optimized out>, address=<value optimized out>, this=<value optimized out>) at text/qtextengine.cpp:2115
#9  0x00007f225d95e08e in QTextEngine::LayoutData::reallocate (this=0x7fffddc6d5c8, totalGlyphs=179069184) at text/qtextengine.cpp:2107
#10 0x00007f225d9618f5 in ensureSpace (nGlyphs=<value optimized out>, this=<value optimized out>) at text/qtextengine_p.h:522
#11 QTextEngine::attributes (nGlyphs=<value optimized out>, this=<value optimized out>) at text/qtextengine.cpp:1321
#12 0x00007f225d965502 in QTextEngine::elidedText (this=0x7fffddc6d540, mode=ElideMiddle, width=<value optimized out>, flags=<value optimized out>) at text/qtextengine.cpp:2370
#13 0x00007f225d93f679 in QFontMetrics::elidedText (this=0x7fffddc70040, text=<value optimized out>, mode=<value optimized out>, width=<value optimized out>, flags=0) at text/qfontmetrics.cpp:877
#14 0x00007f225048601e in PopupProxy::tryInsertItem (this=0x689b40, item=0xea9d00, remainingHeight=@0x7fffddc7012c, index=3) at /usr/src/debug/kdebase-workspace-4.4.3/klipper/popupproxy.cpp:98
#15 0x00007f22504864e8 in PopupProxy::insertFromSpill (this=0x689b40, index=4) at /usr/src/debug/kdebase-workspace-4.4.3/klipper/popupproxy.cpp:161
#16 0x00007f2250486784 in PopupProxy::buildParent (this=0x689b40, index=2, filter=...) at /usr/src/debug/kdebase-workspace-4.4.3/klipper/popupproxy.cpp:78
#17 0x00007f2250485377 in KlipperPopup::rebuild (this=0x790930, filter=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.4.3/klipper/klipperpopup.cpp:183
#18 0x00007f2250485989 in KlipperPopup::ensureClean (this=0x7f217d1ff9f8) at /usr/src/debug/kdebase-workspace-4.4.3/klipper/klipperpopup.cpp:128
#19 0x00007f2250471db5 in Klipper::slotPopupMenu (this=0x79d490) at /usr/src/debug/kdebase-workspace-4.4.3/klipper/klipper.cpp:579
#20 0x00007f2250475020 in Klipper::qt_metacall (this=0x79d490, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffddc70450)
    at /usr/src/debug/kdebase-workspace-4.4.3/build/klipper/klipper.moc:214
#21 0x00007f225e57d78f in QMetaObject::activate (sender=0x7fffddc719f0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xfffffffffff658a0) at kernel/qobject.cpp:3293
#22 0x00007f225ddab1de in QSystemTrayIcon::activated (this=0x7f217d1ff9f8, _t1=Context) at .moc/release-shared/moc_qsystemtrayicon.cpp:134
#23 0x00007f225dd8a8fe in QSystemTrayIconSys::mousePressEvent (this=0x7e6e70, ev=0x7fffddc70d40) at util/qsystemtrayicon_x11.cpp:300
#24 0x00007f225d761159 in QWidget::event (this=0x7e6e70, event=0x7fffddc70d40) at kernel/qwidget.cpp:7994
#25 0x00007f225d70ae1c in QApplicationPrivate::notify_helper (this=0x676b50, receiver=0x7e6e70, e=0x7fffddc70d40) at kernel/qapplication.cpp:4300
#26 0x00007f225d711bdb in QApplication::notify (this=0x7fffddc71a10, receiver=0x7e6e70, e=0x7fffddc70d40) at kernel/qapplication.cpp:3865
#27 0x00007f225ea3d4e6 in KApplication::notify (this=0x7fffddc71a10, receiver=0x7e6e70, event=0x7fffddc70d40) at /usr/src/debug/kdelibs-4.4.3/kdeui/kernel/kapplication.cpp:302
#28 0x00007f225e56a98c in QCoreApplication::notifyInternal (this=0x7fffddc71a10, receiver=0x7e6e70, event=0x7fffddc70d40) at kernel/qcoreapplication.cpp:704
#29 0x00007f225d710db6 in sendEvent (event=<value optimized out>, receiver=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:215
#30 QApplicationPrivate::sendMouseEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qapplication.cpp:2965
#31 0x00007f225d790765 in QETWidget::translateMouseEvent (this=0x7e6e70, event=<value optimized out>) at kernel/qapplication_x11.cpp:4368
#32 0x00007f225d78f47a in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffddc71660) at kernel/qapplication_x11.cpp:3501
#33 0x00007f225d7b9932 in x11EventSourceDispatch (s=0x67a390, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#34 0x00007f22597c6dee in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#35 0x00007f22597ca7b8 in ?? () from /usr/lib64/libglib-2.0.so.0
#36 0x00007f22597ca8e0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#37 0x00007f225e593eb3 in QEventDispatcherGlib::processEvents (this=0x61a8e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#38 0x00007f225d7b951e in QGuiEventDispatcherGlib::processEvents (this=0x7f217d1ff9f8, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007f225e5692a2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#40 0x00007f225e56967c in QEventLoop::exec (this=0x7fffddc71990, flags=) at kernel/qeventloop.cpp:201
#41 0x00007f225e56d3cb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#42 0x00007f22504915a4 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.4.3/klipper/main.cpp:52
#43 0x00000000004073b8 in launch (argc=1, _name=<value optimized out>, args=<value optimized out>, cwd=<value optimized out>, envc=0, envs=<value optimized out>, reset_env=false, tty=0x0, 
    avoid_loops=false, startup_id_str=0x409c52 "0") at /usr/src/debug/kdelibs-4.4.3/kinit/kinit.cpp:717
#44 0x0000000000408070 in handle_launcher_request (sock=8, who=<value optimized out>) at /usr/src/debug/kdelibs-4.4.3/kinit/kinit.cpp:1209
#45 0x0000000000408521 in handle_requests (waitForPid=0) at /usr/src/debug/kdelibs-4.4.3/kinit/kinit.cpp:1402
#46 0x0000000000409202 in main (argc=4, argv=<value optimized out>, envp=<value optimized out>) at /usr/src/debug/kdelibs-4.4.3/kinit/kinit.cpp:1845

Reported using DrKonqi
Comment 1 Jekyll Wu 2011-12-24 13:57:20 UTC

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