nepomukindexer dumps core in icalparser indexing calendar message

Bug #897529 reported by skierpage
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
strigi (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I'm running Ubuntu 11.10
kde-runtime: Installed: 4:4.7.2-0ubuntu1

I'm running `nepomukserver --nofork` from my home directory after telling Strigi to index my Windows NTFS drive. Strigi seems to be working fine.

I noticed a core file in my home directory, `file core` reports
core:ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style, from '/usr/bin/nepomukindexer /mnt/WindowsXPdrive/Documents and Settings/S Page/My Do'
This is a truncated command line, the actual argv[1] is to an IMAP mail message from Microsoft Exchange circa 2005 that does contain a meeting.ics calendar attachment. It is attached

I can reproduce the crash at will using nepomukindexer or xmlindexer, with xmlindexer the stack frame is the same down to frame 10 (libstreamanalyzer). Maybe this bug is against libical0 ?

The output from gdb follows.

Reading symbols from /usr/lib/debug/usr/bin/nepomukindexer...done.
done.
[New LWP 11316]

warning: Can't read pathname for load map: Input/output error.
[Thread debugging using libthread_db enabled]
bt
Core was generated by `/usr/bin/nepomukindexer /mnt/WindowsXPdrive/Documents and Settings/S Page/My Do'.
Program terminated with signal 11, Segmentation fault.
#0 __strchr_sse2 () at ../sysdeps/x86_64/multiarch/../strchr.S:48
48 ../sysdeps/x86_64/multiarch/../strchr.S: No such file or directory.
        in ../sysdeps/x86_64/multiarch/../strchr.S
(gdb) bt
#0 __strchr_sse2 () at ../sysdeps/x86_64/multiarch/../strchr.S:48
#1 0x00007f80c818bb80 in icalparser_string_line_generator () from /usr/lib/libical.so.0
#2 0x00007f80c818c030 in icalparser_get_line () from /usr/lib/libical.so.0
#3 0x00007f80c818cd1b in icalparser_parse () from /usr/lib/libical.so.0
#4 0x00007f80c818cec0 in icalparser_parse_string () from /usr/lib/libical.so.0
#5 0x00007f80c84031c6 in KCalCore::ICalFormat::fromRawString(QSharedPointer<KCalCore::Calendar> const&, QByteArray const&, bool, QString const&) () from /usr/lib/libkcalcore.so.4
#6 0x00007f80c867b4ae in IcsEndAnalyzer::analyze(Strigi::AnalysisResult&, Strigi::StreamBase<char>*) () from /usr/lib/strigi/strigiea_ics.so
#7 0x00007f80d4bc232a in ?? () from /usr/lib/libstreamanalyzer.so.0
#8 0x00007f80d4ba05f9 in Strigi::AnalysisResult::indexChild(std::string const&, long, Strigi::StreamBase<char>*) () from /usr/lib/libstreamanalyzer.so.0
#9 0x00007f80d4bd4c6f in ?? () from /usr/lib/libstreamanalyzer.so.0
#10 0x00007f80d4bc232a in ?? () from /usr/lib/libstreamanalyzer.so.0
#11 0x0000000000406c62 in Nepomuk::Indexer::indexFile (this=<optimized out>,
    info=<optimized out>, resUri=<optimized out>, mtime=0)
    at ../../../../../nepomuk/services/strigi/indexer/indexer.cpp:133
#12 0x0000000000406e8b in Nepomuk::Indexer::indexFile (this=0x7fff40db6600, url=...,
    resUri=<optimized out>, mtime=0)
    at ../../../../../nepomuk/services/strigi/indexer/indexer.cpp:104
#13 0x0000000000406176 in main (argc=2, argv=0x7fff40db6aa8)
    at ../../../../../nepomuk/services/strigi/indexer/main.cpp:82

Revision history for this message
skierpage (skierpage) wrote :
Revision history for this message
skierpage (skierpage) wrote :

From the stack trace, the bug might instead/also be in
   libical.so.0 from package libical0
, or
  strigiea_ics.so from package kdepim-strigi-plugins

Revision history for this message
skierpage (skierpage) wrote :

Good news: I can't reproduce the crash after an upgrade to Kubuntu 12.04 alpha2, currently running libstreamanalyzer0 package version 0.7.7-1ubuntu3.

affects: kde-runtime (Ubuntu) → strigi (Ubuntu)
Changed in strigi (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.