Bug 176270 - krita, crash, calligraphy, pan
Summary: krita, crash, calligraphy, pan
Status: RESOLVED WORKSFORME
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: 2008-11-27 21:33 UTC by Hanna Scott
Modified: 2009-02-17 21:40 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 Hanna Scott 2008-11-27 21:33:12 UTC
Version:           Revision: 889652  (using KDE 4.1.2)
Compiler:          g++-4.3 
OS:                Linux
Installed from:    Ubuntu Packages

1. Start krita
2. Let the default options (rgb, transparent 1024x768) remain and click "Use This Template".
3. Click on galligraphy tool
4. Write some calligraphy on the surface
5. Select the "path" tool
6. Draw a closed area
7. choose "colour selector"
8. Choose colour
9. Choose "fill" tool (bucket)
10. Try to colour anything on the surface - clicking maybe 15 times
11. Select pan tool. Try to use pan tool on surface

Krita starts generating error output in konsole and finally crashes. 

This is what happens:

$ krita
node  "Layer 1"                        
krita(6163) KoColorSpace::compositeOp: Asking for non-existent composite operation  "" , returning  "normal"                                            
krita(6163) KoDocumentInfo::aboutInfo: "comment page not found in documentInfo !"                                                                       
X Error: BadAtom (invalid Atom parameter) 5                                 
  Major opcode: 20 (X_GetProperty)                                          
  Resource id:  0x0                                                         
krita(6163) Sonnet::Loader::loadPlugin: Successfully loaded plugin: "kspell_hspell.desktop"                                                             
krita(6163) Sonnet::Loader::loadPlugin: Successfully loaded plugin: "kspell_enchant.desktop"                                                            
Enchant dict for "en_US" 0x92f6420                                          
Enchant dict for "en_US" 0x92f6420                                          
Enchant dict for "en_US" 0x92f6420                                          
Enchant dict for "en_US" 0x92f6420                                          
Enchant dict for "en_US" 0x92f6420                                          
MMX: 1, SSE: 1, SSE2: 1, MMX-SSE: 1, 3dNow: 0, 3dNow+: 0                    
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout               

And this is where the attempt to use the pan tool is done:
                                                          
X Error: BadIDChoice (invalid resource ID chosen for this connection) 14    
  Extension:    151 (RENDER)                                                
  Minor opcode: 4 (RenderCreatePicture)                                     
  Resource id:  0x41125e5                                                   
X Error: RenderBadPicture (invalid Picture parameter) 167                   
  Extension:    151 (RENDER)                                                
  Minor opcode: 7 (RenderFreePicture)                                       
  Resource id:  0x41125e5                                                   
X Error: BadIDChoice (invalid resource ID chosen for this connection) 14    
  Major opcode: 53 (X_CreatePixmap)                                         
  Resource id:  0x41125e6                                                   
X Error: BadDrawable (invalid Pixmap or Window parameter) 9                 
  Extension:    151 (RENDER)                                                
  Minor opcode: 4 (RenderCreatePicture)                                     
  Resource id:  0x41125e6                                                   
X Error: RenderBadPicture (invalid Picture parameter) 167                   
  Extension:    151 (RENDER)                                                
  Minor opcode: 8 (RenderComposite)                                         
  Resource id:  0x41125e7                                                   
X Error: BadDrawable (invalid Pixmap or Window parameter) 9                 
  Major opcode: 55 (X_CreateGC)                                             
  Resource id:  0x41125e6                                                   
X Error: BadDrawable (invalid Pixmap or Window parameter) 9                 
  Major opcode: 55 (X_CreateGC)                                             
  Resource id:  0x41125e6                                                   
X Error: BadGC (invalid GC parameter) 13                                    
  Major opcode: 56 (X_ChangeGC)                                             
  Resource id:  0x41125e8                                                   
X Error: RenderBadPicture (invalid Picture parameter) 167                   
  Extension:    151 (RENDER)                                                
  Minor opcode: 5 (RenderChangePicture)                                     
  Resource id:  0x41125e7                                                   
