[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Strange crash in kdebug.h
From: Ellis Whitehead <kde () ellisw ! net>
Date: 2001-10-23 20:51:42
[Download RAW message or body]
The following is crashing in the call to kdebug.h:
bool disconnectKey( KAccelAction& action, KKeySequence key )
{
kdDebug(125) << "disconnectKey( " << action.m_sName << ", " << key.toString()
<< " )" << endl;
return grabKey( key, false );
}
However, the following works fine:
bool disconnectKey( KAccelAction& action, KKeySequence key )
{
kdDebug(125) << "disconnectKey( " << action.m_sName << ", " << endl;
kdDebug(125) << "disconnectKey( " << action.m_sName << ", " << key.toString()
<< " )" << endl;
return grabKey( key, false );
}
Merely repeating part of the debug expression lets it work.
Anyone have any idea where the bug could lie? Am I corrupting memory
somewhere? Could it be a g++ problem? A kdDebug problem?
Thanks,
Ellis
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic