[Bug 269794] New: F15 Krita crashes when setting model to grayscale(without transparency)

Reartes Guillermo rtguille at gmail.com
Thu Mar 31 00:16:45 BST 2011


https://bugs.kde.org/show_bug.cgi?id=269794

           Summary: F15 Krita crashes when setting model to
                    grayscale(without transparency)
           Product: kde
           Version: unspecified
          Platform: Fedora RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: unassigned-bugs at kde.org
        ReportedBy: rtguille at gmail.com


Version:           unspecified (using KDE 4.6.1) 
OS:                Linux

Krita crashes (info below):

Application: Krita (krita), signal: Segmentation fault
pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
162    62:    movl    (%rsp), %edi
[Current thread is 1 (Thread 0x7f5d7f7f18c0 (LWP 11818))]

Thread 3 (Thread 0x7f5d69145700 (LWP 11820)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00000031b88745bb in wait (time=18446744073709551615, this=0x5b0fa10) at
thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x5aaf8b0,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00000031b8871209 in QSemaphore::tryAcquire (this=0x5b0f950, n=1,
timeout=-1) at thread/qsemaphore.cpp:221
#4  0x0000003548e9f4ca in KisTileDataSwapper::run (this=0x5b0f190) at
/usr/src/debug/koffice-2.3.3/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:90
#5  0x00000031b8874125 in QThreadPrivate::start (arg=0x5b0f190) at
thread/qthread_unix.cpp:320
#6  0x00000031afc07d0b in start_thread (arg=0x7f5d69145700) at
pthread_create.c:301
#7  0x00000031af4dfb7d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f5d68944700 (LWP 11854)):
[KCrash Handler]
#6  QString (other=) at /usr/include/QtCore/qstring.h:728
#7  KoCompositeOp::id (this=0x0) at
/usr/src/debug/koffice-2.3.3/libs/pigment/KoCompositeOp.cpp:98
#8  0x0000003548ea63e7 in KisPainter::bitBlt (this=0x7f5d68943b20, dstX=0,
dstY=0, srcDev=..., srcX=0, srcY=0, srcWidth=734, srcHeight=968) at
/usr/src/debug/koffice-2.3.3/krita/image/kis_painter.cc:431
#9  0x0000003548ea8de9 in KisPainter::bitBlt (this=<optimized out>,
pos=<optimized out>, srcDev=<optimized out>, srcRect=<optimized out>) at
/usr/src/debug/koffice-2.3.3/krita/image/kis_painter.cc:588
#10 0x0000003548e7b8c7 in compositeWithProjection (rect=..., layer=...,
this=0x5b11538) at
/usr/src/debug/koffice-2.3.3/krita/image/kis_async_merger.h:311
#11 KisAsyncMerger::startMerge (this=0x5b11538, walker=...) at
/usr/src/debug/koffice-2.3.3/krita/image/kis_async_merger.h:231
#12 0x0000003548e7c065 in KisUpdateJobItem::run (this=0x5b11510) at
/usr/src/debug/koffice-2.3.3/krita/image/kis_updater_context.h:39
#13 0x00000031b8868e35 in QThreadPoolThread::run (this=0x60b1530) at
concurrent/qthreadpool.cpp:106
#14 0x00000031b8874125 in QThreadPrivate::start (arg=0x60b1530) at
thread/qthread_unix.cpp:320
#15 0x00000031afc07d0b in start_thread (arg=0x7f5d68944700) at
pthread_create.c:301
#16 0x00000031af4dfb7d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f5d7f7f18c0 (LWP 11818)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00000031b88745bb in wait (time=18446744073709551615, this=0x5b114a0) at
thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x5b11190,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00000031b8868741 in QThreadPoolPrivate::waitForDone (this=0x5b11100) at
concurrent/qthreadpool.cpp:295
#4  0x00000031b8869bdd in QThreadPool::waitForDone (this=<optimized out>) at
concurrent/qthreadpool.cpp:616
#5  0x0000003548efb284 in KisAbstractUpdateQueue::executeJobSync
(this=0x5b11f00, walker=..., updaterContext=...) at
/usr/src/debug/koffice-2.3.3/krita/image/kis_abstract_update_queue.cpp:66
#6  0x0000003548efdbdc in KisUpdateScheduler::fullRefresh (this=0x5b11c10,
root=..., rc=..., cropRect=<optimized out>) at
/usr/src/debug/koffice-2.3.3/krita/image/kis_update_scheduler.cpp:60
#7  0x0000003548f0533d in KisImage::refreshGraph (this=0x5aa83d0, root=...,
rc=..., cropRect=...) at
/usr/src/debug/koffice-2.3.3/krita/image/kis_image.cc:1105
#8  0x0000003548f0545b in KisImage::refreshGraph (this=0x5aa83d0, root=...) at
/usr/src/debug/koffice-2.3.3/krita/image/kis_image.cc:1097
#9  0x0000003548ec4bbd in KisImageLockCommand::redo (this=0x8ce6790) at
/usr/src/debug/koffice-2.3.3/krita/image/commands/kis_image_lock_command.cpp:39
#10 0x00000031bd000443 in QUndoStack::push (this=<optimized out>,
cmd=0x8ce6790) at util/qundostack.cpp:541
#11 0x0000003548f51cb1 in KisUndoAdapter::addCommand (this=0x55dc410,
command=0x8ce6790) at
/usr/src/debug/koffice-2.3.3/krita/image/kis_undo_adapter.cc:76
#12 0x0000003548f03a0b in KisImage::convertProjectionColorSpace
(this=0x5aa83d0, dstColorSpace=<optimized out>) at
/usr/src/debug/koffice-2.3.3/krita/image/kis_image.cc:544
#13 0x0000003549351991 in KisImageManager::slotImageProperties (this=<optimized
out>) at /usr/src/debug/koffice-2.3.3/krita/ui/kis_image_manager.cc:173
#14 0x0000003549352728 in KisImageManager::qt_metacall (this=0x63a8420,
_c=QMetaObject::InvokeMetaMethod, _id=10, _a=0x7fff4493d7e0) at
/usr/src/debug/koffice-2.3.3/x86_64-redhat-linux-gnu/krita/ui/kis_image_manager.moc:106
#15 0x00000031b896ceba in QMetaObject::activate (sender=0x63a8c30, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x7fff4493d7e0) at
kernel/qobject.cpp:3278
#16 0x00000031bc9b1082 in QAction::triggered (this=<optimized out>, _t1=false)
at .moc/release-shared/moc_qaction.cpp:263
#17 0x00000031bc9b126f in QAction::activate (this=0x63a8c30, event=<optimized
out>) at kernel/qaction.cpp:1257
#18 0x00000031bcddfad9 in QMenuPrivate::activateCausedStack (this=0x683ff90,
causedStack=..., action=0x63a8c30, action_e=QAction::Trigger, self=true) at
widgets/qmenu.cpp:993
#19 0x00000031bcde5712 in QMenuPrivate::activateAction (this=0x683ff90,
action=0x63a8c30, action_e=QAction::Trigger, self=true) at
widgets/qmenu.cpp:1085
#20 0x000000353fd0833d in KMenu::mouseReleaseEvent (this=0x61d2aa0,
e=<optimized out>) at /usr/src/debug/kdelibs-4.6.1/kdeui/widgets/kmenu.cpp:458
#21 0x00000031bca07a94 in QWidget::event (this=0x61d2aa0, event=0x7fff4493e3a0)
at kernel/qwidget.cpp:8259
#22 0x00000031bcde6c7b in QMenu::event (this=0x61d2aa0, e=0x7fff4493e3a0) at
widgets/qmenu.cpp:2415
#23 0x00000031bc9b73d4 in notify_helper (e=0x7fff4493e3a0, receiver=0x61d2aa0,
this=0x24dd8c0) at kernel/qapplication.cpp:4462
#24 QApplicationPrivate::notify_helper (this=0x24dd8c0, receiver=0x61d2aa0,
e=0x7fff4493e3a0) at kernel/qapplication.cpp:4434
#25 0x00000031bc9bcb5b in QApplication::notify (this=<optimized out>,
receiver=0x61d2aa0, e=0x7fff4493e3a0) at kernel/qapplication.cpp:4023
#26 0x000000353fc40e66 in KApplication::notify (this=0x7fff4493ef00,
receiver=0x61d2aa0, event=0x7fff4493e3a0) at
/usr/src/debug/kdelibs-4.6.1/kdeui/kernel/kapplication.cpp:311
#27 0x00000031b895a1ac in QCoreApplication::notifyInternal
(this=0x7fff4493ef00, receiver=0x61d2aa0, event=0x7fff4493e3a0) at
kernel/qcoreapplication.cpp:731
#28 0x00000031bc9b83a2 in sendEvent (event=<optimized out>, receiver=<optimized
out>) at ../../src/corelib/kernel/qcoreapplication.h:215
#29 QApplicationPrivate::sendMouseEvent (receiver=0x61d2aa0,
event=0x7fff4493e3a0, alienWidget=0x0, nativeWidget=0x61d2aa0, buttonDown=0x0,
lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3122
#30 0x00000031bca34691 in QETWidget::translateMouseEvent (this=0x61d2aa0,
event=<optimized out>) at kernel/qapplication_x11.cpp:4395
#31 0x00000031bca32eba in QApplication::x11ProcessEvent (this=0x7fff4493ef00,
event=0x7fff4493ec70) at kernel/qapplication_x11.cpp:3587
#32 0x00000031bca5acda in QEventDispatcherX11::processEvents (this=0x244ef10,
flags=...) at kernel/qeventdispatcher_x11.cpp:132
#33 0x00000031b89596c2 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#34 0x00000031b89598bf in QEventLoop::exec (this=0x7fff4493eec0, flags=...) at
kernel/qeventloop.cpp:201
#35 0x00000031b895da07 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1008
#36 0x0000003549803445 in kdemain (argc=<optimized out>, argv=0x7fff4493f098)
at /usr/src/debug/koffice-2.3.3/krita/main.cc:49
#37 0x00000031af42131d in __libc_start_main (main=0x4008d0 <main(int, char**)>,
argc=1, ubp_av=0x7fff4493f098, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7fff4493f088) at libc-start.c:226
#38 0x0000000000400901 in _start ()




Reproducible: Always

Steps to Reproduce:
1 - launch krita.
2 - open recent document >> fooimg.png (it is a grayscale picture)
3 - go to 'image' then to 'properties' >  and set 'model' to 
    "grayscale (without transparency)"
4 - press ok and crash!



Actual Results:  
krita crashes

Expected Results:  
no crash, perform the function or report invalid operation if it is not
allowed.

INFO: setting it to 'grayscale' works ok.

koffice-krita.x86_64         3:2.3.3-4.fc15    @updates-testing
koffice-krita-libs.x86_64    3:2.3.3-4.fc15    @updates-testing

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list