Bug 171818 - stack trace with a krita crash
Summary: stack trace with a krita crash
Status: RESOLVED WORKSFORME
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 2.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2008-09-28 20:16 UTC by Pablo Pita
Modified: 2009-02-10 17:56 UTC (History)
3 users (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 Pablo Pita 2008-09-28 20:16:06 UTC
Version:           2.0 beta (using KDE 4.1.1)
OS:                Linux
Installed from:    Ubuntu Packages

I am a newie with Krita, trying to add a bit of text to an image, and I just got this crash. I was using the calligraphic tool, but then, changed to use the flake text. 

pleira@Vigor11:~$ krita listaEI3A.jpeg                                                       
krita(9727) RulerAssistantToolPlugin::RulerAssistantToolPlugin: RulerAssistantToolPlugin     
X Error: BadAtom (invalid Atom parameter) 5                                                  
  Major opcode: 20 (X_GetProperty)                                                           
  Resource id:  0x0                                                                          
krita(9727) Sonnet::Loader::loadPlugin: Successfully loaded plugin: "kspell_hspell.desktop"  
krita(9727) Sonnet::Loader::loadPlugin: Successfully loaded plugin: "kspell_enchant.desktop" 
krita(9727): No language dictionaries for the language :  "es"                               

Enchant dict for "en_US" 0x5bf9960 
Enchant dict for "en_US" 0x5bf9960 
krita(9727): No language dictionaries for the language :  "es" 

Enchant dict for "en_US" 0x5bf9960 
krita(9727) KarbonCalligraphyOptionWidget::loadCurrentProfile: "Mouse"
krita(9727) KarbonCalligraphyOptionWidget::loadCurrentProfile: 0 1    
krita(9727) KarbonCalligraphyOptionWidget::loadProfile: trying profile "Mouse"
krita(9727) KarbonCalligraphyOptionWidget::loadCurrentProfile: "Mouse"        
krita(9727) KarbonCalligraphyOptionWidget::loadCurrentProfile: 1 1            
krita(9727) KarbonCalligraphyOptionWidget::removeProfile: removing profile "Current"
krita(9727) KarbonCalligraphyOptionWidget::removeProfile: "Graphics Pen Mouse "     
krita(9727) RulerAssistantViewPlugin::RulerAssistantViewPlugin: RulerAssistantViewPlugin
krita(9727) RulerAssistant::RulerAssistant: 0x71c6790 ========================================
krita(9727) RulerAssistant::ruler: 0x71c6790 ========================================         
krita(9727) RulerDecoration::RulerDecoration: 0x71c6790 ========================================
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout                 
QPainter::end: Painter ended with 2 saved states                                                
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout                 
QPainter::end: Painter ended with 2 saved states                                                
QPainter::end: Painter ended with 2 saved states                                                
QPainter::end: Painter ended with 2 saved states                                                
krita(9727) KarbonCalligraphicShape::appendPointToPath: Adding caps!!!!!!!!!!!!!!!! 4           
QPainter::end: Painter ended with 2 saved states                                                
krita(9727) KarbonCalligraphyOptionWidget::loadProfile: trying profile "Graphics Pen"           
krita(9727) KarbonCalligraphyOptionWidget::loadCurrentProfile: "Graphics Pen"                   
krita(9727) KarbonCalligraphyOptionWidget::loadCurrentProfile: 0 0                              
krita(9727) KarbonCalligraphyOptionWidget::removeProfile: removing profile "Current"            
krita(9727) KarbonCalligraphyOptionWidget::removeProfile: "Graphics Pen Mouse "                 
QPainter::end: Painter ended with 2 saved states                                                
QImage::pixel: coordinate (0,0) out of range                                                    
QImage::pixel: coordinate (0,0) out of range                                                    
QPainter::end: Painter ended with 2 saved states                                                
QPainter::end: Painter ended with 2 saved states                                                
QPainter::end: Painter ended with 2 saved states                                                
QPainter::end: Painter ended with 2 saved states                                                
QPainter::end: Painter ended with 2 saved states                                                
QPainter::end: Painter ended with 2 saved states                                                
QPainter::end: Painter ended with 2 saved states                                                
QPainter::end: Painter ended with 2 saved states                                                
krita(9727) KarbonCalligraphyOptionWidget::loadProfile: trying profile "Mouse"                  
krita(9727) KarbonCalligraphyOptionWidget::loadCurrentProfile: "Mouse"                          
krita(9727) KarbonCalligraphyOptionWidget::loadCurrentProfile: 1 1                              
krita(9727) KarbonCalligraphyOptionWidget::removeProfile: removing profile "Current"            
krita(9727) KarbonCalligraphyOptionWidget::removeProfile: "Graphics Pen Mouse "                 
QPainter::end: Painter ended with 2 saved states                                                
QPainter::end: Painter ended with 2 saved states                                                
QPainter::end: Painter ended with 2 saved states                                                
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout                 
QPainter::end: Painter ended with 2 saved states                                                
QPainter::end: Painter ended with 2 saved states                                                
QPainter::end: Painter ended with 2 saved states                                                
QPainter::end: Painter ended with 2 saved states                                                
QPainter::end: Painter ended with 2 saved states                                                
QPainter::end: Painter ended with 2 saved states                                                
QPainter::end: Painter ended with 2 saved states                                                
QPainter::end: Painter ended with 2 saved states                                                
QPainter::end: Painter ended with 2 saved states                                                
QPainter::end: Painter ended with 2 saved states                                                
QPainter::end: Painter ended with 2 saved states                                                
QPainter::end: Painter ended with 2 saved states                                                
QPainter::end: Painter ended with 2 saved states                                                
QPainter::end: Painter ended with 2 saved states                                                
QPainter::end: Painter ended with 2 saved states                                                
QPainter::end: Painter ended with 2 saved states                                                
krita(9727) KisSharedPtr<T>::operator->: "[                                                     
0: /usr/lib/libkdecore.so.5(_Z14kRealBacktracei+0x38) [0x7f5778dab928]                          
1: /usr/lib/kde4/kritaimagesize.so [0x7f5754fada57]
2: /usr/lib/kde4/kritaimagesize.so [0x7f5754faea40]
3: /usr/lib/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectiiPPv+0x244) [0x7f57789fa004]
4: /usr/lib/libQtGui.so.4(_ZN7QAction9triggeredEb+0x37) [0x7f5777f05a47]
5: /usr/lib/libQtGui.so.4(_ZN7QAction8activateENS_11ActionEventE+0xb0) [0x7f5777f06210]
6: /usr/lib/libQtGui.so.4 [0x7f577829ec2d]
7: /usr/lib/libkdeui.so.5(_ZN5KMenu17mouseReleaseEventEP11QMouseEvent+0x51) [0x7f5776cffcb1]
8: /usr/lib/libQtGui.so.4(_ZN7QWidget5eventEP6QEvent+0x9b9) [0x7f5777f5de49]
9: /usr/lib/libQtGui.so.4(_ZN5QMenu5eventEP6QEvent+0xeb) [0x7f57782a140b]
10: /usr/lib/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xbd) [0x7f5777f0b72d]
11: /usr/lib/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x90a) [0x7f5777f13d4a]
12: /usr/lib/libkdeui.so.5(_ZN12KApplication6notifyEP7QObjectP6QEvent+0x3b) [0x7f5776c407cb]
13: /usr/lib/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0xd1) [0x7f57789e5c31]
14: /usr/lib/libQtGui.so.4(_ZN19QApplicationPrivate14sendMouseEventEP7QWidgetP11QMouseEventS1_S1_PS1_R8QPointerIS0_E+0x108) [0x7f5777f130e8]
15: /usr/lib/libQtGui.so.4 [0x7f5777f778f4]
16: /usr/lib/libQtGui.so.4(_ZN12QApplication15x11ProcessEventEP7_XEvent+0x8c7) [0x7f5777f76127]
17: /usr/lib/libQtGui.so.4 [0x7f5777f9de14]
18: /usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x23b) [0x7f5774441d4b]
19: /usr/lib/libglib-2.0.so.0 [0x7f577444551d]
20: /usr/lib/libglib-2.0.so.0(g_main_context_iteration+0x6b) [0x7f57744456db]
21: /usr/lib/libQtCore.so.4(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x4f) [0x7f5778a0e02f]
22: /usr/lib/libQtGui.so.4 [0x7f5777f9d5bf]
23: /usr/lib/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x32) [0x7f57789e4552]
24: /usr/lib/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0xcd) [0x7f57789e46dd]
25: /usr/lib/libQtCore.so.4(_ZN16QCoreApplication4execEv+0xbd) [0x7f57789e6b8d]
26: /usr/lib/libkdeinit4_krita.so(kdemain+0x167) [0x7f57797b1347]
27: /lib/libc.so.6(__libc_start_main+0xe6) [0x7f577945b466]
28: krita [0x400659]
]
"
ASSERT: "d" in file /build/buildd/koffice2-1.9.98.0/krita/image/kis_shared_ptr.h, line 187
Aborted (core dumped)
Comment 1 Sven Langkamp 2008-10-02 14:44:43 UTC
Can you reproduce the crash? I didn't get the crash and the backtrace unfortunately isn't very useful.
Comment 2 Pablo Pita 2008-10-02 17:49:33 UTC
I have not tried to reproduce and I would not be able to do it as I know very little about the application ... I moved back to Krita 1.X to add some texts to an image. I was trying to accomplish this task with Krita 2 Beta, but well, no success. So as the crash is not be easy to reproduce, the bug can be left unconfirmed, invalid, or whatever. 

The last thing I would say is a usability remark regarding adding text to a picture: I do not know the way to do it in Krita 2.0.
Comment 3 Elián Hanisch 2008-10-26 23:20:29 UTC
played with the calligraphic tool and adding text but didnt get a crash