[Kde-perl] setNumRows(0) crashes

Ole Christensen Ole.Christensen at web.de
Thu Aug 16 09:14:23 CEST 2007


I once used the method without any problem. This is the code snippet I found. It 
is generated by Designer, thus the cast to int. It shouldn't be actually be 

my_table = Qt::Table(my_box, "my_table");
my_table->setNumRows( int(0) );

Post your code if this doesn't help.


Gary L. Greene Jr. wrote:
> On Thursday 25 May 2006 07:37:57 pm Joe Claborn wrote:
>> 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
> Can you please try against a newer version of perl-Qt? The latest out is 
> 3.009-b2, available as source from the sourceforge site.

More information about the Kde-perl mailing list