Bug 170016 - nepomukservicestub crash when starting
Summary: nepomukservicestub crash when starting
Status: RESOLVED FIXED
Alias: None
Product: nepomuk
Classification: Miscellaneous
Component: general (show other bugs)
Version: 4.1
Platform: Mandriva RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Sebastian Trueg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-29 00:08 UTC by Nicolas L.
Modified: 2009-11-12 16:09 UTC (History)
4 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 Nicolas L. 2008-08-29 00:08:25 UTC
Version:            (using KDE 4.1.1)
Installed from:    Mandriva RPMs

nepomuk do not start on my system. If i look on .xsession-errors i can see :

ProcessControl: Application '/usr/bin/nepomukservicestub' stopped unexpected (Process crashed)
[/usr/bin/nepomukservicestub] Removing connection

if i start nepomukservicestub by hand i obtain : 

$ nepomukservicestub
ASSERT: "KGlobal::hasLocale()" in file /home/mandrake/rpm/BUILD/kdelibs-4.1.0/kdecore/kernel/kcmdlineargs.cpp, line 1060
Abandon
Comment 1 Nicolas L. 2008-09-01 13:49:28 UTC
JFYI:  i use a kde 4.1.1 + nepomuk from kde trunk
Comment 2 Nicolas L. 2008-09-01 14:01:34 UTC
sorry 4.1.0 (  testing kde 4.1.1 is planned for today )
Comment 3 Nicolas L. 2008-09-01 20:28:06 UTC
same issue under kde 4.1.1 + enpomuk from trunk
Comment 4 Nicolas L. 2008-09-01 20:35:51 UTC
here is the backtrace i obtain :

(gdb) bt full
#0  0x00007f41ebab0975 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
        pid = <value optimized out>
        selftid = <value optimized out>
#1  0x00007f41ebab21a3 in abort () at abort.c:88
        act = {__sigaction_handler = {sa_handler = 0x7ffff5dc14b0, sa_sigaction = 0x7ffff5dc14b0}, sa_mask = {__val = {139921106774112, 139921139951360,
      37892400, 140737318238592, 140737318238576, 1, 139921104240514, 139921103280472, 139921140017544, 140737318228880, 4294967295, 17218132704, 4409888,
      140737318238368, 37892400, 140737318238592}}, sa_flags = -170116752, sa_restorer = 0x7f41ec7e4000}
        sigs = {__val = {32, 0 <repeats 15 times>}}
#2  0x00007f41ec8430b5 in qt_message_output (msgType=QtFatalMsg, buf=<value optimized out>) at global/qglobal.cpp:2061
No locals.
#3  0x00007f41ec8431fd in qFatal (msg=<value optimized out>) at global/qglobal.cpp:2263
        buf = "ASSERT: \"KGlobal::hasLocale()\" in file /home/mandrake/rpm/BUILD/kdelibs-4.1.1/kdecore/kernel/kcmdlineargs.cpp, line 1060\000\206I\002\000\000\000\000p\206I\002\000\000\000\000v_\205�A\177\000\000%\000\000\000#\000\000\000\r\000\000\000\036\000\000\000\a\000\000\000l\000\000\000\006\000\000\000�\000\000\000\001\000\000\000\000\000\000\000 \034\000\000\000\000\000\000�$I\002\000\000\000\000"...
        ap = {{gp_offset = 32, fp_offset = 48, overflow_arg_area = 0x7ffff5dc3580, reg_save_area = 0x7ffff5dc34c0}}
#4  0x00007f41ecd1d668 in KCmdLineArgs::usageError (error=@0x7ffff5dc38a0) at /usr/src/debug/kdelibs-4.1.1/kdecore/kernel/kcmdlineargs.cpp:1060
        localError = {static shared_null = {ref = {_q_value = 471}, alloc = 0, size = 0, data = 0x6058d8 "", array = ""}, static shared_empty = {ref = {
      _q_value = 4}, alloc = 0, size = 0, data = 0x7f41ecc1b718 "", array = ""}, d = 0x2495080}
        tmp = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 74}, alloc = 0, size = 0, data = 0x7f41ecc1b83a, clean = 0,
    simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 38}, alloc = 0,
    size = 0, data = 0x7f41ecc1b85a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}},
  d = 0x7ffff5dc39f0, static codecForCStrings = 0x0}
