On Saturday 09 April 2011 5:02:43 am Thomas Lübking wrote:
> Apparently the KApplication constructor makes some bad call and i'd bet
> it's phonon related (conflicting libs linked from KDE and Qt or whatever?)
> To know fo sure you should maybe fall back to good old gdb, run your
> little crasher and see the real broken statement with a nice "bt".
> You'll probably get no debug dialog cause Dr.Konqui (how is that spelled
> exactly, btw?) crashes itself on the same statement.
> 
Tried gdb and bt after all.  Application startup failed as follows:
Program received signal SIGFPE, Arithmetic exception.
0xb6a1e592 in intCeil<unsigned int> (a=0, b=0)
    at /kde-devel/src/4.6/kdelibs/kdecore/util/kshareddatacache.cpp:161
161         return (a + b - 1) / b;

Relevant source code (in shareddatacache.cpp) reads:
/**
 * @return the smallest integer greater than or equal to (@p a / @p b).
 * @param a Numerator, should be ≥ 0.
 * @param b Denominator, should be > 0.
 */
template<class T>
T intCeil(T a, T b)
{
    return (a + b - 1) / b;
}
Urk!  a and b were both zero, so it divided by zero.  And T = unsigned int, so
why do I get "Floating point exception"?

Maybe I will have a look at shareddatacache.cpp history.  I think it was
fairly new in January 2011 and I seem to remember some other gamers
having trouble with it.

I would still like some hints about where to start re building a new Qt and
KDE.  I am totally confused and out of touch on that topic.  See my previous
post today.

Cheers, Ian W.
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Reply via email to