Bug 291529

Summary: klipper crashed when create QRcode for large amount of words
Product: [Unmaintained] klipper Reporter: Emnkcn <emnkcn>
Component: generalAssignee: Esben Mose Hansen <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: adaptee, patrick.eigensatz, ramzzzay
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Emnkcn 2012-01-14 17:08:31 UTC
Application: klipper (v0.9.7)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.8.0
Operating System: Linux 3.2.0-2-ck x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
- What I was doing when the application crashed:

I copied a Chinese article(more than 300 characters) and I tempted to generate a QRCode for it,then it crashed :(

The crash can be reproduced every time.

-- Backtrace:
Application: Klipper (kdeinit4), signal: Segmentation fault
[KCrash Handler]
#6  0x00007fc2bcb6d4d2 in prison::DataMatrixBarcode::toImage(QSizeF const&) () from /usr/lib/libprison.so.0
#7  0x00007fc2bcb6c6f1 in prison::AbstractBarcode::paint(QPainter*, QRectF const&) () from /usr/lib/libprison.so.0
#8  0x00007fc2bcb6ccde in prison::BarcodeWidget::paintEvent(QPaintEvent*) () from /usr/lib/libprison.so.0
#9  0x00007fc2cf7f8f16 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#10 0x00007fc2cf7a8854 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#11 0x00007fc2cf7ad6d3 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#12 0x00007fc2d1400ef6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#13 0x00007fc2d063a0ac in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#14 0x00007fc2cf7f4bb6 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#15 0x00007fc2cf7f582f in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#16 0x00007fc2cf7f48ec in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#17 0x00007fc2cf7f582f in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#18 0x00007fc2cf7f48ec in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#19 0x00007fc2cf9c1b38 in ?? () from /usr/lib/libQtGui.so.4
#20 0x00007fc2cf9c1f03 in ?? () from /usr/lib/libQtGui.so.4
#21 0x00007fc2cf823cfa in ?? () from /usr/lib/libQtGui.so.4
#22 0x00007fc2cf824d79 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#23 0x00007fc2cf84c292 in ?? () from /usr/lib/libQtGui.so.4
#24 0x00007fc2cbf3884d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#25 0x00007fc2cbf39048 in ?? () from /usr/lib/libglib-2.0.so.0
#26 0x00007fc2cbf39219 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#27 0x00007fc2d06690ff in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#28 0x00007fc2cf84bf1e in ?? () from /usr/lib/libQtGui.so.4
#29 0x00007fc2d0638e92 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#30 0x00007fc2d06390e7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#31 0x00007fc2cfc74c66 in QDialog::exec() () from /usr/lib/libQtGui.so.4
#32 0x00007fc2bcd8b7d4 in ?? () from /usr/lib/libkdeinit4_klipper.so
#33 0x00007fc2bcd8d33d in ?? () from /usr/lib/libkdeinit4_klipper.so
#34 0x00007fc2d064e159 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#35 0x00007fc2cf7a23a2 in QAction::triggered(bool) () from /usr/lib/libQtGui.so.4
#36 0x00007fc2cf7a258f in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQtGui.so.4
#37 0x00007fc2cfbf02e9 in ?? () from /usr/lib/libQtGui.so.4
#38 0x00007fc2cfbf63f2 in ?? () from /usr/lib/libQtGui.so.4
#39 0x00007fc2d14c2040 in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libkdeui.so.5
#40 0x00007fc2cf7f8f64 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#41 0x00007fc2cfbf798b in QMenu::event(QEvent*) () from /usr/lib/libQtGui.so.4
#42 0x00007fc2cf7a8854 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#43 0x00007fc2cf7adfa3 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#44 0x00007fc2d1400ef6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#45 0x00007fc2d063a0ac in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#46 0x00007fc2cf7a9822 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#47 0x00007fc2cf825b85 in ?? () from /usr/lib/libQtGui.so.4
#48 0x00007fc2cf824a4a in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#49 0x00007fc2cf84c292 in ?? () from /usr/lib/libQtGui.so.4
#50 0x00007fc2cbf3884d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#51 0x00007fc2cbf39048 in ?? () from /usr/lib/libglib-2.0.so.0
#52 0x00007fc2cbf39219 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#53 0x00007fc2d06690ff in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#54 0x00007fc2cf84bf1e in ?? () from /usr/lib/libQtGui.so.4
#55 0x00007fc2d0638e92 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#56 0x00007fc2d06390e7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#57 0x00007fc2d063dc45 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#58 0x00007fc2bcda246e in kdemain () from /usr/lib/libkdeinit4_klipper.so
#59 0x00000000004083e4 in _start ()

Possible duplicates by query: bug 283300.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-01-16 03:22:31 UTC

*** This bug has been marked as a duplicate of bug 283300 ***
Comment 2 Patrick Eigensatz 2012-02-01 07:51:06 UTC
*** Bug 293005 has been marked as a duplicate of this bug. ***
Comment 3 ramzzzay 2013-07-13 12:35:53 UTC
Created attachment 81091 [details]
New crash information added by DrKonqi

klipper (0.9.7) on KDE Platform 4.10.5 using Qt 4.8.5

- What I was doing when the application crashed:

I'm copied a long text from my jabber conference and click "generate a QR Code" for it (text),then klipper was crashed .
( Я скопировал длинный тест из моей джаббер конференции и нажал в klipper "сгенерировать QR код" для него(текста),после чего klipper вывел мне сообщение об ошибке. )

-- Backtrace (Reduced):
#5  0x00007f3741a316d5 in prison::DataMatrixBarcode::toImage(QSizeF const&) () from /usr/lib/libprison.so.0
#6  0x00007f3741a3095a in prison::AbstractBarcode::paint(QPainter*, QRectF const&) () from /usr/lib/libprison.so.0
#7  0x00007f3741a30f7d in prison::BarcodeWidget::paintEvent(QPaintEvent*) () from /usr/lib/libprison.so.0
#8  0x00007f37576c44c4 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#9  0x00007f375767512c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4