Bug 120905 - Kpresenter crashes immediately on startup
Summary: Kpresenter crashes immediately on startup
Status: RESOLVED DUPLICATE of bug 111115
Alias: None
Product: calligrastage
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: T Zachmann
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-28 09:45 UTC by stefan.asserhall
Modified: 2006-01-31 18:39 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Valgrind run of the crash (40.74 KB, text/plain)
2006-01-28 18:23 UTC, stefan.asserhall
Details
More detailed backtrace (3.03 KB, text/plain)
2006-01-28 18:24 UTC, stefan.asserhall
Details

Note You need to log in before you can comment on or make changes to this bug.
Description stefan.asserhall 2006-01-28 09:45:41 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc (GCC) 4.0.2 
OS:                Linux

Kpresenter crashes immediately on startup. The crash 
seems to have someting to do with initializing aspell.
Other programs in koffice work fine, also when doing
spellchecking. 

Here is the backtrace;

Using host libthread_db library "/lib/libthread_db.so.1".
`shared object read from target memory' has disappeared; keeping its symbols.
[Thread debugging using libthread_db enabled]
[New Thread -1208858944 (LWP 31321)]
[KCrash handler]
#6  0x03c56e72 in __gnu_cxx::__pool<true>::_M_reserve_block ()
   from /usr/lib/libstdc++.so.6
#7  0x01a4431f in __gnu_cxx::__mt_alloc<char const*, __gnu_cxx::__common_pool_policy<__gnu_cxx::__pool, true> >::allocate () from /usr/lib/libaspell.so.15
#8  0x01a58616 in aspeller::PhonetParmsImpl::clone ()
   from /usr/lib/libaspell.so.15
#9  0x01a63d96 in acommon::GenericCopyPtr<aspeller::PhonetParms, acommon::ClonePtr<aspeller::PhonetParms>::Parms>::GenericCopyPtr ()
   from /usr/lib/libaspell.so.15
#10 0x01a6401c in aspeller::PhonetSoundslike::clone ()
   from /usr/lib/libaspell.so.15
#11 0x01a3116e in acommon::GenericCopyPtr<aspeller::Soundslike, acommon::ClonePtr<aspeller::Soundslike>::Parms>::GenericCopyPtr ()
   from /usr/lib/libaspell.so.15
#12 0x01a3c5e3 in aspeller::Language::Language ()
   from /usr/lib/libaspell.so.15
#13 0x01a3846c in aspeller::SpellerImpl::attach ()
   from /usr/lib/libaspell.so.15
#14 0x01a38623 in aspeller::SpellerImpl::steal ()
   from /usr/lib/libaspell.so.15
#15 0x01a30ad8 in aspeller::add_data_set () from /usr/lib/libaspell.so.15
#16 0x01a4cfbd in aspeller::MultiWS::load () from /usr/lib/libaspell.so.15
#17 0x01a309d8 in aspeller::add_data_set () from /usr/lib/libaspell.so.15
#18 0x01a39893 in aspeller::SpellerImpl::setup ()
   from /usr/lib/libaspell.so.15
#19 0x01a0f79b in acommon::new_speller () from /usr/lib/libaspell.so.15
#20 0x01a0aeac in new_aspell_speller () from /usr/lib/libaspell.so.15
#21 0x00a73c38 in ASpellDict::ASpellDict ()
   from /opt/kde/lib/kde3/kspell_aspell.so
#22 0x00a726e8 in ASpellClient::dictionary ()
   from /opt/kde/lib/kde3/kspell_aspell.so
#23 0x00aabd44 in KSpell2::Broker::dictionary ()
   from /opt/kde/lib/libkspell2.so.1
#24 0x00ab0731 in KSpell2::DefaultDictionary::DefaultDictionary ()
   from /opt/kde/lib/libkspell2.so.1
#25 0x00aab711 in KSpell2::Broker::Broker () from /opt/kde/lib/libkspell2.so.1
#26 0x00aab835 in KSpell2::Broker::openBroker ()
   from /opt/kde/lib/libkspell2.so.1
#27 0x0698b3a5 in KPrBgSpellCheck::KPrBgSpellCheck ()
    at ATFInterpreter.cpp:114
#28 0x068d1896 in KPrDocument (this=0x9a076e8, parentWidget=0x0, 
    widgetName=0x79f9d0 "", parent=0x0, name=0x79f872 "Document", 
    singleViewMode=false) at KPrDocument.cpp:195
#29 0x0695d62c in KPrFactory::createPartObject (this=0x99c89c0, 
    parentWidget=0x0, widgetName=0x79f9d0 "", parent=0x0, 
    name=0x79f872 "Document", classname=0x79f9c5 "KoDocument")
    at KPrFactory.cpp:51
#30 0x00167d04 in KParts::Factory::createPart ()
   from /opt/kde/lib/libkparts.so.2
#31 0x0072184b in KoDocumentEntry::createDoc (this=0xbff4c860, parent=0x0, 
    name=0x79f872 "Document") at koQueryTrader.cc:62
#32 0x00720796 in KoApplication::start (this=0xbff4c9f4)
    at koApplication.cc:128
#33 0x00328fc6 in kdemain (argc=1, argv=0xbff4cb84) at main.cpp:42
#34 0x080486a2 in main (argc=1, argv=0xbff4cb84) at kpresenter.la.cpp:2
Comment 1 T Zachmann 2006-01-28 15:16:16 UTC
Hello,

I cannot reproduce this problem. It looks like a local problem. Does it work with kword? Can you try to reinstall?
Comment 2 stefan.asserhall 2006-01-28 18:23:59 UTC
Created attachment 14425 [details]
Valgrind run of the crash
Comment 3 stefan.asserhall 2006-01-28 18:24:32 UTC
Created attachment 14426 [details]
More detailed backtrace
Comment 4 stefan.asserhall 2006-01-28 18:25:10 UTC
It could well be a local problem. The language setting I use is Swedish "sv", which I can see is used in the call to aspell (in gdb). It works fine with
kword. I have done a clean rebuild of the latest kdelibs (branches/KDE/3.5) and kpresenter (trunk/koffice/kpresenter), but the crash remains. I attach a valgrind run, and a more detailed backtrace, if that is any help.
Comment 5 T Zachmann 2006-01-28 18:35:56 UTC
This is very strange as the code in kword and kpresenter is the same. 

Also very strange is the following in your backtraces:

#26 0x070cd471 in KPrBgSpellCheck::KPrBgSpellCheck ()
    at KPrPicturePreview.cpp:29

The file should be KPrBgSpellCheck.
Comment 6 stefan.asserhall 2006-01-28 19:28:33 UTC
The backtrace file reference seems clearly wrong. I suspect it is a bug in gdb. If I try to set a breakpoint at "KPrPicturePreview.cpp:29" it is never reached. However, a breakpoint at "KPrBgSpellCheck.cpp:37" is reached, but when listing the source, "KPrPicturePreview.cpp" is shown. This is probably not relevant to the crash itself, though.
Comment 7 Thiago Macieira 2006-01-31 18:39:23 UTC
Fix your compiler.

*** This bug has been marked as a duplicate of 111115 ***