KDE Bug Tracking System
Home
Report New Wish or Bug
Query Existing Reports
First
Last
Prev
Next
No search results available
Search page
Bug
139461
:
crashes when removing an object layer
P
roduct
:
krita
Co
m
ponent
:
general
Status
:
RESOLVED
Resolution
:
FIXED
Target
:
---
Version
:
1.6.1
Pr
i
ority
:
NOR
Severity
:
crash
V
otes
:
0
Description
:
Opened:
2007-01-01 08:27
Last Changed:
2007-01-01 12:02:19
Version: 1.6.1 (using KDE KDE 3.5.5) Installed from: Debian testing/unstable Packages OS: Linux If I remove an object layer, Krita crashes. This happens on 2 Etch boxes on 2 tested. I can provide a backtrace if someone has trouble reproducing. 1) Open Krita 2) RGB, Transparent... 3) Layer-> New -> Object Layer -> Objet image 4) Define any zone. 5) RGB, Transparent... 6) Right-click on Embedded Document layer, Remove Layer
Comment
#1
boud valdyas org 2007-01-01 10:51:59
Backtraces are always good to have. #6 0xb5f4f3b7 in KisImage::activeDevice (this=0x8b29098) at /home/boud/koffice/1.6/koffice/krita/core/kis_image.cc:1013 #7 0xb6122b78 in KisSelectionManager::updateGUI (this=0x8b5d590) at /home/boud/koffice/1.6/koffice/krita/ui/kis_selection_manager.cc:275 #8 0xb6149fcb in KisView::layerUpdateGUI (this=0x8b1a220, enable=true) at /home/boud/koffice/1.6/koffice/krita/ui/kis_view.cc:1314 #9 0xb614a25d in KisView::layersUpdated (this=0x8b1a220) at /home/boud/koffice/1.6/koffice/krita/ui/kis_view.cc:3036 #10 0xb614ca89 in KisView::qt_invoke (this=0x8b1a220, _id=79, _o=0xbfe45800) at ./krita/ui/kis_view.moc:630 #11 0xb72a3a84 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #12 0xb5f4b602 in KisImage::sigLayerRemoved (this=0x8b29098, t0=@0xbfe4592c, t1=@0xbfe45928, t2=@0xbfe45924) at ./krita/core/kis_image.moc:250 #13 0xb5f4ec84 in KisImage::removeLayer (this=0x8b29098, layer=@0xbfe4599c) at /home/boud/koffice/1.6/koffice/krita/core/kis_image.cc:1194 #14 0xb60f26df in KisLayerBox::slotRequestRemoveLayer (this=0x8b86188, item=0x8b81e80) at /home/boud/koffice/1.6/koffice/krita/ui/kis_layerbox.cc:397 #15 0xb60f3bc7 in KisLayerBox::qt_invoke (this=0x8b86188, _id=64, _o=0xbfe45a98) at ./krita/ui/kis_layerbox.moc:395 #16 0xb72a3957 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #17 0xb616325f in LayerList::requestRemoveLayer (this=0x8ba09e8, t0=0x8b81e80) at ../../krita/ui/layerlist.moc:588 #18 0xb60f9aa0 in KisLayerList::menuActivated (this=0x8ba09e8, id=2, layer=0x8b81e80) at /home/boud/koffice/1.6/koffice/krita/ui/kis_layerlist.cc:111 #19 0xb6167e26 in LayerList::showContextMenu (this=0x8ba09e8) at /home/boud/koffice/1.6/koffice/krita/ui/layerlist.cpp:716 #20 0xb616a1b1 in LayerList::qt_invoke (this=0x8ba09e8, _id=141, _o=0xbfe45c88) at ../../krita/ui/layerlist.moc:680 #21 0xb60f7f4f in KisLayerList::qt_invoke (this=0x8ba09e8, _id=141, _o=0xbfe45c88) at ./krita/ui/kis_layerlist.moc:166 #22 0xb72a3957 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #23 0xb762ff44 in QSignal::signal () from /usr/lib/libqt-mt.so.3 #24 0xb72c38ea in QSignal::activate () from /usr/lib/libqt-mt.so.3 #25 0xb72cb300 in QSingleShotTimer::event () from /usr/lib/libqt-mt.so.3 #26 0xb723ab88 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3 #27 0xb723c9b7 in QApplication::notify () from /usr/lib/libqt-mt.so.3 #28 0xb7930db2 in KApplication::notify () from /usr/lib/libkdecore.so.4 #29 0xb71cd389 in QApplication::sendEvent () from /usr/lib/libqt-mt.so.3 #30 0xb722d5d3 in QEventLoop::activateTimers () from /usr/lib/libqt-mt.so.3 #31 0xb71e1ec5 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3 #32 0xb725525e in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3 #33 0xb725506e in QEventLoop::exec () from /usr/lib/libqt-mt.so.3 #34 0xb723c731 in QApplication::exec () from /usr/lib/libqt-mt.so.3 #35 0xb7f8a454 in kdemain (argc=1, argv=0x8138078) at /home/boud/koffice/1.6/koffice/krita/main.cc:41 #36 0xb7f8c7a0 in kdeinitmain (argc=1
Comment
#2
boud valdyas org 2007-01-01 12:02:19
SVN commit 618430 by rempt: BUG:139461 A stray debug statement that dereferences a point caused this crash. M +1 -2 kis_image.cc --- branches/koffice/1.6/koffice/krita/core/kis_image.cc #618429:618430 @@ -772,7 +772,7 @@ } if ( colorSpace()->id() == KisID("RGBA") || colorSpace()->id() == KisID("CMYK") || colorSpace()->id() == KisID("GRAYA")) { - KisScaleVisitor v (this, sx, sy, progress, filterStrategy); + KisScaleVisitor v (this, sx, sy, progress, filterStrategy); m_rootLayer->accept( v ); } else { @@ -1010,7 +1010,6 @@ else if (KisLayerSP layer = m_activeLayer) { // A weird layer -- let's not return it, but a sibling KisLayerSP sibling = layer->nextSibling(); - kdDebug() << "sibling: " << sibling->name() << endl; while (sibling) { if (KisPaintLayer* layer = dynamic_cast<KisPaintLayer*>(sibling.data())) { return layer->paintDevice();
P
latform
:
Debian testing
O
S
:
Linux
K
eywords
:
People
Reporter
:
Filipus Klutiero
Assigned To
:
Krita Bugs
Related actions
View Bug Activity
Format For Printing
XML
Clone This Bug
Note
You need to
log in
before you can comment on or make changes to this bug.
Attachments
Add an attachment
(proposed patch, testcase, etc.)
Depends on
:
B
locks
:
Show dependency tree
-
Show dependency graph
First
Last
Prev
Next
No search results available
Search page
Actions
Reports
Requests
Reports
Bugs reported today
Bugs reported in the last 3 days
Bug reports with patches
Weekly Bug statistics
The most hated bugs
The most severe bugs
The most frequently reported bugs
The most wanted features
Junior Jobs
Report ownership counts and charts
My Account
New Account
Log In