Bug 354345 - Seg-fault when create new on RPi2, very similar or same as #335382 from 2014
Summary: Seg-fault when create new on RPi2, very similar or same as #335382 from 2014
Status: RESOLVED DUPLICATE of bug 335382
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 2.8.5
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-10-25 10:47 UTC by Johan Thelmen
Modified: 2015-10-25 13:58 UTC (History)
1 user (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 Johan Thelmen 2015-10-25 10:47:50 UTC
Application: krita (2.8.5)
KDE Platform Version: 4.14.2
Qt Version: 4.8.6
Operating System: Linux 4.1.7-v7+ armv7l
Distribution: Raspbian GNU/Linux 8.0 (jessie)

-- Information about the crash:
- What I was doing when the application crashed:
Similar to https://bugs.kde.org/show_bug.cgi?id=335382 from 2014 also on arm. This time on RasberryPi2 with updated Rasbian, Default Debian on RPi.
Needed to add extra swap to allow for gdb to run and have now almost no free space on sdcard after all 1,4GB -dbg packets (with download and install).
-- 
Johan Thelmén

The crash can be reproduced every time.

-- Backtrace:
Application: Krita (krita), signal: Segmentation fault
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
[Current thread is 1 (Thread 0x73413000 (LWP 2187))]

Thread 5 (Thread 0x6f0f7410 (LWP 2188)):
#0  0x742e37a4 in __pthread_cond_wait (cond=0x1a882d8, mutex=0x1a882c0) at pthread_cond_wait.c:187
#1  0x76e24498 in __pthread_cond_wait (cond=<optimized out>, mutex=<optimized out>) at forward.c:149
#2  0x75b2a318 in wait (time=4294967295, this=0x1a882c0) at thread/qwaitcondition_unix.cpp:86
#3  QWaitCondition::wait (this=<optimized out>, mutex=0x6f0f78d0, mutex@entry=0x1a88288, time=time@entry=4294967295) at thread/qwaitcondition_unix.cpp:158
#4  0x75b25f54 in QSemaphore::acquire (this=0x1a880c0, n=1) at thread/qsemaphore.cpp:144
#5  0x755c519c in KisTileDataPooler::waitForWork (this=0x1a880b8) at /build/calligra-3GfiLf/calligra-2.8.5+dfsg/krita/image/tiles3/kis_tile_data_pooler.cc:162
#6  0x755c55ac in KisTileDataPooler::run (this=0x1a880b8) at /build/calligra-3GfiLf/calligra-2.8.5+dfsg/krita/image/tiles3/kis_tile_data_pooler.cc:184
#7  0x75b29d74 in QThreadPrivate::start (arg=0x1a880b8) at thread/qthread_unix.cpp:349
#8  0x742dee90 in start_thread (arg=0x6f0f7410) at pthread_create.c:311
#9  0x76e17128 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 4 (Thread 0x6e8f7410 (LWP 2189)):
#0  0x742e37a4 in __pthread_cond_wait (cond=0x1a88550, mutex=0x1a88538) at pthread_cond_wait.c:187
#1  0x76e24498 in __pthread_cond_wait (cond=<optimized out>, mutex=<optimized out>) at forward.c:149
#2  0x75b2a318 in wait (time=4294967295, this=0x1a88538) at thread/qwaitcondition_unix.cpp:86
#3  QWaitCondition::wait (this=<optimized out>, mutex=0x6dd028d0, mutex@entry=0x1a88500, time=time@entry=4294967295) at thread/qwaitcondition_unix.cpp:158
#4  0x75b263dc in QSemaphore::tryAcquire (this=0x1a884d8, n=n@entry=1, timeout=timeout@entry=-1) at thread/qsemaphore.cpp:221
#5  0x755e27ec in KisTileDataSwapper::waitForWork (this=this@entry=0x1a880d8) at /build/calligra-3GfiLf/calligra-2.8.5+dfsg/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:86
#6  0x755e2a54 in KisTileDataSwapper::run (this=0x1a880d8) at /build/calligra-3GfiLf/calligra-2.8.5+dfsg/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#7  0x75b29d74 in QThreadPrivate::start (arg=0x1a880d8) at thread/qthread_unix.cpp:349
#8  0x742dee90 in start_thread (arg=0x6e8f7410) at pthread_create.c:311
#9  0x76e17128 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 3 (Thread 0x6dcff410 (LWP 2212)):
#0  0x742e37a4 in __pthread_cond_wait (cond=0x22414a0, mutex=0x2241488) at pthread_cond_wait.c:187
#1  0x76e24498 in __pthread_cond_wait (cond=<optimized out>, mutex=<optimized out>) at forward.c:149
#2  0x75b2a318 in wait (time=4294967295, this=0x2241488) at thread/qwaitcondition_unix.cpp:86
#3  QWaitCondition::wait (this=this@entry=0x2241188, mutex=0x6a8970d8, mutex@entry=0x1, time=time@entry=4294967295) at thread/qwaitcondition_unix.cpp:158
#4  0x765f8d80 in QFileInfoGatherer::run (this=0x2241170) at dialogs/qfileinfogatherer.cpp:214
#5  0x75b29d74 in QThreadPrivate::start (arg=0x2241170) at thread/qthread_unix.cpp:349
#6  0x742dee90 in start_thread (arg=0x6dcff410) at pthread_create.c:311
#7  0x76e17128 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 2 (Thread 0x62be1410 (LWP 2213)):
#0  unlock (this=<optimized out>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:120
#1  ~QMutexLocker (this=<optimized out>, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:115
#2  canWaitLocked (this=0x2241750) at ../../include/QtCore/private/../../../src/corelib/thread/qthread_p.h:229
#3  postEventSourcePrepare (s=0x2248560, timeout=0x62be0c88) at kernel/qeventdispatcher_glib.cpp:263
#4  0x741f8a90 in g_main_context_prepare () from /lib/arm-linux-gnueabihf/libglib-2.0.so.0
#5  0x741f9458 in ?? () from /lib/arm-linux-gnueabihf/libglib-2.0.so.0
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (Thread 0x73413000 (LWP 2187)):
[KCrash Handler]
#6  0x020e43a0 in ?? ()
#7  0x6bd64a30 in KisColor::KisColor (this=0x20a9e90, type=<optimized out>) at /build/calligra-3GfiLf/calligra-2.8.5+dfsg/krita/plugins/extensions/dockers/artisticcolorselector/kis_color.cpp:79
#8  0x6bd6e14c in ColorRing (this=0x20a9edc) at /build/calligra-3GfiLf/calligra-2.8.5+dfsg/krita/plugins/extensions/dockers/artisticcolorselector/kis_color_selector.h:42
#9  QVector<KisColorSelector::ColorRing>::realloc (this=this@entry=0x20a9c68, asize=asize@entry=9, aalloc=<optimized out>) at /usr/include/qt4/QtCore/qvector.h:537
#10 0x6bd6a1c8 in resize (asize=9, this=0x20a9c68) at /usr/include/qt4/QtCore/qvector.h:343
#11 KisColorSelector::recalculateRings (this=this@entry=0x20a9b68, numRings=numRings@entry=9 '\t', numPieces=numPieces@entry=12 '\f') at /build/calligra-3GfiLf/calligra-2.8.5+dfsg/krita/plugins/extensions/dockers/artisticcolorselector/kis_color_selector.cpp:317
#12 0x6bd6dc6c in KisColorSelector::KisColorSelector (this=0x20a9b68, parent=<optimized out>, type=<optimized out>) at /build/calligra-3GfiLf/calligra-2.8.5+dfsg/krita/plugins/extensions/dockers/artisticcolorselector/kis_color_selector.cpp:53
#13 0x6bd636a4 in Ui_wdgArtisticColorSelector::setupUi (this=0x226009c, wdgArtisticColorSelector=0x2260088) at /build/calligra-3GfiLf/calligra-2.8.5+dfsg/obj-arm-linux-gnueabihf/krita/plugins/extensions/dockers/artisticcolorselector/ui_wdgArtisticColorSelector.h:70
#14 0x6bd620ec in ArtisticColorSelectorDock::ArtisticColorSelectorDock (this=0x224d1d8) at /build/calligra-3GfiLf/calligra-2.8.5+dfsg/krita/plugins/extensions/dockers/artisticcolorselector/artisticcolorselector_dock.cpp:36
#15 0x6bd61c14 in ArtisticColorSelectorDockFactory::createDockWidget (this=0x1b41278) at /build/calligra-3GfiLf/calligra-2.8.5+dfsg/krita/plugins/extensions/dockers/artisticcolorselector/artisticcolorselector_plugin.cpp:41
#16 0x7695dd3c in KoMainWindow::createDockWidget (this=0x1ba8b70, factory=factory@entry=0x1b41278) at /build/calligra-3GfiLf/calligra-2.8.5+dfsg/libs/main/KoMainWindow.cpp:1803
#17 0x76989b30 in KoView::KoView (this=0x1f5d710, part=<optimized out>, document=0x0, parent=<optimized out>) at /build/calligra-3GfiLf/calligra-2.8.5+dfsg/libs/main/KoView.cpp:193
#18 0x76bd04d0 in KisView2::KisView2 (this=0x1f5d710, part=<optimized out>, doc=0x19197a8, parent=<optimized out>) at /build/calligra-3GfiLf/calligra-2.8.5+dfsg/krita/ui/kis_view2.cpp:229
#19 0x76b4b370 in KisPart2::createViewInstance (this=0x194c700, document=0x19197a8, parent=0x1ba8b70) at /build/calligra-3GfiLf/calligra-2.8.5+dfsg/krita/ui/kis_part2.cpp:77
#20 0x769caed0 in KoPart::createView (this=0x194c700, document=0x769caed0 <KoPart::createView(KoDocument*, QWidget*)+156>, document@entry=0x1645168, parent=parent@entry=0x1ba8b70) at /build/calligra-3GfiLf/calligra-2.8.5+dfsg/libs/main/KoPart.cpp:136
#21 0x769594b8 in KoMainWindow::setRootDocument (this=0x1ba8b70, doc=0x1645168, part=0x0, part@entry=0x194c700, deletePrevious=deletePrevious@entry=true) at /build/calligra-3GfiLf/calligra-2.8.5+dfsg/libs/main/KoMainWindow.cpp:544
#22 0x769ca6dc in KoPart::deleteOpenPane (this=0x194c700, closing=<optimized out>) at /build/calligra-3GfiLf/calligra-2.8.5+dfsg/libs/main/KoPart.cpp:342
#23 0x75c4a2ac in QMetaObject::activate (sender=0x1dccd00, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3567
#24 0x75c4a2ac in QMetaObject::activate (sender=0x1da2470, sender@entry=0x1da0718, m=<optimized out>, local_signal_index=local_signal_index@entry=2, argv=0x7ee5ebc4, argv@entry=0x7ee5ebbc) at kernel/qobject.cpp:3567
#25 0x76773e70 in QAbstractButton::clicked (this=this@entry=0x1da0718, _t1=118) at .moc/release-shared/moc_qabstractbutton.cpp:219
#26 0x764bd608 in QAbstractButtonPrivate::emitClicked (this=this@entry=0x1da0730) at widgets/qabstractbutton.cpp:548
#27 0x764be978 in QAbstractButtonPrivate::click (this=this@entry=0x1da0730) at widgets/qabstractbutton.cpp:541
#28 0x764bea80 in QAbstractButton::mouseReleaseEvent (this=0x1da0718, e=0x7ee5ef54) at widgets/qabstractbutton.cpp:1123
#29 0x761791a4 in QWidget::event (this=0x1da0718, event=0x7ee5ef54) at kernel/qwidget.cpp:8389
#30 0x76124880 in QApplicationPrivate::notify_helper (this=this@entry=0x16ad1b0, receiver=receiver@entry=0x1da0718, e=0x7ee5ef54) at kernel/qapplication.cpp:4570
#31 0x7612c148 in QApplication::notify (this=<optimized out>, receiver=receiver@entry=0x1da0718, e=e@entry=0x7ee5ef54) at kernel/qapplication.cpp:4113
#32 0x7692d65c in KoApplication::notify (this=<optimized out>, receiver=0x1da0718, event=0x7ee5ef54) at /build/calligra-3GfiLf/calligra-2.8.5+dfsg/libs/main/KoApplication.cpp:617
#33 0x75c33bf4 in QCoreApplication::notifyInternal (this=0x7ee5f3c8, receiver=0x1da0718, receiver@entry=0x7612b1ec <QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool)+284>, event=event@entry=0x7ee5ef54) at kernel/qcoreapplication.cpp:955
#34 0x7612b1ec in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#35 QApplicationPrivate::sendMouseEvent (receiver=0x7612b1ec <QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool)+284>, receiver@entry=0x7ee5ef28, event=event@entry=0x7ee5ef54, alienWidget=alienWidget@entry=0x1da0718, nativeWidget=0x0, nativeWidget@entry=0x1ba8b70, buttonDown=buttonDown@entry=0x768e7a10 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#36 0x761a223c in QETWidget::translateMouseEvent (this=this@entry=0x1ba8b70, event=event@entry=0x7ee5f144) at kernel/qapplication_x11.cpp:4540
#37 0x761a1068 in QApplication::x11ProcessEvent (this=0x7ee5f3c8, event=event@entry=0x7ee5f144) at kernel/qapplication_x11.cpp:3663
#38 0x761c8d54 in x11EventSourceDispatch (s=0x16ab948, callback=0x7e4, user_data=0x76fb2f10 <__stack_chk_guard>) at kernel/qguieventdispatcher_glib.cpp:146
#39 0x741f9320 in g_main_context_dispatch () from /lib/arm-linux-gnueabihf/libglib-2.0.so.0
#40 0x741f9588 in ?? () from /lib/arm-linux-gnueabihf/libglib-2.0.so.0
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Possible duplicates by query: bug 335382.

Reported using DrKonqi
Comment 1 Halla Rempt 2015-10-25 13:58:32 UTC
Please upgrade to 2.9, that should have the fix mentioned in the duplicate bug.

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