After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 486975 - crash during QIF Import Druid, when advancing two steps past, and then returning to: "Default QIF account name", editing textbox, and "Forward"
crash during QIF Import Druid, when advancing two steps past, and then return...
Status: VERIFIED DUPLICATE of bug 487317
Product: GnuCash
Classification: Other
Component: Import - QIF
git-master
Other All
: Normal critical
: ---
Assigned To: Derek Atkins
Derek Atkins
Depends on:
Blocks:
 
 
Reported: 2007-10-15 22:06 UTC by Ana Johnson
Modified: 2018-06-29 21:52 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ana Johnson 2007-10-15 22:06:10 UTC
Steps to reproduce:
1. for simplicity: start with a new gnucash file - File->New->New File;  use defaults in new file setup druid

2. Begin importing QIF file;  File->Import->Import QIF

3. select any QIF file;  doc/examples/web.qif in svn will work as well as any

4. Press "Forward" button
  Heading is now: "Set the default QIF account name"
  if using web.qif, "Account name" textbox is set to: "web"

5. Press "Forward" button
  Heading is now: "QIF files you have loaded"

6. Press "Forward" button
  Heading is now: "Match QIF accounts with GnuCash accounts"

7. Press "Back" button button repeatedly until
  Druid Heading is again: "Set the default QIF account name"
  "Account name" textbox is still set to: "web"

8. Change "Account name" textbox value to "web1" (or any other different value)

9. Press "Forward" button

gnucash crashes here immediately with backtrace

Stack trace:
Backtrace:
In unknown file:
   ?: 0* [qif-import:fix-from-acct #f "web3"]
In /opt/gnucash/share/gnucash/scm/qif-import/qif-dialog-utils.scm:
 558: 1* [for-each #<procedure #f (xtn)> ...
 562: 2*  [qif-file:xtns #f]
In unknown file:
   ?: 3   (and (eq? (quote #) (record-type-descriptor obj)) (struct-ref obj 2))
   ?: 4*  [eq? #<record-type qif-file> ...
   ?: 5*   [record-type-descriptor #f]
   ?: 6    (if (struct? obj) (struct-vtable obj) (error (quote not-a-record) obj))
     ...
   ?: 7    [scm-error misc-error #f "~A ~S" (not-a-record #f) #f]

<unnamed port>: In procedure scm-error in expression (scm-error (quote misc-error) #f ...):
<unnamed port>: not-a-record #f


Other information:
this bug exists in Debian Lenny (testing) also (version: 2.2.1-1), and reported in  Sid (unstable) too.  it is reproduceable with every qif file I tried.  It was reported in irc that you only need to move one step past the "Set the default QIF account name" druid step to repro, as long as you move back and forth a couple times...  suggesting that the magic needed is something like: "press the Back button at least twice".
Comment 1 Charles Day 2008-01-30 22:20:29 UTC
This bug is a duplicate of bug 487317. The crash was caused by passing a bad file name to a Scheme procedure due to problems with the "QIF files you have loaded" page. The problem was fixed in r16567.
Comment 2 Derek Atkins 2008-02-04 15:44:58 UTC
As per comment #1...

*** This bug has been marked as a duplicate of 487317 ***
Comment 3 John Ralls 2018-06-29 21:52:06 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=486975. Please update any external references or bookmarks.