#5  0x0000000000402fe3 in main (argc=1, argv=0x7ffff5dc3b38) at /usr/src/debug/kdebase-runtime-4.1.1/nepomuk/servicestub/main.cpp:91
        aboutData = {d = 0x241bb70}
        options = {d = 0x241bb00}
        app = {<QCoreApplication> = {<QObject> = {_vptr.QObject = 0x7f41edb6e650, static staticMetaObject = {d = {superdata = 0x0,
          stringdata = 0x7f41ec9bea40 "QObject", data = 0x7f41ec9beac0, extradata = 0x0}}, d_ptr = 0x24265f0, static staticQtMetaObject = {d = {
          superdata = 0x0, stringdata = 0x7f41ec9c7c40 "Qt", data = 0x7f41ec9c98e0, extradata = 0x0}}}, static staticMetaObject = {d = {
        superdata = 0x6057e0, stringdata = 0x7f41ec9cdbc0 "QCoreApplication", data = 0x7f41ec9cdc60, extradata = 0x0}}, static self = 0x7ffff5dc3790},
  static staticMetaObject = {d = {superdata = 0x7f41ecc175e0, stringdata = 0x7f41ed7b3820 "QApplication", data = 0x7f41ed7b3a00, extradata = 0x0}}}
        args = (KCmdLineArgs *) 0x2423130
        s = {_vptr.QTextStream = 0x0, d_ptr = 0x0}
        serviceName = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 74}, alloc = 0, size = 0, data = 0x7f41ecc1b83a,
    clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 38},
    alloc = 0, size = 0, data = 0x7f41ecc1b85a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}},
  d = 0x7f41eba8295c, static codecForCStrings = 0x0}
        compData = {_vptr.KComponentData = 0x7ffff5dc3908, d = 0x7f41ec7ea3f0}
        services = {{p = {static shared_null = {ref = {_q_value = 250}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x8}, d = 0x8}}
        service = {d = 0x7f41eba8164c}
        dependencies = {<QList<QString>> = {{p = {static shared_null = {ref = {_q_value = 250}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {
            0x0}}, d = 0x7}, d = 0x7}}, <No data fields>}
Comment 5 FiNeX 2008-11-19 20:25:33 UTC
Changed severity to "crash". I hope to have selected only the right bugs (>100) :-)
Comment 6 Sebastian Trueg 2008-11-19 20:33:21 UTC
could this somehow be related to the backport? Didn't you have another problem which also only occurred with the backport but not with a full trunk?

In any case, nepomukservicestub has a mandatory parameter: the service name. Could you please check which service is crashing (check the parameter) and run the stub with that service through gdb. Thanks.
Comment 7 S. Burmeister 2008-11-27 19:54:04 UTC
I get the same on trunk with strigi and soprano from kdesupport. If I run strigiclient, the daemon indexes without issues.

How can one debug the issue further?

If I try to start nepomukservicestub xsession-errors shows:

QObject: Do not delete object, 'unnamed', during its event handler!
Comment 8 Sebastian Trueg 2008-11-27 19:59:22 UTC
please disable strigi in the config (systemconfig->advanced->desktop search).
Then run "nepomukservicestub nepomukstrigiservice" in gdb and get me the backtrace. Also make sure you are using a recent trunk version if Strigi. It contains some crash fixes.
Comment 9 S. Burmeister 2008-11-27 20:01:05 UTC
If I start nepomuk and the indexer from systemsettings I get:

[/usr/bin/nepomukservicestub] nepomukservicestub: gconv.c:75: __gconv: Zusicherung »outbuf != ((void *)0) && *outbuf != ((void *)0)« nicht erfüllt.

"nicht erfüllt" means "not fulfilled
Comment 10 S. Burmeister 2008-11-27 20:05:17 UTC
Strigi is: Revision: 889802

WARNING: field 'ole.company' is not defined in any rdfs ontology database.
WARNING: field 'document.stats.table_count' is not defined in any rdfs ontology database.
WARNING: field 'document.stats.object_count' is not defined in any rdfs ontology database.
WARNING: field 'http://rdf.openmolecules.net/0.9#moleculeCount' is not defined in anyrdfs ontology database.
(Soprano::IndexManager) creating IndexWriter
(Soprano::IndexManager) creating IndexReader
IndexReader::IndexReader in thread Nepomuk::IndexScheduler(0x75f280)
nepomukstrigiservice(30334)/kdeui (KNotification) KNotification::slotReceivedId: 172
nepomukservicestub: gconv.c:75: __gconv: Zusicherung »outbuf != ((void *)0) && *outbuf != ((void *)0)« nicht erfüllt.

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x41133950 (LWP 30337)]
0x00007fdcb9f0e5c5 in raise () from /lib64/libc.so.6
(gdb) bt full                                       
#0  0x00007fdcb9f0e5c5 in raise () from /lib64/libc.so.6
No symbol table info available.                         
#1  0x00007fdcb9f0fbb3 in abort () from /lib64/libc.so.6
No symbol table info available.                         
#2  0x00007fdcb9f071e9 in __assert_fail () from /lib64/libc.so.6
No symbol table info available.                                 
#3  0x00007fdcb9efb717 in ?? () from /lib64/libc.so.6           
No symbol table info available.                                 
#4  0x00007fdcb9efab2d in iconv () from /lib64/libc.so.6        
No symbol table info available.                                 
#5  0x00007fdcb40f069a in Decoder::decode (this=0xcc1008, enc=@0x41131ea0, 
    data=@0x41131eb0)                                                      
    at /home/kde-devel/kde/src/kdesupport/strigi/src/streams/mailinputstream.cpp:89
        conv = (iconv_t) 0x73c310                                                  
        in = 0x7fdcba99d018 ""                                                     
        ilen = 0                                                                   
        olen = 0                                                                   
        out = 0x0                                                                  
        r = 0                                                                      
#6  0x00007fdcb40f0b10 in HeaderDecoder::decodedHeaderValue (this=0xcc1000,        
    v=<value optimized out>, len=<value optimized out>)                            
    at /home/kde-devel/kde/src/kdesupport/strigi/src/streams/mailinputstream.cpp:172
        encoding = {static npos = 18446744073709551615,                             
  _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0xcc5088 "iso-8859-1"}}                         
        str = {static npos = 18446744073709551615,                                    
  _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7fdcba99d018 ""}}                             
        q1 = 0x7fdca7b7e419 "iso-8859-1?B?V0c6IE1FIFZvdHJhZyAydGUgS9wgdm9tIDEuNi4wNQ?=\nTo: sven.burmeister@rwth-aachen.de\nMessage-id: <200506151631.j5FGVhoI027276@relay3.rwth-aachen.de>\nMIME-version: 1.0\nX-MIMEOLE: Produced By Mi"...                     
        q2 = 0x7fdca7b7e424 "B?V0c6IE1FIFZvdHJhZyAydGUgS9wgdm9tIDEuNi4wNQ?=\nTo: sven.burmeister@rwth-aachen.de\nMessage-id: <200506151631.j5FGVhoI027276@relay3.rwth-aachen.de>\nMIME-version: 1.0\nX-MIMEOLE: Produced By Microsoft Mim"...                     
        end = 0x7fdca7b7e426 "V0c6IE1FIFZvdHJhZyAydGUgS9wgdm9tIDEuNi4wNQ?=\nTo: sven.burmeister@rwth-aachen.de\nMessage-id: <200506151631.j5FGVhoI027276@relay3.rwth-aachen.de>\nMIME-version: 1.0\nX-MIMEOLE: Produced By Microsoft MimeO"...                    
---Type <return> to continue, or q <return> to quit---                                
        s = 0x0                                                                       
        p = <value optimized out>                                                     
        e = 0x7fdca7b7e452 "\nTo: sven.burmeister@rwth-aachen.de\nMessage-id: <200506151631.j5FGVhoI027276@relay3.rwth-aachen.de>\nMIME-version: 1.0\nX-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106\nX-Mailer: Microsoft Offic"...                     
