[Lazarus] [Qt] Random issues at startup

zeljko at holobit.net zeljko at holobit.net
Mon Feb 23 21:03:12 CET 2015

On 2015-02-23 09:10, Vojtěch Čihák wrote:
> Hi,
> I work on app. (~20000 lines) and sometimes at startup (10 - 15% cases
> of hiting F9) I got this message in console:
> malloc(): smallbin double linked list corrupted: 0x00000000010ee860
> ***
> and it crashes.
> (Note that it is only in Qt, the same app. in GTK2 is OK.)
> CallStack window doesn't show me anything.
> Google doesn't help much, I didn't find anything Lazarus-related but I
> found a few Qt related topics - one of them recommende valgrind.
> So I tried valgrind and KCacheGrind
> $ valgrind --tool=callgrind ./myprogram
> but it also didn't help me much (maybe I do it wrong ?). The last line
> of output is pointing to libQtCore.so.4.8.6
> I don't want to publish code yet and I cannot reproduce with a small
> demo.

Without code I can do exactly nothing. Are U using LCL code only or you 
include qt4 somewhere and use pure qt api. If it's something up to qtlcl 
then gdb should show it. 32 or 64 bit ? What distro (Qt packager) ?


More information about the Lazarus mailing list