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

List:       koffice-devel
Subject:    Re: Dialog crashing
From:       Nicolas Goutte <nicog () snafu ! de>
Date:       2002-06-08 20:16:26
[Download RAW message or body]

On Saturday 08 June 2002 12:37, Clarence Dang wrote:
> On Fri, 7 Jun 2002 23:45, Nicolas Goutte wrote:
> > I have tested.
>
> Thanks for trying out the patch.
>
> > It crashes for me too, but not always at dialog time.
>
> Hmm, I've always found that it crashes somewhere in the constructor for the
> dialog...
> Where has it crashed for you?

Well, mostly while deleting the dialog. (That is why I had tried to modify the 
dialog.)

 Then somewhere else that I could not identify (seems to be even before any 
dialog stuff.)

Sorry, I have no backtrace, as somehow they were not generated.

>
> > My
> > current impression is that the problem seems (also?) to be somewhere
> > else.
>
> This is also what I suspect because if changing something from static to
> dynamic memory allocation causes a crash, then there must be some memory
> corruption somewhere else.  I thought that it might be my class'
> constructor corrupting memory (the class derived from koFilter) but that
> didn't seem to be the cause either :(
>
> > PS.: I have also tried to change the dialog a little. It has not worked.
>
> Yes, I once tried to give it a blank dialog but that didn't work either!
> I then just took the dialog direct from the ascii filter (no changes) and
> that still didn't work :(
>
> > If
> > you want my new dialog, just ask! (File 8KB uncompressed, as patch it is
> > double so big.)
>
> Could you please send me this via private mail.

It is on the way!

>
> Thanks,
> 	Clarence

Have a nice day/evening/night!

>
> > On Friday 07 June 2002 17:11, Clarence Dang wrote:
> > > Hi,
> > >
> > > A few days ago I "stole" the import dialog from the ascii import filter
> > > for mswrite import.  I've got a few questions/problems:
> > >
> > > 1. The version in CVS initialises the dialog as a local variable
> > > (bottom of mswriteimport.cc):
> > >
> > > 	MSWriteImportDialog dialog;
> > >
> > > But I read somewhere that QT widgets should be dynamically allocated
> > > like:
> > >
> > > 	MSWriteImportDialog *dialog = new MSWriteImportDialog;
> > >
> > > Could someone please try the attached cvsdiff?  It seems to be crashing
> > > (time to update from CVS?).
> >
> > (...)
>
> _______________________________________________
> koffice-devel mailing list
> koffice-devel@mail.kde.org
> http://mail.kde.org/mailman/listinfo/koffice-devel


_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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