[Kst] Segmentation fault / kst2 startup

Peter Kümmel syntheticpp at gmx.net
Wed Dec 2 18:51:57 CET 2009


Brisset, Nicolas wrote:
> Hi,
> 
>  
> 
> I don't exactly know why but on two very different Linux machines
> (openSuse 11.2 64 and Suse 10.0 both 64 bits, both Qt 4.5.3) I get a
> crash on startup with the latest kst2 trunk.
> 
> I don't even get to see the main window :-(
> 
> I tried going back in time (and doing a clean build at each step
> otherwise I was seeing strange things) and the commit that breaks things
> seems to be #1054888 (the big update commit)...
> 
>  
> 
> Below is a backtrace:
> 
>  
> 
> Program received signal SIGSEGV, Segmentation fault.
> 
> [Switching to Thread 46912585764608 (LWP 31424)]
> 
> 0x00000000006d0060 in ?? ()
> 
> (gdb) where
> 
> #0  0x00000000006d0060 in ?? ()
> 
> #1  0x00002aaaaac28649 in KstReadLocker (this=0x7fffffc8fb00,
> l=0x6ce700) at rwlock.h:68
> 
> #2  0x00002aaaaac275ae in Kst::ObjectStore::dataSourceList
> (this=0x6ce700) at objectstore.cpp:216
> 
> #3  0x00002aaaaac30f8f in Kst::UpdateManager::doUpdates (this=0x68b400,
> forceImmediate=true) at updatemanager.cpp:97
> 
> #4  0x00002aaaab268de0 in Kst::CommandLineParser::processCommandLine
> (this=0x7fffffc902d0, ok=0x7fffffc9027e) at commandlineparser.cpp:549
> 
> #5  0x00002aaaab2acf94 in Kst::Document::initFromCommandLine
> (this=0x69f660, P=0x7fffffc902d0) at document.cpp:135
> 
> #6  0x00002aaaab31834d in Kst::MainWindow::initFromCommandLine
> (this=0x6ccbb0) at mainwindow.cpp:235
> 
> #7  0x0000000000400d9a in main (argc=1, argv=0x7fffffc904e8) at
> main.cpp:19

This looks similar to the crash on exit where the it also happens
in objectstore code and a rwlocker isn't valid.

Peter

> 
> Does anyone else also see that? It makes working with kst2 pretty
> impracticable!
> 
>  
> 
> Nicolas 
> 
>  
> 
> 
> 
> Eurocopter Deutschland GmbH
> Sitz der Gesellschaft/Registered Office: Donauwoerth
> Registergericht/Registration Court: Amtsgericht Augsburg HRB 16508
> Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: Dr. Lutz Bertling
> Geschaeftsfuehrung/Board of Management:
> Dr. Wolfgang Schoder, Vorsitzender/CEO; Friedrich-Wilhelm Hormel; Ralf Barnscheidt
> 
> CONFIDENTIALITY NOTICE 
> 
> This communication and the information it contains is intended for the addressee(s) named above and for no other persons or organizations. It is confidential and may be legally privileged and protected by law. The unauthorized use, copying or disclosure of this communication or any part of it is prohibited and may be unlawful. 
> If you have received this communication in error, kindly notify us by return e-mail and discard and/or delete the communication. Thank you very much. 
> It is possible for e-mails to be intercepted or affected by viruses. Whilst we maintain virus checks on our e-mails, we accept no liability for viruses or other material which might be introduced with this message. 
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst


More information about the Kst mailing list