<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>238031</bug_id>
          
          <creation_ts>2010-05-18 12:16:24 +0000</creation_ts>
          <short_desc>Klipper crashed when the content of the clipboard was too big</short_desc>
          <delta_ts>2011-12-24 13:57:20 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>klipper</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>openSUSE</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>33747</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Unknown">null</reporter>
          <assigned_to name="Esben Mose Hansen">kde</assigned_to>
          <cc>adaptee</cc>
    
    <cc>dimsuz</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>963670</commentid>
    <comment_count>0</comment_count>
    <who name="Unknown">null</who>
    <bug_when>2010-05-18 12:16:24 +0000</bug_when>
    <thetext>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: &quot;openSUSE 11.2 (x86_64)&quot;

-- 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&apos;s probably not klipper&apos;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=&lt;value optimized out&gt;, address=&lt;value optimized out&gt;, this=&lt;value optimized out&gt;) at /usr/include/bits/string3.h:59
#8  QGlyphLayout::grow (totalGlyphs=&lt;value optimized out&gt;, address=&lt;value optimized out&gt;, this=&lt;value optimized out&gt;) 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=&lt;value optimized out&gt;, this=&lt;value optimized out&gt;) at text/qtextengine_p.h:522
#11 QTextEngine::attributes (nGlyphs=&lt;value optimized out&gt;, this=&lt;value optimized out&gt;) at text/qtextengine.cpp:1321
#12 0x00007f225d965502 in QTextEngine::elidedText (this=0x7fffddc6d540, mode=ElideMiddle, width=&lt;value optimized out&gt;, flags=&lt;value optimized out&gt;) at text/qtextengine.cpp:2370
#13 0x00007f225d93f679 in QFontMetrics::elidedText (this=0x7fffddc70040, text=&lt;value optimized out&gt;, mode=&lt;value optimized out&gt;, width=&lt;value optimized out&gt;, 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=&lt;value optimized out&gt;) 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=&lt;value optimized out&gt;, _a=0x7fffddc70450)
    at /usr/src/debug/kdebase-workspace-4.4.3/build/klipper/klipper.moc:214
#21 0x00007f225e57d78f in QMetaObject::activate (sender=0x7fffddc719f0, m=&lt;value optimized out&gt;, local_signal_index=&lt;value optimized out&gt;, 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=&lt;value optimized out&gt;, receiver=&lt;value optimized out&gt;) at ../../src/corelib/kernel/qcoreapplication.h:215
#30 QApplicationPrivate::sendMouseEvent (event=&lt;value optimized out&gt;, receiver=&lt;value optimized out&gt;) at kernel/qapplication.cpp:2965
#31 0x00007f225d790765 in QETWidget::translateMouseEvent (this=0x7e6e70, event=&lt;value optimized out&gt;) at kernel/qapplication_x11.cpp:4368
#32 0x00007f225d78f47a in QApplication::x11ProcessEvent (this=&lt;value optimized out&gt;, event=0x7fffddc71660) at kernel/qapplication_x11.cpp:3501
#33 0x00007f225d7b9932 in x11EventSourceDispatch (s=0x67a390, callback=&lt;value optimized out&gt;, user_data=&lt;value optimized out&gt;) 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=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:412
#38 0x00007f225d7b951e in QGuiEventDispatcherGlib::processEvents (this=0x7f217d1ff9f8, flags=&lt;value optimized out&gt;) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007f225e5692a2 in QEventLoop::processEvents (this=&lt;value optimized out&gt;, 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=&lt;value optimized out&gt;, argv=&lt;value optimized out&gt;) at /usr/src/debug/kdebase-workspace-4.4.3/klipper/main.cpp:52
#43 0x00000000004073b8 in launch (argc=1, _name=&lt;value optimized out&gt;, args=&lt;value optimized out&gt;, cwd=&lt;value optimized out&gt;, envc=0, envs=&lt;value optimized out&gt;, reset_env=false, tty=0x0, 
    avoid_loops=false, startup_id_str=0x409c52 &quot;0&quot;) at /usr/src/debug/kdelibs-4.4.3/kinit/kinit.cpp:717
#44 0x0000000000408070 in handle_launcher_request (sock=8, who=&lt;value optimized out&gt;) 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=&lt;value optimized out&gt;, envp=&lt;value optimized out&gt;) at /usr/src/debug/kdelibs-4.4.3/kinit/kinit.cpp:1845

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1204540</commentid>
    <comment_count>1</comment_count>
    <who name="Jekyll Wu">adaptee</who>
    <bug_when>2011-12-24 13:57:20 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 33747 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>