|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
setNumRows(0) crashesI 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@... https://mail.kde.org/mailman/listinfo/kde-perl |
|
|
|
|
|
|
|
|
Re: setNumRows(0) crashesI 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@...] > Sent: Thu 25/05/2006 19:37 > To: kde-perl@... > 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@... > https://mail.kde.org/mailman/listinfo/kde-perl Kde-perl mailing list Kde-perl@... https://mail.kde.org/mailman/listinfo/kde-perl |
|
|
|
|
|
Re: setNumRows(0) crashesOn 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@... > 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. -- Gary L. Greene, Jr. Sent from: peorth.tolharadys.net 19:43:21 up 1 day, 11:30, 4 users, load average: 0.12, 0.18, 0.09 ========================================================================= Developer and Project Lead for the AltimatOS open source project Volunteer Developer for the KDE open source project See www.tolharadys.net and www.kde.org for more information ========================================================================= Please avoid sending me Word or PowerPoint attachments. _______________________________________________ Kde-perl mailing list Kde-perl@... https://mail.kde.org/mailman/listinfo/kde-perl |
|
|
Re: setNumRows(0) crashesGary,
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 necessary. my_table = Qt::Table(my_box, "my_table"); ... my_table->setNumRows( int(0) ); Post your code if this doesn't help. Cheers, Ole 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@... >> 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. > Kde-perl mailing list Kde-perl@... https://mail.kde.org/mailman/listinfo/kde-perl |
| Free embeddable forum powered by Nabble | Forum Help |