Bug 263003 - Palapeli crashed after trying to create a new puzzle with 2100 pieces.
Summary: Palapeli crashed after trying to create a new puzzle with 2100 pieces.
Status: RESOLVED DUPLICATE of bug 236625
Alias: None
Product: palapeli
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Stefan Majewsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-13 05:55 UTC by Robert
Modified: 2011-01-31 00:50 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Greyscale JPEG file caused crash (279.81 KB, image/jpeg)
2011-01-14 06:07 UTC, Robert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert 2011-01-13 05:55:54 UTC
Application: palapeli (1.0)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-27-generic-pae i686
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
Puzzles with a smaller number of pieces have successfuly been created.
"Create new puzzle"-->select file-->enter data-->"Create"
Picture was 153.6Kb in jpg format.

 -- Backtrace:
Application: Palapeli (palapeli), signal: Segmentation fault
[KCrash Handler]
#6  0x0126b7cf in qt_fetchPixel<(QImage::Format)3> (buffer=<value optimized out>, data=<value optimized out>, y=0, x=0, length=41) at painting/qdrawhelper.cpp:388
#7  qt_fetchUntransformed<(QImage::Format)3> (buffer=<value optimized out>, data=<value optimized out>, y=0, x=0, length=41) at painting/qdrawhelper.cpp:545
#8  0x0127dc19 in blend_untransformed_generic<(SpanMethod)0> (count=41, spans=0xbf7fe270, userData=0xe7dc470) at painting/qdrawhelper.cpp:3351
#9  0x0127f981 in blend_untransformed_argb<(SpanMethod)0> (count=41, spans=0xbf7fe270, userData=0xe7dc470) at painting/qdrawhelper.cpp:3377
#10 0x01267cb0 in qBlendTexture (count=41, spans=0xbf7fe270, userData=0xe7dc470) at painting/qdrawhelper.cpp:6895
#11 0x01253275 in fillRect_normalized (r=<value optimized out>, data=<value optimized out>, pe=0xe7dc240) at painting/qpaintengine_raster.cpp:1511
#12 0x0125599c in QRasterPaintEngine::drawImage (this=0xdd8f858, p=..., img=...) at painting/qpaintengine_raster.cpp:2528
#13 0x011ddf64 in QPainter::drawImage (this=0xbf7fed1c, p=..., image=...) at painting/qpainter.cpp:5527
#14 0x00f2b9de in QPainter::drawImage (this=0xbf7ff1d4, pieceID=0, mask=..., offset=...) at /usr/include/qt4/QtGui/qpainter.h:887
#15 Pala::SlicerJob::addPieceFromMask (this=0xbf7ff1d4, pieceID=0, mask=..., offset=...) at /build/buildd/kdegames-4.4.5/palapeli/libpala/slicerjob.cpp:114
#16 0x0725d2e8 in JigsawSlicer::run (this=0xdcb1a38, job=0xbf7ff1d4) at /build/buildd/kdegames-4.4.5/palapeli/slicers/slicer-jigsaw.cpp:200
#17 0x00f2a3be in Pala::Slicer::process (this=0xdcb1a38, job=0xbf7ff1d4) at /build/buildd/kdegames-4.4.5/palapeli/libpala/slicer.cpp:71
#18 0x08060daf in Palapeli::PuzzleCreatorDialog::createPuzzle (this=0xda316a0) at /build/buildd/kdegames-4.4.5/palapeli/src/creator/puzzlecreator.cpp:142
#19 0x08061d73 in Palapeli::PuzzleCreatorDialog::qt_metacall (this=0xda316a0, _c=QMetaObject::InvokeMetaMethod, _id=75, _a=0xbf7ff33c)
    at /build/buildd/kdegames-4.4.5/obj-i486-linux-gnu/palapeli/src/puzzlecreator.moc:78
#20 0x06b05c9a in QMetaObject::metacall (object=0xda316a0, cl=QMetaObject::InvokeMetaMethod, idx=75, argv=0xbf7ff33c) at kernel/qmetaobject.cpp:237
#21 0x06b143d5 in QMetaObject::activate (sender=0xda316a0, m=0x808b348, local_signal_index=9, argv=0x0) at kernel/qobject.cpp:3293
#22 0x00859eb7 in KDialog::okClicked (this=0xda316a0) at ./kdialog.moc:258
#23 0x0085c4c8 in KDialog::slotButtonClicked (this=0xda316a0, button=4) at ../../kdeui/dialogs/kdialog.cpp:862
#24 0x0085e5e9 in KDialog::qt_metacall (this=0xda316a0, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0xbf7ff528) at ./kdialog.moc:190
#25 0x08061d2f in Palapeli::PuzzleCreatorDialog::qt_metacall (this=0xda316a0, _c=QMetaObject::InvokeMetaMethod, _id=69, _a=0xbf7ff528)
    at /build/buildd/kdegames-4.4.5/obj-i486-linux-gnu/palapeli/src/puzzlecreator.moc:71
#26 0x06b05c9a in QMetaObject::metacall (object=0xda316a0, cl=QMetaObject::InvokeMetaMethod, idx=69, argv=0xbf7ff528) at kernel/qmetaobject.cpp:237
#27 0x06b143d5 in QMetaObject::activate (sender=0xdc35748, m=0x6c130f8, local_signal_index=0, argv=0xbf7ff528) at kernel/qobject.cpp:3293
#28 0x06b19b13 in QSignalMapper::mapped (this=0xdc35748, _t1=4) at .moc/release-shared/moc_qsignalmapper.cpp:101
#29 0x06b1ad8d in QSignalMapper::map (this=0xdc35748, sender=0x99ce4c0) at kernel/qsignalmapper.cpp:266
#30 0x06b1af6e in QSignalMapper::map (this=0xdc35748) at kernel/qsignalmapper.cpp:257
#31 0x06b1b03b in QSignalMapper::qt_metacall (this=0xdc35748, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbf7ff6c8) at .moc/release-shared/moc_qsignalmapper.cpp:87
#32 0x06b05c9a in QMetaObject::metacall (object=0xdc35748, cl=QMetaObject::InvokeMetaMethod, idx=8, argv=0xbf7ff6c8) at kernel/qmetaobject.cpp:237
#33 0x06b143d5 in QMetaObject::activate (sender=0x99ce4c0, m=0x19a18c4, local_signal_index=2, argv=0xbf7ff6c8) at kernel/qobject.cpp:3293
#34 0x01791479 in QAbstractButton::clicked (this=0x99ce4c0, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#35 0x01470ea9 in QAbstractButtonPrivate::emitClicked (this=0xdc6e2d8) at widgets/qabstractbutton.cpp:546
#36 0x01471cf4 in QAbstractButtonPrivate::click (this=0xdc6e2d8) at widgets/qabstractbutton.cpp:539
#37 0x01471fae in QAbstractButton::mouseReleaseEvent (this=0x99ce4c0, e=0xbf7ffe00) at widgets/qabstractbutton.cpp:1121
#38 0x010c47f8 in QWidget::event (this=0x99ce4c0, event=0xbf7ffe00) at kernel/qwidget.cpp:7998
#39 0x01470d4e in QAbstractButton::event (this=0x99ce4c0, e=0x0) at widgets/qabstractbutton.cpp:1080
#40 0x0151b1f2 in QPushButton::event (this=0x99ce4c0, e=0xbf7ffe00) at widgets/qpushbutton.cpp:679
#41 0x010664dc in QApplicationPrivate::notify_helper (this=0x8c49fb0, receiver=0x99ce4c0, e=0xbf7ffe00) at kernel/qapplication.cpp:4300
#42 0x0106d9f7 in QApplication::notify (this=0xbf8018fc, receiver=0x99ce4c0, e=0xbf7ffe00) at kernel/qapplication.cpp:3865
#43 0x008fb40a in KApplication::notify (this=0xbf8018fc, receiver=0x99ce4c0, event=0xbf7ffe00) at ../../kdeui/kernel/kapplication.cpp:302
#44 0x06b00a3b in QCoreApplication::notifyInternal (this=0xbf8018fc, receiver=0x99ce4c0, event=0xbf7ffe00) at kernel/qcoreapplication.cpp:704
#45 0x0106c952 in QCoreApplication::sendEvent (receiver=0x99ce4c0, event=0xbf7ffe00, alienWidget=0x99ce4c0, nativeWidget=0xd9fdb38, buttonDown=0x19aa058, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#46 QApplicationPrivate::sendMouseEvent (receiver=0x99ce4c0, event=0xbf7ffe00, alienWidget=0x99ce4c0, nativeWidget=0xd9fdb38, buttonDown=0x19aa058, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
#47 0x010f8088 in QETWidget::translateMouseEvent (this=0xd9fdb38, event=0xbf80031c) at kernel/qapplication_x11.cpp:4368
#48 0x010f7511 in QApplication::x11ProcessEvent (this=0xbf8018fc, event=0xbf80031c) at kernel/qapplication_x11.cpp:3379
#49 0x0112660a in x11EventSourceDispatch (s=0x8c4ccf8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#50 0x049ff5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#51 0x04a032d8 in ?? () from /lib/libglib-2.0.so.0
#52 0x04a034b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#53 0x06b2c5d5 in QEventDispatcherGlib::processEvents (this=0x8c36090, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#54 0x01126135 in QGuiEventDispatcherGlib::processEvents (this=0x8c36090, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#55 0x06aff059 in QEventLoop::processEvents (this=0xbf800610, flags=) at kernel/qeventloop.cpp:149
#56 0x06aff4aa in QEventLoop::exec (this=0xbf800610, flags=...) at kernel/qeventloop.cpp:201
#57 0x015a54f3 in QDialog::exec (this=0xda316a0) at dialogs/qdialog.cpp:546
#58 0x0807eee1 in Palapeli::MainWindow::createPuzzle (this=0x8d7c0e8) at /build/buildd/kdegames-4.4.5/palapeli/src/window/mainwindow.cpp:145
#59 0x0807fbab in Palapeli::MainWindow::qt_metacall (this=0x8d7c0e8, _c=QMetaObject::InvokeMetaMethod, _id=46, _a=0xbf80076c)
    at /build/buildd/kdegames-4.4.5/obj-i486-linux-gnu/palapeli/src/mainwindow.moc:79
#60 0x06b05c9a in QMetaObject::metacall (object=0x8d7c0e8, cl=QMetaObject::InvokeMetaMethod, idx=46, argv=0xbf80076c) at kernel/qmetaobject.cpp:237
#61 0x06b143d5 in QMetaObject::activate (sender=0x8d6f470, m=0x8086d58, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#62 0x0807c9b9 in Palapeli::CollectionWidget::createRequest (this=0x8d6f470) at /build/buildd/kdegames-4.4.5/obj-i486-linux-gnu/palapeli/src/collectionwidget.moc:100
#63 0x0807d31b in Palapeli::CollectionWidget::qt_metacall (this=0x8d6f470, _c=QMetaObject::InvokeMetaMethod, _id=41, _a=0xbf8008d8)
    at /build/buildd/kdegames-4.4.5/obj-i486-linux-gnu/palapeli/src/collectionwidget.moc:84
#64 0x06b05c9a in QMetaObject::metacall (object=0x8d6f470, cl=QMetaObject::InvokeMetaMethod, idx=41, argv=0xbf8008d8) at kernel/qmetaobject.cpp:237
#65 0x06b143d5 in QMetaObject::activate (sender=0x8d9d168, m=0x198ed58, local_signal_index=1, argv=0xbf8008d8) at kernel/qobject.cpp:3293
#66 0x0105fbd9 in QAction::triggered (this=0x8d9d168, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#67 0x01061dcc in QAction::activate (this=0x8d9d168, event=QAction::Trigger) at kernel/qaction.cpp:1255
#68 0x01554bd2 in QAction::trigger (this=0x0) at ../../include/QtGui/../../src/gui/kernel/qaction.h:218
#69 QToolButton::nextCheckState (this=0x0) at widgets/qtoolbutton.cpp:1147
#70 0x01471cb3 in QAbstractButtonPrivate::click (this=0x8dd1730) at widgets/qabstractbutton.cpp:528
#71 0x01471fae in QAbstractButton::mouseReleaseEvent (this=0x8dd1718, e=0xbf801040) at widgets/qabstractbutton.cpp:1121
#72 0x0155509c in QToolButton::mouseReleaseEvent (this=0x8dd1718, e=0xbf801040) at widgets/qtoolbutton.cpp:721
#73 0x010c47f8 in QWidget::event (this=0x8dd1718, event=0xbf801040) at kernel/qwidget.cpp:7998
#74 0x01470d4e in QAbstractButton::event (this=0x8dd1718, e=0x0) at widgets/qabstractbutton.cpp:1080
#75 0x01557bca in QToolButton::event (this=0x8dd1718, event=0xbf801040) at widgets/qtoolbutton.cpp:1163
#76 0x010664dc in QApplicationPrivate::notify_helper (this=0x8c49fb0, receiver=0x8dd1718, e=0xbf801040) at kernel/qapplication.cpp:4300
#77 0x0106d9f7 in QApplication::notify (this=0xbf8018fc, receiver=0x8dd1718, e=0xbf801040) at kernel/qapplication.cpp:3865
#78 0x008fb40a in KApplication::notify (this=0xbf8018fc, receiver=0x8dd1718, event=0xbf801040) at ../../kdeui/kernel/kapplication.cpp:302
#79 0x06b00a3b in QCoreApplication::notifyInternal (this=0xbf8018fc, receiver=0x8dd1718, event=0xbf801040) at kernel/qcoreapplication.cpp:704
#80 0x0106c952 in QCoreApplication::sendEvent (receiver=0x8dd1718, event=0xbf801040, alienWidget=0x8dd1718, nativeWidget=0x8d6f470, buttonDown=0x19aa058, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#81 QApplicationPrivate::sendMouseEvent (receiver=0x8dd1718, event=0xbf801040, alienWidget=0x8dd1718, nativeWidget=0x8d6f470, buttonDown=0x19aa058, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
#82 0x010f8088 in QETWidget::translateMouseEvent (this=0x8d6f470, event=0xbf80155c) at kernel/qapplication_x11.cpp:4368
#83 0x010f7511 in QApplication::x11ProcessEvent (this=0xbf8018fc, event=0xbf80155c) at kernel/qapplication_x11.cpp:3379
#84 0x0112660a in x11EventSourceDispatch (s=0x8c4ccf8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#85 0x049ff5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#86 0x04a032d8 in ?? () from /lib/libglib-2.0.so.0
#87 0x04a034b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#88 0x06b2c5d5 in QEventDispatcherGlib::processEvents (this=0x8c36090, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#89 0x01126135 in QGuiEventDispatcherGlib::processEvents (this=0x8c36090, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#90 0x06aff059 in QEventLoop::processEvents (this=0xbf801854, flags=) at kernel/qeventloop.cpp:149
#91 0x06aff4aa in QEventLoop::exec (this=0xbf801854, flags=...) at kernel/qeventloop.cpp:201
#92 0x06b0369f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#93 0x01066577 in QApplication::exec () at kernel/qapplication.cpp:3579
#94 0x0807c8c4 in main (argc=1, argv=0xbf801a64) at /build/buildd/kdegames-4.4.5/palapeli/src/main.cpp:54

Reported using DrKonqi
Comment 1 Robert 2011-01-14 06:07:29 UTC
Created attachment 55996 [details]
Greyscale JPEG file caused crash

Crash seems to occur only with a JPEG file in greyscale mode. Same picture in RGB mode works fine.
Comment 2 Dario Andres 2011-01-31 00:50:37 UTC
[Comment from a bug triager]
This issue is being tracked at bug 236625. Merging. Thanks

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