segfaults when running graphical reports

Thomas Klausner tk at giga.or.at
Sun Apr 13 04:10:32 EDT 2014


Hi Carsten!

Thanks for your reply.

On Sun, Apr 13, 2014 at 09:56:11AM +0200, Carsten Rinke wrote:
> two first thoughts:
> 
> - is 'jqpplot' part of the package?
> The display of graphical reports has changed from gnuplot to jqplot between
> 2.4 and 2.6.
> Should reside under <gnucash-installation-path>/share/gnucash/jqplot.

Yes:
/usr/pkg/share/gnucash/jqplot/jqplot.BezierCurveRenderer.js
/usr/pkg/share/gnucash/jqplot/jqplot.barRenderer.js
/usr/pkg/share/gnucash/jqplot/jqplot.blockRenderer.js
/usr/pkg/share/gnucash/jqplot/jqplot.bubbleRenderer.js
/usr/pkg/share/gnucash/jqplot/jqplot.canvasAxisLabelRenderer.js
/usr/pkg/share/gnucash/jqplot/jqplot.canvasAxisTickRenderer.js
/usr/pkg/share/gnucash/jqplot/jqplot.canvasTextRenderer.js
/usr/pkg/share/gnucash/jqplot/jqplot.categoryAxisRenderer.js
/usr/pkg/share/gnucash/jqplot/jqplot.ciParser.js
/usr/pkg/share/gnucash/jqplot/jqplot.cursor.js
/usr/pkg/share/gnucash/jqplot/jqplot.dateAxisRenderer.js
/usr/pkg/share/gnucash/jqplot/jqplot.donutRenderer.js
/usr/pkg/share/gnucash/jqplot/jqplot.dragable.js
/usr/pkg/share/gnucash/jqplot/jqplot.enhancedLegendRenderer.js
/usr/pkg/share/gnucash/jqplot/jqplot.funnelRenderer.js
/usr/pkg/share/gnucash/jqplot/jqplot.highlighter.js
/usr/pkg/share/gnucash/jqplot/jqplot.json2.js
/usr/pkg/share/gnucash/jqplot/jqplot.logAxisRenderer.js
/usr/pkg/share/gnucash/jqplot/jqplot.mekkoAxisRenderer.js
/usr/pkg/share/gnucash/jqplot/jqplot.mekkoRenderer.js
/usr/pkg/share/gnucash/jqplot/jqplot.meterGaugeRenderer.js
/usr/pkg/share/gnucash/jqplot/jqplot.ohlcRenderer.js
/usr/pkg/share/gnucash/jqplot/jqplot.pieRenderer.js
/usr/pkg/share/gnucash/jqplot/jqplot.pointLabels.js
/usr/pkg/share/gnucash/jqplot/jqplot.trendline.js
/usr/pkg/share/gnucash/jqplot/jquery.jqplot.css
/usr/pkg/share/gnucash/jqplot/jquery.jqplot.js
/usr/pkg/share/gnucash/jqplot/jquery.min.js
/usr/pkg/share/gnucash/scm/html-jqplot.scm

I see that these are javascript, does this need any particular support
in any of the libraries gnucash depends upon?

> - can you find something interesting in /tmp/gnucash.trace?
> Maybe try running "gnucash --debug --log gnc.scm=debug" to get more info
> into this trace.

I don't have any /tmp/gnucash* , not even when I start it as you
suggested. How do I make gnucash create that?
 Thomas

> Gruss,
> /Carsten
> 
> 
> On 04/13/2014 09:35 AM, Thomas Klausner wrote:
> >Hi!
> >
> >I'm using gnucash-2.6.3 from pkgsrc on NetBSD-6.99.40/amd64.
> >
> >I see two recent changes compared to 2.4.13, the previous version in
> >pkgsrc.
> >
> >The first: If I start gnucash without a terminal or in the background,
> >it doesn't finish startup. When started in the background, I see (with
> >zsh):
> >
> >>gnucash &
> >[1] 7303
> >[1]  + suspended (tty output)  gnucash
> >
> >When I put it in the foreground again, it continues starting
> >successfully. This seems to happen during the splash screen, the last
> >thing that's displayed in the progress text at the bottom is
> >"gnucash/python". Perhaps this is a problem with a python module, but
> >how do I find out which?
> >
> >The worse problem I have is when I try to run a graphical report (e.g.
> >Income & Expense / Expense barchart) I get a segfault:
> >
> >zsh: segmentation fault (core dumped)  gnucash
> >
> >The backtrace is not very helpful, even when compiled with '-g -O0':
> >(gdb) bt
> >#0  0x00007f7f87800a0c in ?? ()
> >#1  0x00007f7f857fe088 in ?? ()
> >#2  0x00007f7ff6a9efc0 in ?? ()
> >#3  0x00007f7feb1641a8 in ?? ()
> >#4  0x00007f7ff6a9e1c0 in ?? ()
> >#5  0x00007f7fee3be8e8 in ?? ()
> >#6  0x00007f7feecf9c00 in WTF::central_cache () from /usr/pkg/lib/libjavascriptcoregtk-1.0.so.0
> >#7  0x0000000000000000 in ?? ()
> >
> >I have webkit-gtk-1.10.2 installed if that matters.
> >
> >Thanks,
> >  Thomas
> >_______________________________________________
> >gnucash-devel mailing list
> >gnucash-devel at gnucash.org
> >https://lists.gnucash.org/mailman/listinfo/gnucash-devel
> >
> 
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
> 


More information about the gnucash-devel mailing list