Bug 348196 - Konsole crashed pasting 57,000 characters into vim
Summary: Konsole crashed pasting 57,000 characters into vim
Status: RESOLVED DUPLICATE of bug 342752
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 15.04.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-05-25 06:24 UTC by skierpage
Modified: 2015-05-31 18:37 UTC (History)
0 users

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 skierpage 2015-05-25 06:24:26 UTC
Application: konsole (15.04.0)

Qt Version: 5.4.1
Operating System: Linux 3.19.0-18-generic x86_64
Distribution: Ubuntu 15.04

-- Information about the crash:
- What I was doing when the application crashed:
I was letting the Crash Reporting Assistant report https://bugs.kde.org/show_bug.cgi?id=348195 . I wanted to examine the report myself, so I selected all, copied it, opened vim in Konsole, and pasted it. Someone put up a dialog asking , roughly, "Are you sure you want to paste 57,666 characters" and when I confirmed, Konsole crashed.

-- Backtrace:
Application: Konsole (konsole), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f3c4addb800 (LWP 2314))]

Thread 2 (Thread 0x7f3c3714b700 (LWP 2315)):
#0  0x00007f3c4a8a88dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f3c44b8db72 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f3c44b8f64f in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f3c3906f099 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#4  0x00007f3c471ddb0e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f3c42d876aa in start_thread (arg=0x7f3c3714b700) at pthread_create.c:333
#6  0x00007f3c4a8b3eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f3c4addb800 (LWP 2314)):
[KCrash Handler]
#6  0x00007f3c46bf52f4 in KNotification::id (this=this@entry=0x2508c10) at ../../src/knotification.cpp:389
#7  0x00007f3c46bf6569 in KNotificationManager::notifyPluginFinished (this=0x7f3c46e2ae90 <(anonymous namespace)::Q_QGS_s_self::innerFunction()::holder>, notification=0x2508c10) at ../../src/knotificationmanager.cpp:115
#8  0x00007f3c46bf79ac in KNotificationManager::qt_static_metacall (_o=0x2508c10, _c=38833168, _id=2, _a=0x7ffcff89e090) at ./moc_knotificationmanager_p.cpp:83
#9  0x00007f3c4744c9c9 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f3c46c18b7f in KNotificationPlugin::finished (this=this@entry=0x247fdd0, _t1=0x2508c10) at moc_knotificationplugin.cpp:139
#11 0x00007f3c46c08725 in KNotificationPlugin::finish (this=this@entry=0x247fdd0, notification=<optimized out>) at ../../src/knotificationplugin.cpp:52
#12 0x00007f3c46c12fc0 in NotifyByAudio::onAudioFinished (this=0x247fdd0) at ../../src/notifybyaudio.cpp:138
#13 0x00007f3c46c19475 in NotifyByAudio::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at moc_notifybyaudio.cpp:82
#14 0x00007f3c4744c9c9 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007f3c442373ad in ?? () from /usr/lib/x86_64-linux-gnu/libphonon4qt5.so.4
#16 0x00007f3c4744d73a in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007f3c47d25b2c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007f3c47d2b000 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007f3c4741bc2b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007f3c4741dc9b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007f3c47474843 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007f3c42652c3d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f3c42652f20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f3c42652fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f3c47474c57 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007f3c474193e2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007f3c4742102c in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007f3c4ab9885f in kdemain (argc=1, argv=0x7ffcff89ea18) at ../../src/main.cpp:90
#29 0x00007f3c4a7cda40 in __libc_start_main (main=0x400720 <main(int, char**)>, argc=1, argv=0x7ffcff89ea18, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffcff89ea08) at libc-start.c:289
#30 0x0000000000400759 in _start ()

Possible duplicates by query: bug 343508.

Reported using DrKonqi
Comment 1 skierpage 2015-05-25 06:46:09 UTC
I tried to reproduce several times: I selected all text in the browser page for that bug (so a different source for the clipboard but similar contents) and pasted it into vim, and no crash. My hard drive makes a ton of noise while pasting, iotop says "[jbd2/sdb2-8]" was doing the i/o, it's some kind of ext4 journal block device; might be unrelated.

I'm not sure what Phonon is doing in the NotifyByAudio::onAudioFinished, maybe I confirmed the paste while it was trying to playing the alert.
Comment 2 Christoph Feck 2015-05-31 18:37:50 UTC

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