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 779554 - Segfault when loading file
Segfault when loading file
Status: RESOLVED DUPLICATE of bug 761682
Product: GnuCash
Classification: Other
Component: Backend - XML
git-master
Other Windows
: Normal normal
: ---
Assigned To: gnucash-core-maint
gnucash-core-maint
Depends on:
Blocks:
 
 
Reported: 2017-03-03 22:32 UTC by Matt Forbis
Modified: 2018-06-29 23:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Stack Trace (9.52 KB, text/plain)
2017-03-03 22:32 UTC, Matt Forbis
Details

Description Matt Forbis 2017-03-03 22:32:10 UTC
Created attachment 347174 [details]
Stack Trace

I have compiled master and came across a segfault when loading my normal file that works fine on 2.6.15.  It happens during the loading of the file.  It looks like possibly the code no longer handles a / in certain places in the file.  I traced it to this section in my gnucash file (I cut it down to just show the parts of the tree in questions, but I can add more if needed).  If I removed the slot in section, the file loads just find.  The stack trace from the crash is attached.


<gnc:account version="2.0.0">
  <act:name>Capital One</act:name>
  <act:id type="guid">cb2525c09fbe0f791e01b4caa0fff869</act:id>
  <act:type>CREDIT</act:type>
  <act:commodity>
    <cmdty:space>ISO4217</cmdty:space>
    <cmdty:id>USD</cmdty:id>
  </act:commodity>
  <act:commodity-scu>100</act:commodity-scu>
  <act:slots>
    <slot>
      <slot:key>color</slot:key>
      <slot:value type="string">Not Set</slot:value>
    </slot>
    <slot>
      <slot:key>import-map-bayes</slot:key><slot>

          <slot:value type="frame">

          <slot>
          <slot:key>/</slot:key>
          <slot:value type="frame">
            <slot>
              <slot:key>Expenses:Vacation</slot:key>
              <slot:value type="integer">2</slot:value>
            </slot>
          </slot:value>
        </slot>
Comment 1 John Ralls 2017-03-06 00:58:59 UTC
Thanks for taking the time to report this.
This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 761682 ***
Comment 2 John Ralls 2018-06-29 23:54:58 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=779554. Please update any external references or bookmarks.