X Error: BadGC (invalid GC parameter) 13                                    
  Major opcode: 56 (X_ChangeGC)                                             
  Resource id:  0x41125e9                                                   
X Error: RenderBadPicture (invalid Picture parameter) 167                   
  Extension:    151 (RENDER)                                                
  Minor opcode: 5 (RenderChangePicture)                                     
  Resource id:  0x41125e7                                                   

If the faults are allowed to propagate, this is the result:

  Major opcode: 73 (X_GetImage)
  Resource id:  0x360a4ff
KCrash: Application 'krita' crashing...
sock_file=/home/hanna/.kde/socket-bettan/kdeinit4__0
Comment 1 Hanna Scott 2008-11-27 21:57:09 UTC
Stacktrace from the crash handler dialog:

Application: Krita (krita), signal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0xb4ec76c0 (LWP 10416)]
[KCrash handler]
#6  0xb59846a1 in QImage::scanLine () from /usr/lib/libQtGui.so.4
#7  0xb5961680 in QWidgetPrivate::setWindowIcon_sys ()
   from /usr/lib/libQtGui.so.4
#8  0xb592c4db in QWidget::create () from /usr/lib/libQtGui.so.4
#9  0xb593202e in QWidget::setVisible () from /usr/lib/libQtGui.so.4
#10 0xb5915864 in QToolTip::showText () from /usr/lib/libQtGui.so.4
#11 0xb5915a2e in QToolTip::showText () from /usr/lib/libQtGui.so.4
#12 0xb592eb91 in QWidget::event () from /usr/lib/libQtGui.so.4
#13 0xb5c17fbe in QAbstractButton::event () from /usr/lib/libQtGui.so.4
#14 0xb5cf6554 in QToolButton::event () from /usr/lib/libQtGui.so.4
#15 0xb58d68ec in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#16 0xb58de9d0 in QApplication::notify () from /usr/lib/libQtGui.so.4
#17 0xb76f672d in KApplication::notify () from /usr/lib/libkdeui.so.5
#18 0xb68abe61 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#19 0xb71da25e in QCoreApplication::sendEvent ()
   from /usr/lib/libQt3Support.so.4
#20 0xb58dc483 in QApplication::event () from /usr/lib/libQtGui.so.4
#21 0xb58d68ec in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#22 0xb58de76e in QApplication::notify () from /usr/lib/libQtGui.so.4
#23 0xb76f672d in KApplication::notify () from /usr/lib/libkdeui.so.5
#24 0xb68abe61 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#25 0xb68d9d81 in ?? () from /usr/lib/libQtCore.so.4
#26 0xb68d6520 in ?? () from /usr/lib/libQtCore.so.4
#27 0xb50a86f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#28 0xb50abda3 in ?? () from /usr/lib/libglib-2.0.so.0
#29 0xb50abf61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#30 0xb68d6478 in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#31 0xb5970ee5 in ?? () from /usr/lib/libQtGui.so.4
#32 0xb68aa52a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#33 0xb68aa6ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#34 0xb68acda5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#35 0xb58d6767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#36 0xb80868e6 in kdemain (argc=1, argv=0xbfda4ac4)
    at /home/hanna/Documents/koffice/src/koffice/krita/main.cc:56
#37 0x080489b2 in main (argc=)
    at /home/hanna/Documents/koffice/build/krita/krita_dummy.cpp:3
#0  0xb80a5430 in __kernel_vsyscall ()
Comment 2 Cyrille Berger 2008-11-27 23:02:54 UTC
Confirming, it's the same bug I have been noticing for a while, you have to be gentle with krita... But somehow I haven't seen in it a while. Can you remove all dockers, and see if you still get it ?
Comment 3 Sven Langkamp 2009-02-14 16:53:43 UTC
I can't reproduce this bug. There were some fixes the calligraphy tool, so maybe this is fixed.