[Kde-perl] setNumRows(0) crashes

Vaughan, Bennie R Mr Bennie.Vaughan at us.army.mil
Fri May 26 14:50:04 CEST 2006


I have seen this myself last week when attempting to setNumRows(0) i.e.
clear the table.  I ended up in just clearing it myself with a for loop
since I was in a hurry.

  _____  

From: Bernard Li [mailto:bli at bcgsc.ca] 
Sent: Friday, May 26, 2006 1:32 AM
To: kde-perl at kde.org; kde-perl at kde.org
Subject: Re: [Kde-perl] setNumRows(0) crashes


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
<https://mail.kde.org/mailman/listinfo/kde-perl> 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-perl/attachments/20060526/09a38958/attachment.html 


More information about the Kde-perl mailing list