[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-perl
Subject:    Re: [Kde-perl] setNumRows(0) crashes
From:       "Vaughan, Bennie R  Mr" <Bennie.Vaughan () us ! army ! mil>
Date:       2006-05-26 12:50:04
Message-ID: 61254AA4DD9A0F49B01A4720098C426C0186E7B4 () SILLA0DOI462032 ! sill ! army ! mil
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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@bcgsc.ca] 
Sent: Friday, May 26, 2006 1:32 AM
To: kde-perl@kde.org; kde-perl@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@claborn.net]
Sent: Thu 25/05/2006 19:37
To: kde-perl@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@kde.org
https://mail.kde.org/mailman/listinfo/kde-perl
<https://mail.kde.org/mailman/listinfo/kde-perl> 



[Attachment #5 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>[Kde-perl] setNumRows(0) crashes</TITLE>

<META content="MSHTML 6.00.2900.2873" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=131344612-26052006><FONT face=Arial 
color=#0000ff size=2>I have seen this myself last week when attempting to 
setNumRows(0) i.e. clear the table.&nbsp; I ended up in just clearing it myself 
with a for loop since I was in a hurry.</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Bernard Li [mailto:bli@bcgsc.ca] 
<BR><B>Sent:</B> Friday, May 26, 2006 1:32 AM<BR><B>To:</B> kde-perl@kde.org; 
kde-perl@kde.org<BR><B>Subject:</B> Re: [Kde-perl] setNumRows(0) 
crashes<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV id=idOWAReplyText81077 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#0000ff size=2>Hi Joe:</FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial color=#0000ff size=2>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".</FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial color=#0000ff size=2>Have you tried changing the 
behaviour of glibc malloc check?&nbsp; There is a way to prevent it from killing 
your process.&nbsp; Also you can try upgrading to perl-Qt 3.009b2 to see if it 
works.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial color=#0000ff size=2>Cheers,</FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial color=#0000ff size=2>Bernard</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Joe Claborn 
[mailto:joe@claborn.net]<BR><B>Sent:</B> Thu 25/05/2006 19:37<BR><B>To:</B> 
kde-perl@kde.org<BR><B>Subject:</B> [Kde-perl] setNumRows(0) 
crashes<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>I have a very simple example where I add a row to a table, set 
some text into<BR>the first column, and then setNumRows(0) and the program 
crashes with<BR><BR>*** glibc detected *** double free or corruption (fasttop): 
0x085762e8 ***<BR><BR>Environment<BR>SUSE LINUX 10.0 (i586)<BR>perl-Qt -Version: 
3.008-132 Installed: 3.008-132<BR>perl 5.8.7-5.3<BR><BR>Am I doing something 
stupid? I'd be happy to tar up the files and include them<BR>here if that would 
be appropriate.<BR><BR>Thanks,<BR><BR>Joe 
Claborn<BR>_______________________________________________<BR>Kde-perl mailing 
list<BR>Kde-perl@kde.org<BR><A 
href="https://mail.kde.org/mailman/listinfo/kde-perl">https://mail.kde.org/mailman/listinfo/kde-perl</A><BR></FONT></P></DIV></BODY></HTML>




_______________________________________________
Kde-perl mailing list
Kde-perl@kde.org
https://mail.kde.org/mailman/listinfo/kde-perl


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic