Bug 297900

Summary: Calligra Words crash on start
Product: [Applications] calligrawords Reporter: m.wege
Component: generalAssignee: Calligra Words Bugs <calligra-words-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: cbo, jr
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description m.wege 2012-04-11 14:41:49 UTC
Application: calligrawords (2.4.0)
KDE Platform Version: 4.8.2 (4.8.2)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-17-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed: Calligra Words crash on start, it happens every time after update to release version. Only seems to happen with Calligra Words. Sorry for incomplete debug info, but Kubuntu seems to lack some of it and is not able to install the missing.

The crash can be reproduced every time.

-- Backtrace:
Application: Calligra Words (calligrawords), signal: Segmentation fault
[KCrash Handler]
#6  0x00007f5f9ca87540 in ?? () from /usr/lib/kde4/mapshape.so
#7  0x00007f5f9ca8820e in ?? () from /usr/lib/kde4/mapshape.so
#8  0x00000033b8d8f381 in QMetaObject::activate (sender=0x26250e0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff7e71b240) at kernel/qobject.cpp:3547
#9  0x00000033c1661a73 in KoCanvasResourceManager::resourceChanged (this=<optimized out>, _t1=345681743, _t2=<optimized out>) at /build/buildd/calligra-2.4.0/obj-x86_64-linux-gnu/libs/flake/KoCanvasResourceManager.moc:99
#10 0x00007f5f9d7dbc6e in TextTool::TextTool (this=0x2657a10, canvas=0x2624de8) at /build/buildd/calligra-2.4.0/plugins/textshape/TextTool.cpp:150
#11 0x00007f5f9d7e03d9 in TextToolFactory::createTool (this=<optimized out>, canvas=0x2624de8) at /build/buildd/calligra-2.4.0/plugins/textshape/TextToolFactory.cpp:42
#12 0x00000033c16abf87 in ToolHelper::createTool (this=0x262b4e0, canvas=<optimized out>) at /build/buildd/calligra-2.4.0/libs/flake/KoToolManager_p.cpp:70
#13 0x00000033c16ace8f in KoToolManager::createTools (this=0x2625c70, controller=0x26261c8, tool=0x262b4e0) at /build/buildd/calligra-2.4.0/libs/flake/KoToolManager.cpp:1000
#14 0x00000033c16ada1f in KoToolManager::Private::createCanvasData (this=0x2625d20, controller=0x26261c8, device=...) at /build/buildd/calligra-2.4.0/libs/flake/KoToolManager.cpp:174
#15 0x00000033c16b1f23 in KoToolManager::Private::attachCanvas (this=0x2625d20, controller=0x26261c8) at /build/buildd/calligra-2.4.0/libs/flake/KoToolManager.cpp:455
#16 0x00000033c16b25c5 in KoToolManager::addController (this=0x2625c70, controller=0x26261c8) at /build/buildd/calligra-2.4.0/libs/flake/KoToolManager.cpp:809
#17 0x00007f5fa02b7400 in KWGui::KWGui (this=0x25ee620, viewMode=<optimized out>, parent=0x201edc0) at /build/buildd/calligra-2.4.0/words/part/KWGui.cpp:69
#18 0x00007f5fa02bde93 in KWView::KWView (this=0x201edc0, viewMode=..., document=0x1d85d20, parent=<optimized out>, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /build/buildd/calligra-2.4.0/words/part/KWView.cpp:114
#19 0x00007f5fa02b1784 in KWDocument::createViewInstance (this=0x1d85d20, parent=0x1d61e40) at /build/buildd/calligra-2.4.0/words/part/KWDocument.cpp:221
#20 0x00000033c1a7321a in KoDocument::createView (this=0x1d85d20, parent=<optimized out>) at /build/buildd/calligra-2.4.0/libs/main/KoDocument.cpp:438
#21 0x00000033c1aa2a1f in KoMainWindow::setRootDocument (this=0x1d61e40, doc=0x1d85d20) at /build/buildd/calligra-2.4.0/libs/main/KoMainWindow.cpp:454
#22 0x00000033c1a822c1 in KoDocument::showStartUpWidget (this=0x1d85d20, mainWindow=<optimized out>, alwaysShow=<optimized out>) at /build/buildd/calligra-2.4.0/libs/main/KoDocument.cpp:2612
#23 0x00007f5fa02b1b26 in KWDocument::showStartUpWidget (this=0x1d85d20, parent=0x1d61e40, alwaysShow=false) at /build/buildd/calligra-2.4.0/words/part/KWDocument.cpp:800
#24 0x00000033c1a6e7e6 in KoApplication::start (this=<optimized out>) at /build/buildd/calligra-2.4.0/libs/main/KoApplication.cpp:208
#25 0x00007f5fa5f16010 in kdemain (argc=<optimized out>, argv=0x7fff7e71c5c8) at /build/buildd/calligra-2.4.0/words/part/main.cpp:41
#26 0x000000374722130d in __libc_start_main (main=0x400640 <main(int, char**)>, argc=1, ubp_av=0x7fff7e71c5c8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff7e71c5b8) at libc-start.c:226
#27 0x0000000000400671 in _start ()

Reported using DrKonqi
Comment 1 Camilla Boemann 2012-04-11 15:19:39 UTC
build from scratch please. you have probably not patched your qt and so words doesn't build, but you still have leftover version of words in your install dir.
Comment 2 m.wege 2012-04-11 16:14:31 UTC
Hmm, since I have not build anything and Kubuntu claims to have installed the new version this may be a packagers problem.
Comment 3 Camilla Boemann 2012-04-11 16:21:07 UTC
Well, I'm not sure they can make Calligra depend on a specific update to their qt libs, so maybe you just need to upgrade you qt libs. I believe Jonathan said he had already patched qt in kubuntu
Comment 4 m.wege 2012-04-11 16:26:20 UTC
Actually together with the Calligra update an update of qt came in. So this worked.
Comment 5 Jonathan Riddell 2012-04-11 17:04:47 UTC
Please paste output of  

apt-cache policy calligra-map-shape

then do  

sudo apt-get remove calligra-map-shape

and see if it still crashes
Comment 6 m.wege 2012-04-11 22:56:33 UTC
apt-cache policy calligra-map-shape                                                                                                                                           
calligra-map-shape:                                                                                                                                                                         
  Installiert: 1:2.3.86-0ubuntu1~oneiric1~ppa1                                                                                                                                              
  Kandidat:    1:2.3.86-0ubuntu1~oneiric1~ppa1                                                                                                                                              
  Versionstabelle:
 *** 1:2.3.86-0ubuntu1~oneiric1~ppa1 0
        500 http://ppa.launchpad.net/kubuntu-ppa/beta/ubuntu/ oneiric/main amd64 Packages
        100 /var/lib/dpkg/status
[1]+  Exit 253                calligrawords
-> removed it, crash is gone. Thanks!