Summary: | Strigi crashes when analyzing a .gz file that is equal to its own content (SIGSEGV) | ||
---|---|---|---|
Product: | unknown | Reporter: | Eldar Abusalimov <eldar.abusalimov> |
Component: | general | Assignee: | Jos van den Oever <jos> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | frank78ac |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Eldar Abusalimov
2008-10-24 18:04:51 UTC
Thanks for the bug report. I can confirm this in trunk rev. 875277. The four functions that get called over and over again are #6 0xb6117ec7 in Strigi::StreamAnalyzerPrivate::analyze () from /home/kde-devel/kde/lib/libstreamanalyzer.so.0 #7 0xb61189bb in Strigi::StreamAnalyzer::analyze () from /home/kde-devel/kde/lib/libstreamanalyzer.so.0 #8 0xb60d6c00 in Strigi::AnalysisResult::indexChild () from /home/kde-devel/kde/lib/libstreamanalyzer.so.0 #9 0xb61293f5 in GZipEndAnalyzer::analyze () from /home/kde-devel/kde/lib/libstreamanalyzer.so.0 (I'm not getting line numbers for Strigi although it's built from source, probably needs an extra option). The problem appears to be in Strigi, but I don't know what the official way to report Strigi bugs is (there seems to be no 'Strigi' product or component in bugs.kde.org). Reassigning to Jos van den Oever. Jos, for your information: I'm running Strigi from trunk/kdesupport, revision 875277. Thank you, Frank! (Strigi is not "kdelibs" but "unknown". And technically its bug tracking system is on sourceforge.) SVN commit 904845 by vandenoever: Fix bug where a gz archive that contains a file that is identical to the original archive. The depth variable of AnalysisResult would jump from value 127 to -128. The depth is now limited to 127. Having files nested 127 levels deep is very uncommon. The self-referential gz file is included in the testdata directory. BUG:173448 M +2 -1 src/streamanalyzer/analysisresult.cpp A testdata/data/selfgz.gz WebSVN link: http://websvn.kde.org/?view=rev&revision=904845 |