Re: setNumRows(0) crashes

"Vaughan, Bennie R Mr" <[email protected]> Fri, 26 May 2006 07:50:04 -0500
Newsgroups gmane.comp.kde.devel.perl
Message-ID <61254AA4DD9A0F49B01A4720098C426C0186E7B4@SILLA0DOI462032.sill.army.mil>
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:[email protected]] 
Sent: Friday, May 26, 2006 1:32 AM
To: [email protected]; [email protected]
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:[email protected]]
Sent: Thu 25/05/2006 19:37
To: [email protected]
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
[email protected]
https://mail.kde.org/mailman/listinfo/kde-perl
<https://mail.kde.org/mailman/listinfo/kde-perl>

_______________________________________________
Kde-perl mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-perl