#7  0x00007fdcb40f0cc4 in Strigi::MailInputStream::Private::handleHeaderLine (        
    this=0xcc0f70)                                                                    
    at /home/kde-devel/kde/src/kdesupport/strigi/src/streams/mailinputstream.cpp:491  
        offset = 9                                                                    
        len = 59                                                                      
        subject = 0x7fdcb40fd8db "Subject:"                                           
        contenttype = 0x7fdcb40fd8cd "Content-Type:"                                  
        to = 0x7fdcb40fd8b4 "To:"                                                     
        from = 0x7fdcb40fd824 "From:"                                                 
        cc = 0x7fdcb40fd8c9 "Cc:"                                                     
        bcc = 0x7fdcb40fd8c4 "Bcc:"                                                   
        messageid = 0x7fdcb40fd8b8 "Message-ID:"                                      
        inreplyto = 0x7fdcb40fd8ab "In-Reply-To:"                                     
        references = 0x7fdcb40fd89f "References:"                                     
        contenttransferencoding = 0x7fdcb40fd884 "Content-Transfer-Encoding:"         
        contentdisposition = 0x7fdcb40fd86f "Content-Disposition:"                    
#8  0x00007fdcb40f1b82 in Strigi::MailInputStream::Private::readHeader (              
    this=0xcc0f70)                                                                    
    at /home/kde-devel/kde/src/kdesupport/strigi/src/streams/mailinputstream.cpp:438  
No locals.                                                                            
#9  0x00007fdcb40f251b in MailInputStream (this=0x41132070,                           
    input=<value optimized out>)                                                      
    at /home/kde-devel/kde/src/kdesupport/strigi/src/streams/mailinputstream.cpp:318  
No locals.                                                                            
#10 0x00007fdcb43548fc in MailEndAnalyzer::analyze (this=0x912630, idx=@0x411325b0,   
    in=0x6)                                                                           
    at /home/kde-devel/kde/src/kdesupport/strigi/src/streamanalyzer/endanalyzers/mailendanalyzer.cpp:89                                                                     
        mail = {<Strigi::SubStreamProvider> = {                                       
    _vptr.SubStreamProvider = 0x7fdcb43048b0, m_status = Strigi::Ok, m_error = {      
      static npos = 18446744073709551615,                                             
      _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No---Type <return> to continue, or q <return> to quit---                                
 data fields>}, <No data fields>}, _M_p = 0x7fdcba99d018 ""}}, m_input = 0x8a7110,    
    m_entrystream = 0x0, m_entryinfo = {filename = {                                  
        static npos = 18446744073709551615,                                           
        _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7fdcba99d018 ""}}, properties = {       
        _M_t = {                                                                      
          _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >> = {<No data fields>}, <No data fields>},                                        
            _M_key_compare = {<std::binary_function<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool>> = {<No data fields>}, <No data fields>}, _M_header = { 
              _M_color = std::_S_red, _M_parent = 0x0, _M_left = 0x411320a8,          
              _M_right = 0x411320a8}, _M_node_count = 0}}}, size = -1, mtime = 0,     
      type = Strigi::EntryInfo::Unknown}}, old1 = 77309411346, old2 = 18, old3 = 18,  
  old4 = 0x1200000012 <Address 0x1200000012 out of bounds>,                           
  old5 = 0x1200000012 <Address 0x1200000012 out of bounds>, p = 0xcc0f70,             
  m_subject = {static npos = 18446744073709551615,                                    
    _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7fdcba99d018 ""}}, m_from = {               
    static npos = 18446744073709551615,                                               
    _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},                                                      
      _M_p = 0x8d7c08 "Tobias Beck <beck_tobias83@yahoo.de>"}}, m_to = {              
    static npos = 18446744073709551615,                                               
    _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7fdcba99d018 ""}}, m_cc = {                 
    static npos = 18446744073709551615,                                               
    _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7fdcba99d018 ""}}, m_bcc = {                
    static npos = 18446744073709551615,                                               
    _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7fdcba99d018 ""}}, m_messageid = {          
    static npos = 18446744073709551615,                                               
---Type <return> to continue, or q <return> to quit---                                
    _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7fdcba99d018 ""}}, m_inreplyto = {          
    static npos = 18446744073709551615,                                               
    _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7fdcba99d018 ""}}, m_references = {         
    static npos = 18446744073709551615,                                               
    _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7fdcba99d018 ""}}, m_contenttype = {        
    static npos = 18446744073709551615,                                               
    _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7fdcba99d018 ""}}, old6 = {                 
    static npos = 18446744073709551615,                                               
    _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7fdcba99d018 ""}}, old7 = {                 
    static npos = 18446744073709551615,                                               
    _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7fdcba99d018 ""}}, old8 = {                 
    c = {<std::_Deque_base<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >> = {                                                                 
        _M_impl = {<std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >> = {<__gnu_cxx::new_allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >> = {<No data fields>}, <No data fields>},      
          _M_map = 0xcabb90, _M_map_size = 8, _M_start = {_M_cur = 0x6d3110,          
            _M_first = 0x6d3110, _M_last = 0x6d3310, _M_node = 0xcabba8},             
          _M_finish = {_M_cur = 0x6d3110, _M_first = 0x6d3110, _M_last = 0x6d3310,    
            _M_node = 0xcabba8}}}, <No data fields>}}}                                
        s = <value optimized out>                                                     
        enc = {static npos = 18446744073709551615,                                    
  _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x849b08 "�X*"}}                                
