bug-gnu-pspp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PSPP-BUG: psppire crashes importing large text file


From: John Darrington
Subject: Re: PSPP-BUG: psppire crashes importing large text file
Date: Fri, 25 Apr 2008 17:30:33 +0800
User-agent: Mutt/1.5.13 (2006-08-11)

          
          I encountered what must be the same bug while I was developing
          the text import implementation.  I didn't run into it toward the
          end of development and so I was kind of hoping it had just
          disappeared during code cleanup.  I see that I was wrong ;-(
          
          I'll try to debug this tonight, if I get a few minutes.


I managed to reproduce this and get a core dump.  It seems to happen
more often if one does a lot of window switching whilst it's doing the
import.  I think the clue is this:


#0  0x0809a40c in parse_field (ia=0xbfc180e8, row=2, column=5, outputp=0x0, 
tooltipp=0xbfc18c9c)
    at src/ui/gui/text-data-import-dialog.c:1690
#1  0x0809a7ab in on_query_output_tooltip (widget=0x844bdb0, wx=574, wy=70, 
keyboard_mode=0, 
    tooltip=0x8424070, ia=0xbfc180e8) at 
src/ui/gui/text-data-import-dialog.c:1782


My guess is that on_query_output_tooltip is getting called after its
data (the struct import_assistant) has been destroyed.  So if I'm
right, then we either need to set ia to NULL and test for this in the
callback, or disconnect the callback before the data is destroyed.

J'


-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.


Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]