diff --git a/src/parser/backtraceparser.cpp b/src/parser/backtraceparser.cpp --- a/src/parser/backtraceparser.cpp +++ b/src/parser/backtraceparser.cpp @@ -384,10 +384,10 @@ //if there is no stack base, the executable is probably stripped, //so we need to be more strict with rating if ( !haveSeenStackBase ) { - //less than 4 stack frames is useless - if ( counter < 4 ) { + //less than 1 stack frame is useless + if ( counter < 1 ) { d->m_usefulness = Useless; - //more than 4 stack frames might have some value, so let's not be so strict, just lower the rating + //more than 1 stack frames might have some value, so let's not be so strict, just lower the rating } else if ( d->m_usefulness > Useless ) { d->m_usefulness = (Usefulness) (d->m_usefulness - 1); } diff --git a/src/tests/backtraceparsertest/backtraceparsertest_data/test_bug192412_b b/src/tests/backtraceparsertest/backtraceparsertest_data/test_bug192412_b --- a/src/tests/backtraceparsertest/backtraceparsertest_data/test_bug192412_b +++ b/src/tests/backtraceparsertest/backtraceparsertest_data/test_bug192412_b @@ -4,6 +4,5 @@ #0 0x00007fdda985f5b5 in waitpid () from /lib/libpthread.so.0 #1 0x00007fddaa7e660d in KCrash::startDirectly (argv=0x7fffb2db2800) at /home/gkiagia/kde/src/KDE/kdelibs/kdeui/util/kcrash.cpp:436 #2 0x00007fddaa7e7581 in KCrash::defaultCrashHandler (sig=11) at /home/gkiagia/kde/src/KDE/kdelibs/kdeui/util/kcrash.cpp:340 -#3 -#4 KCmdLineArgs::arg (this=0x0, n=0) at /home/gkiagia/kde/src/KDE/kdelibs/kdecore/kernel/kcmdlineargs.cpp:1530 -#5 0x00000000004023af in _start () +#5 0x00007f6e4e3edc34 in Phonon::AbstractMediaStreamPrivate::writeData () from /usr/lib/libphonon.so.4 +#6 0x000000000045cdbc in _start ()