Bug 277137 - Clicking on "," key after transforming a layer get a crash
Summary: Clicking on "," key after transforming a layer get a crash
Status: RESOLVED DUPLICATE of bug 276150
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-05 13:18 UTC by sinozzuke
Modified: 2011-07-06 14:08 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (8.57 KB, text/plain)
2011-07-05 13:43 UTC, sinozzuke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sinozzuke 2011-07-05 13:18:58 UTC
Application: krita (2.4 Alpha 2)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-10-generic x86_64
Distribution: KXStudio 11.04

-- Information about the crash:
- What I was doing when the application crashed:
1. Paste a layer from internet
2. Paste another layer from internet
3. Try to resize and transform first layer
4. When you want to transform the second layer, something goes wrong, the transforms get the shape of the old layer
5. Select tool > nothing
6. After pressing M and N for error (the mypaint color selector) press "," and get a crash

-- Backtrace:
Application: Krita (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fb508cb7780 (LWP 3214))]

Thread 7 (Thread 0x7fb4e32e9700 (LWP 3218)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb50785b82b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007fb507858235 in QSemaphore::acquire(int) () from /usr/lib/libQtCore.so.4
#3  0x00007fb4f5574b7e in KisTileDataPooler::waitForWork (this=0x5e52510) at /home/sinozzuke/kde4/src/calligra/krita/image/tiles3/kis_tile_data_pooler.cc:162
#4  0x00007fb4f5575264 in KisTileDataPooler::run (this=0x5e52510) at /home/sinozzuke/kde4/src/calligra/krita/image/tiles3/kis_tile_data_pooler.cc:184
#5  0x00007fb50785b175 in ?? () from /usr/lib/libQtCore.so.4
#6  0x00007fb50405bd8c in start_thread (arg=0x7fb4e32e9700) at pthread_create.c:304
#7  0x00007fb50659204d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fb4e3aea700 (LWP 3219)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb50785b82b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007fb507858469 in QSemaphore::tryAcquire(int, int) () from /usr/lib/libQtCore.so.4
#3  0x00007fb4f5595aba in KisTileDataSwapper::run (this=0x5e52548) at /home/sinozzuke/kde4/src/calligra/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#4  0x00007fb50785b175 in ?? () from /usr/lib/libQtCore.so.4
#5  0x00007fb50405bd8c in start_thread (arg=0x7fb4e3aea700) at pthread_create.c:304
#6  0x00007fb50659204d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fb4e2ae8700 (LWP 3225)):
#0  sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:86
#1  0x00007fb4d6c623fc in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#2  0x00007fb4d6667d08 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#3  0x00007fb4d6667bcd in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#4  0x00007fb50405bd8c in start_thread (arg=0x7fb4e2ae8700) at pthread_create.c:304
#5  0x00007fb50659204d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fb4d7cdb700 (LWP 3226)):
#0  sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:86
#1  0x00007fb4d6c623fc in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#2  0x00007fb4d6667d08 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#3  0x00007fb4d6667bcd in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#4  0x00007fb50405bd8c in start_thread (arg=0x7fb4d7cdb700) at pthread_create.c:304
#5  0x00007fb50659204d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fb4d01b8700 (LWP 3227)):
#0  0x00007fb50658a143 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007fb50796a32c in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) () from /usr/lib/libQtCore.so.4
#2  0x00007fb50796f3d0 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timeval*) () from /usr/lib/libQtCore.so.4
#3  0x00007fb50797004a in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007fb507941882 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007fb507941abc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007fb507858924 in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007fb507923c2f in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007fb50785b175 in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007fb50405bd8c in start_thread (arg=0x7fb4d01b8700) at pthread_create.c:304
#10 0x00007fb50659204d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fb4cf9b7700 (LWP 7084)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007fb4cf9b6bf0 in ?? ()
#2  0x00007fff1ad8a7b2 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (Thread 0x7fb508cb7780 (LWP 3214)):
[KCrash Handler]
#6  KisSharedPtr (this=0x0) at /home/sinozzuke/kde4/src/calligra/krita/image/kis_shared_ptr.h:102
#7  KisPaintOpPreset::settings (this=0x0) at /home/sinozzuke/kde4/src/calligra/krita/image/brushengine/kis_paintop_preset.cpp:111
#8  0x00007fb4f5b750a5 in KisToolFreehand::decreaseBrushSize (this=0x7fb4dca132d0) at /home/sinozzuke/kde4/src/calligra/krita/ui/tool/kis_tool_freehand.cc:669
#9  0x00007fb4f5b7543c in KisToolFreehand::qt_metacall (this=0x7fb4dca132d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff1ac06830) at /home/sinozzuke/kde4/build/calligra/krita/ui/kis_tool_freehand.moc:84
#10 0x00007fb4e1eda5f0 in KisToolDyna::qt_metacall (this=0x7fb4dca132d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff1ac06830) at /home/sinozzuke/kde4/build/calligra/krita/plugins/tools/tool_dyna/kis_tool_dyna.moc:80
#11 0x00007fb5079575f8 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#12 0x00007fb506cf9291 in QAction::activated(int) () from /usr/lib/libQtGui.so.4
#13 0x00007fb506cf9325 in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQtGui.so.4
#14 0x00007fb506cf947f in QAction::event(QEvent*) () from /usr/lib/libQtGui.so.4
#15 0x00007fb5085df51a in KAction::event(QEvent*) () from /usr/lib/libkdeui.so.5
#16 0x00007fb506cff9f4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#17 0x00007fb506d043ba in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#18 0x00007fb5086bd866 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#19 0x00007fb50794249c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#20 0x00007fb506d31bf0 in ?? () from /usr/lib/libQtGui.so.4
#21 0x00007fb506d33098 in ?? () from /usr/lib/libQtGui.so.4
#22 0x00007fb506d05d25 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#23 0x00007fb5086bd866 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#24 0x00007fb50794249c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#25 0x00007fb506da53d9 in ?? () from /usr/lib/libQtGui.so.4
#26 0x00007fb506da5856 in ?? () from /usr/lib/libQtGui.so.4
#27 0x00007fb506d8072f in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#28 0x00007fb506daa224 in ?? () from /usr/lib/libQtGui.so.4
#29 0x00007fb507941882 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#30 0x00007fb507941abc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#31 0x00007fb507945ecb in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#32 0x00007fb4f5e79685 in kdemain (argc=<value optimized out>, argv=0x1d69a20) at /home/sinozzuke/kde4/src/calligra/krita/main.cc:49
#33 0x0000000000406dd3 in _start ()

Reported using DrKonqi
Comment 1 sinozzuke 2011-07-05 13:43:48 UTC
Created attachment 61623 [details]
New crash information added by DrKonqi

krita (2.4 Alpha 2) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2

- What I was doing when the application crashed:

The same problem, it's a duplicate of the "," key error

-- Backtrace (Reduced):
#6  KisSharedPtr (this=0x0) at /home/sinozzuke/kde4/src/calligra/krita/image/kis_shared_ptr.h:102
#7  KisPaintOpPreset::settings (this=0x0) at /home/sinozzuke/kde4/src/calligra/krita/image/brushengine/kis_paintop_preset.cpp:111
#8  0x00007fb4f5b750a5 in KisToolFreehand::decreaseBrushSize (this=0x89904f0) at /home/sinozzuke/kde4/src/calligra/krita/ui/tool/kis_tool_freehand.cc:669
#9  0x00007fb4f5b7543c in KisToolFreehand::qt_metacall (this=0x89904f0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff1ac06830) at /home/sinozzuke/kde4/build/calligra/krita/ui/kis_tool_freehand.moc:84
#10 0x00007fb4e1eda5f0 in KisToolDyna::qt_metacall (this=0x89904f0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff1ac06830) at /home/sinozzuke/kde4/build/calligra/krita/plugins/tools/tool_dyna/kis_tool_dyna.moc:80
Comment 2 LukasT 2011-07-06 14:08:59 UTC
Whenever , or . is pressed in tool different from freehand tool, it crashes.

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