Gnucash Segmentation fault when printing

Bug #145464 reported by Saivann Carignan
4
Affects Status Importance Assigned to Milestone
Gnome Print
Won't Fix
Critical
GnuCash
Invalid
Undecided
Unassigned
gnome-print (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Gnucash always crash with segmentation fault when printing after clicking on the configure button and uncheck all options.

This has been tested on two computers on Ubuntu Gutsy and Gnucash 2.0.5-1.1ubuntu1 and is also present with the future Gnucash release, 2.2.1

I made a Backtrace and a Strace, they are on the gnucashdebugfiles tarball with a screenshot of how to reproduce the bug. Unfortunately, because /usr/bin/gnucash isn't a binary file, I can't get to have a valgrind.

Revision history for this message
Saivann Carignan (oxmosys) wrote :
Changed in gnucash:
status: Unknown → New
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for your report.

Changed in gnucash:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Rolf Leggewie (r0lf) wrote :
Changed in gnucash:
status: New → Invalid
Changed in gnome-print:
status: Unknown → New
Revision history for this message
Gustav H Meyer (inetpro) wrote :

Thanks Rolf for the above link which helped me to find a way to reproduce at least a part of my problems. I had the same kind of issue with gnucash crashing (what I thought to be at random intervals) but couldn't pinpoint it.

After reading the above link I realised that I had no printer configured.

After adding a printer it no longer crashed. At least for now it seems stable.

For those that are still experiencing problems, when following the steps to reproduce as defined at http://bugzilla.gnome.org/show_bug.cgi?id=455570#c15, gnucash would exit with a message "Segmentation fault" and in /var/log/messages I would get the log entry:

Oct 21 23:09:18 MyMachine kernel: [13643.390266] gnucash-bin[17474]: segfault at 51aec885 eip b68735dc esp bfeebf60 error 4

Earlier I also got the following message in /var/log/messages:

Oct 21 21:29:11 MyMachine kernel: [ 7646.497532] gnucash-bin[12229]: segfault at 00000013 eip b61ebebc esp bfbb9720 error 4

Revision history for this message
Rolf Leggewie (r0lf) wrote :

Can anybody confirm if this is still a problem in Jaunty?

Revision history for this message
Saivann Carignan (oxmosys) wrote :

This bug cannot be reproduced in ubuntu intrepid or jaunty since gnucash is build with libgoffice 0.6 rather than 0.4, mainly because the interface changed and the steps to reproduce the bug are not valid anymore. Since this bug is reported upstream and not reproducible anymore on ubuntu, I'm closing it for ubuntu. Thanks!

Changed in gnome-print (Ubuntu):
status: Triaged → Invalid
Changed in gnome-print:
importance: Unknown → Critical
Changed in gnome-print:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.