#11 0x00007fdcb4349500 in Strigi::StreamAnalyzerPrivate::analyze (this=0x94a910,      
    idx=@0x411325b0, input=0x8a7110)                                                  
    at /home/kde-devel/kde/src/kdesupport/strigi/src/streamanalyzer/streamanalyzer.cpp:415                                                                                  
        ar = <value optimized out>                                                    
        sea = (class Strigi::StreamEndAnalyzer *) 0x912630                            
---Type <return> to continue, or q <return> to quit---                                
        finished = <value optimized out>                                              
        header = 0x7fdca7b7e010 "Return-path: <beck_tobias83@yahoo.de>\nReceived: from medos (medos.rz.RWTH-Aachen.DE [134.130.3.35])\n by ms-dienst.rz.rwth-aachen.de\n (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004))\n with ES"...                 
        headersize = 1024                                                             
#12 0x00007fdcb4587fe1 in Nepomuk::IndexScheduler::analyzeFile (                      
    this=<value optimized out>, file=<value optimized out>, analyzer=0x411330c0)      
    at /home/kde-devel/kde/src/KDE/kdebase/runtime/nepomuk/services/strigi/indexscheduler.cpp:344                                                                           
        stream = {<Strigi::BufferedStream<char>> = {<Strigi::StreamBase<char>> = {<Strigi::StreamBaseBase> = {_vptr.StreamBaseBase = 0x7fdcb4304610, m_size = 824190,       
        m_position = 1022, m_error = {static npos = 18446744073709551615,             
          _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7fdcba99d018 ""}},                    
        m_status = Strigi::Ok}, <No data fields>}, buffer = {                         
      start = 0x7fdca7b7e010 "Return-path: <beck_tobias83@yahoo.de>\nReceived: from medos (medos.rz.RWTH-Aachen.DE [134.130.3.35])\n by ms-dienst.rz.rwth-aachen.de\n (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004))\n with ES"..., size = 824191,    
      readPos = 0x7fdca7b7e40e "Subject: =?iso-8859-1?B?V0c6IE1FIFZvdHJhZyAydGUgS9wgdm9tIDEuNi4wNQ?=\nTo: sven.burmeister@rwth-aachen.de\nMessage-id: <200506151631.j5FGVhoI027276@relay3.rwth-aachen.de>\nMIME-version: 1.0\nX-MIMEOLE: Pro"...,                 
      avail = 823168}, finishedWritingToBuffer = false}, file = 0x0, filepath = {     
    static npos = 18446744073709551615,                                               
    _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},                                                      
      _M_p = 0xcc0f18 "/home/rabauke/Mail/Archiv/cur/1118870358.7615.YNmyv:2,S"}},    
  static defaultBufferSize = 1048576}                                                 
        analysisresult = {p = 0x73c6f0}                                               
