[Kde-perl] setNumRows(0) crashes

Joe Claborn joe at claborn.net
Sat May 27 00:42:00 CEST 2006


I tried perl-Qt 3.009b2 with the same results.  Do you have a patch for the 
malloc check, or some pointers in the right direction?

Thanks,

Joe


On Friday 26 May 2006 1:31 am, Bernard Li wrote:
> Hi Joe:
>
> If you search the list, you'll see examples where it crashes if you run
> "removeRow" - however I don't think I've seen the same issue for
> "setNumRows".
>
> Have you tried changing the behaviour of glibc malloc check?  There is a
> way to prevent it from killing your process.  Also you can try upgrading to
> perl-Qt 3.009b2 to see if it works
>
> Cheers,
>
> Bernard
>
> ________________________________
>
> From: Joe Claborn [mailto:joe at claborn.net]
> Sent: Thu 25/05/2006 19:37
> To: kde-perl at kde.org
> Subject: [Kde-perl] setNumRows(0) crashes
>
>
>
> I have a very simple example where I add a row to a table, set some text
> into the first column, and then setNumRows(0) and the program crashes with
>
> *** glibc detected *** double free or corruption (fasttop): 0x085762e8 ***
>
> Environment
> SUSE LINUX 10.0 (i586)
> perl-Qt -Version: 3.008-132 Installed: 3.008-132
> perl 5.8.7-5.3
>
> Am I doing something stupid? I'd be happy to tar up the files and include
> them here if that would be appropriate.
>
> Thanks,
>
> Joe Claborn
> _______________________________________________
> Kde-perl mailing list
> Kde-perl at kde.org
> https://mail.kde.org/mailman/listinfo/kde-perl


More information about the Kde-perl mailing list