[Qt-interest] The pains of debugging on Windows - Random 'ASSERT' crash on the QList [] operator

Colin S. Miller no-spam-thank-you at csmiller.demon.co.uk
Tue Dec 8 10:19:26 CET 2009


Josiah Bryan wrote:
> I apologize for the vagueness of this post - I'll get the exact message 
> next time I'm at the location. However, I've been vexed by this problem 
> this week and I'm trying to reproduce the problem on Linux - to no avail.
> 
> 
> 0x038512 blah blah /blah/kernel.dll
> 0x029381 ?? ()
> 0x082385 ?? ()
> ...
> 
> E.g. no stack info for anything in my code or in Qt (Yes, it was a debug 
> build!)

Josiah,

Assuming that's from memory (it wouldn't be kernel.dll in Linux),
try installing the libc6-dbg and libstdc++6*-dbg
packages. Debian (and probably other Linux distros) don't install these
by default as they are quite big, and not useful unless you are a developer.

BTW,
the gdb command "generate-core-file" will dump a core file for the debugee's
current state.
This is useful if the debugee hits one of those once-in-a-blue-moon crashes,
but you have a more urgent problem to fix.


HTH,
Colin S. Miller




More information about the Qt-interest-old mailing list