#13 0x00007fdcb458891c in Nepomuk::IndexScheduler::updateDir (this=0x75f280,          
    dir=@0x928ae8, analyzer=0x411330c0, recursive=true)                               
    at /home/kde-devel/kde/src/KDE/kdebase/runtime/nepomuk/services/strigi/indexscheduler.cpp:316                                                                           
        _container_ = {c = {{p = {static shared_null = {ref = {_q_value = 1400},      
          alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}},                
        d = 0xc03140}, d = 0xc03140}}, brk = 0, i = {i = 0xc03158}, e = {             
    i = 0xc08340}}                                                                    
        filesInStore = {_M_t = {                                                      
---Type <return> to continue, or q <return> to quit---                                
    _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, long int> > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, long int> > >> = {<No data fields>}, <No data fields>},                                                                                      
      _M_key_compare = {<std::binary_function<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool>> = {<No data fields>}, <No data fields>}, _M_header = {       
        _M_color = std::_S_red, _M_parent = 0x0, _M_left = 0x41132698,                
        _M_right = 0x41132698}, _M_node_count = 0}}}                                  
        filesToIndex = {{p = {static shared_null = {ref = {_q_value = 1400},          
        alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0xc03140},   
    d = 0xc03140}}                                                                    
        subFolders = {{p = {static shared_null = {ref = {_q_value = 1400},            
        alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x606400},   
    d = 0x606400}}                                                                    
        filesToDelete = {<std::_Vector_base<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >> = {                                                
    _M_impl = {<std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >> = {<__gnu_cxx::new_allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >> = {<No data fields>}, <No data fields>},          
      _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>}   
        dirIt = {_vptr.QDirIterator = 0x7fdcbd020c30, d = 0x85c550}                   
#14 0x00007fdcb4588b2d in Nepomuk::IndexScheduler::updateDir (this=0x75f280,          
    dir=@0x769718, analyzer=0x411330c0, recursive=true)                               
    at /home/kde-devel/kde/src/KDE/kdebase/runtime/nepomuk/services/strigi/indexscheduler.cpp:323                                                                           
        _container_ = {c = {{p = {static shared_null = {ref = {_q_value = 1400},      
          alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}},                
        d = 0x928ac0}, d = 0x928ac0}}, brk = 0, i = {i = 0x928ae8}, e = {             
    i = 0x928af0}}                                                                    
        filesInStore = {_M_t = {                                                      
    _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, long int> > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, long int> > >> = {<No data fields>}, <No data fields>},---Type <return> to continue, or q <return> to quit---                                
                                                                                      
      _M_key_compare = {<std::binary_function<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool>> = {<No data fields>}, <No data fields>}, _M_header = {       
        _M_color = std::_S_red, _M_parent = 0x0, _M_left = 0x41132918,                
        _M_right = 0x41132918}, _M_node_count = 0}}}                                  
        filesToIndex = {{p = {static shared_null = {ref = {_q_value = 1400},          
        alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x606400},   
    d = 0x606400}}                                                                    
        subFolders = {{p = {static shared_null = {ref = {_q_value = 1400},            
        alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x928ac0},   
    d = 0x928ac0}}                                                                    
        filesToDelete = {<std::_Vector_base<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >> = {                                                
    _M_impl = {<std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >> = {<__gnu_cxx::new_allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >> = {<No data fields>}, <No data fields>},          
      _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>}   
        dirIt = {_vptr.QDirIterator = 0x7fdcbd020c30, d = 0x8c6500}                   
#15 0x00007fdcb4588b2d in Nepomuk::IndexScheduler::updateDir (this=0x75f280,          
    dir=@0x87abb0, analyzer=0x411330c0, recursive=true)                               
    at /home/kde-devel/kde/src/KDE/kdebase/runtime/nepomuk/services/strigi/indexscheduler.cpp:323                                                                           
        _container_ = {c = {{p = {static shared_null = {ref = {_q_value = 1400},      
          alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}},                
        d = 0x769700}, d = 0x769700}}, brk = 0, i = {i = 0x769718}, e = {             
    i = 0x769788}}                                                                    
        filesInStore = {_M_t = {                                                      
    _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, long int> > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, long int> > >> = {<No data fields>}, <No data fields>},                                                                                      
      _M_key_compare = {<std::binary_function<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool>> = {<No data fields>}, <No data fields>}, _M_header = {       
---Type <return> to continue, or q <return> to quit---                                
        _M_color = std::_S_red, _M_parent = 0x0, _M_left = 0x41132b98,                
        _M_right = 0x41132b98}, _M_node_count = 0}}}                                  
        filesToIndex = {{p = {static shared_null = {ref = {_q_value = 1400},          
        alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x8c2710},   
    d = 0x8c2710}}                                                                    
        subFolders = {{p = {static shared_null = {ref = {_q_value = 1400},            
        alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x769700},   
    d = 0x769700}}                                                                    
        filesToDelete = {<std::_Vector_base<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >> = {                                                
    _M_impl = {<std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >> = {<__gnu_cxx::new_allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >> = {<No data fields>}, <No data fields>},          
      _M_start = 0x66c2f0, _M_finish = 0x66c2f8,                                      
      _M_end_of_storage = 0x66c2f8}}, <No data fields>}                               
        dirIt = {_vptr.QDirIterator = 0x7fdcbd020c30, d = 0x90b230}                   
#16 0x00007fdcb4588b2d in Nepomuk::IndexScheduler::updateDir (this=0x75f280,          
    dir=@0x41133060, analyzer=0x411330c0, recursive=true)                             
    at /home/kde-devel/kde/src/KDE/kdebase/runtime/nepomuk/services/strigi/indexscheduler.cpp:323                                                                           
        _container_ = {c = {{p = {static shared_null = {ref = {_q_value = 1400},      
          alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}},                
        d = 0x87ab70}, d = 0x87ab70}}, brk = 0, i = {i = 0x87abb0}, e = {             
    i = 0x87ac10}}                                                                    
        filesInStore = {_M_t = {                                                      
    _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, long int> > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, long int> > >> = {<No data fields>}, <No data fields>},                                                                                      
      _M_key_compare = {<std::binary_function<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool>> = {<No data fields>}, <No data fields>}, _M_header = {
        _M_color = std::_S_red, _M_parent = 0x0, _M_left = 0x41132e18,
        _M_right = 0x41132e18}, _M_node_count = 0}}}
        filesToIndex = {{p = {static shared_null = {ref = {_q_value = 1400},
---Type <return> to continue, or q <return> to quit---
        alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x606400},
    d = 0x606400}}
        subFolders = {{p = {static shared_null = {ref = {_q_value = 1400},
        alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x87ab70},
    d = 0x87ab70}}
        filesToDelete = {<std::_Vector_base<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >> = {
    _M_impl = {<std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >> = {<__gnu_cxx::new_allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >> = {<No data fields>}, <No data fields>},
      _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>}
        dirIt = {_vptr.QDirIterator = 0x7fdcbd020c30, d = 0x88ca20}
#17 0x00007fdcb458983f in Nepomuk::IndexScheduler::run (this=0x75f280)
    at /home/kde-devel/kde/src/KDE/kdebase/runtime/nepomuk/services/strigi/indexscheduler.cpp:238
        dir = {first = {static null = {<No data fields>}, static shared_null = {
      ref = {_q_value = 9131}, alloc = 0, size = 0, data = 0x7fdcbd02583a,
      clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0,
      reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 52},
      alloc = 0, size = 0, data = 0x7fdcbd02585a, clean = 0, simpletext = 0,
      righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}},
    d = 0x8d6e70, static codecForCStrings = 0x0}, second = 3}
        analyzer = {p = 0x94a910}
#18 0x00007fdcbcc57022 in QThreadPrivate::start (arg=0x75f280)
    at thread/qthread_unix.cpp:185
        thr = (class QThread *) 0x767e
        data = (QThreadData *) 0x7620e0
#19 0x00007fdcbc9e3040 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#20 0x00007fdcb9faf0cd in clone () from /lib64/libc.so.6
No symbol table info available.
Comment 11 S. Burmeister 2008-11-27 20:28:45 UTC
Yes, it starts in the cur folder of the emails. Strigi bug report: https://sourceforge.net/tracker2/?func=detail&aid=2354101&group_id=171000&atid=856302
Comment 12 Sebastian Trueg 2009-04-28 12:12:10 UTC
does this still happen? In Mandriva 2009.1 Nepomuk works perfectly for me.
Comment 13 Daniel Hahler 2009-05-20 15:15:12 UTC
Yes, it still happens on Ubuntu (using the development branch (Karmic) with KDE 4.3b1).

Useful stacktraces should show up at https://launchpad.net/bugs/378677 in the near future, while https://launchpad.net/bugs/317712 appears to be the master bug.
Comment 14 Sebastian Trueg 2009-05-21 08:10:58 UTC
https://launchpad.net/bugs/317712 is rather useless as it does not contain any backtrace. https://launchpad.net/bugs/378677 is not public.
+ the crash we see above looks related to strigi and could be fixed in a newer release.
+ I am quite sure Ubuntu uses the redland backend which makes Nepomuk useless anyway.
Comment 15 Nicolas L. 2009-05-21 12:55:24 UTC
just tested against kde 4.3 beta1 and the issue still exist

$ nepomukservicestub
ASSERT: "KGlobal::hasLocale()" in file /home/mandrake/rpm/BUILD/kdelibs-4.2.85/kdecore/kernel/kcmdlineargs.cpp, line 1064
Abandon
Comment 16 Nicolas L. 2009-05-21 13:01:06 UTC
if i try in gdb (with  $ LC_ALL=C gdb --args nepomukservicestub --nofork
  ) this gives me : 

[New Thread 0xb60ff6d0 (LWP 17067)]
nepomukservicestub: Unknown option 'fork'.
nepomukservicestub: Use --help to get a list of available command line options.
Comment 17 Nicolas L. 2009-05-21 13:02:45 UTC
without the --nofork gdb option i have the crash see: 

(gdb) bt
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb6edfc00 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2  0xb6ee1668 in abort () at abort.c:88
#3  0xb7e9ec85 in qt_message_output (msgType=QtFatalMsg,
    buf=0x8445530 "ASSERT: \"KGlobal::hasLocale()\" in file /home/mandrake/rpm/BUILD/kdelibs-4.2.85/kdecore/kernel/kcmdlineargs.cpp, line 1064") at global/qglobal.cpp:2017
#4  0xb7e9ed7c in qFatal (msg=0x6 <Address 0x6 out of bounds>) at global/qglobal.cpp:2216
#5  0xb7e9ee75 in qt_assert (assertion=0xb73486cd "KGlobal::hasLocale()",
    file=0xb7347bdc "/home/mandrake/rpm/BUILD/kdelibs-4.2.85/kdecore/kernel/kcmdlineargs.cpp", line=1064)
    at global/qglobal.cpp:1786
#6  0xb725678b in KCmdLineArgs::usageError (error=@0xbfccfef4)
    at /usr/src/debug/kdelibs-4.2.85/kdecore/kernel/kcmdlineargs.cpp:1064
#7  0x0804aa4a in main (argc=Cannot access memory at address 0x6
) at /usr/src/debug/kdebase-runtime-4.2.85/nepomuk/servicestub/main.cpp:91
Comment 18 Daniel Hahler 2009-05-22 16:44:45 UTC
Sebastian, https://launchpad.net/bugs/378677 is public now.

> I am quite sure Ubuntu uses the redland backend which makes Nepomuk useless
anyway.
Can you tell me how to check this, and why it's useless then?
Comment 19 Sebastian Trueg 2009-05-22 17:18:19 UTC
you can find out with "qdbus org.kde.NepomukStorage /nepomukstorage org.kde.nepomuk.Storage.usedSopranoBackend"

Redland is waaaaaaaaaay slower than sesame2 and it misses important query features which will make many Nepomuk features not work.
Comment 20 Daniel Hahler 2009-05-22 19:26:21 UTC
Thanks, Sebastian, I've filed a new bug for this:
https://launchpad.net/bugs/379487

Now, back to topic.
Comment 21 Sebastian Trueg 2009-10-27 09:33:01 UTC
Do you still experience this crash with KDE 4.3.2?
Comment 22 Nicolas L. 2009-11-12 16:09:57 UTC
sorry for the delay this is ok now