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 616554 - New stylesheets based on Fancy template cause BIN to crash
New stylesheets based on Fancy template cause BIN to crash
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: Reports
2.3.x
Other Windows
: Normal normal
: ---
Assigned To: Phil Longstaff
Andreas Köhler
Depends on:
Blocks:
 
 
Reported: 2010-04-22 19:21 UTC by Ed
Modified: 2018-06-29 22:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Replacement dll (608.12 KB, application/octet-stream)
2010-05-04 16:52 UTC, Phil Longstaff
Details

Description Ed 2010-04-22 19:21:17 UTC
I'm running Windows 7 Pro 64-bit, AMD 2-core, 4G ram.
This MAY be a Windows-specific error...I'm not sure.

Steps to reproduce:
1. Create a new stylesheet based on Fancy template:
   - Edit->Stylesheets->New
   - Choose "Fancy" template, name the stylesheet, then OK.
   - This will popup the "HTML Style Sheet Properties" window.
2. Click on the Images tab, and choose a Heading Banner image (I used a JPG from my local L: drive), then click OK.
   - This will return you to the Select HTML Style Sheet window, which you can Close.
   - You should now be back to the main GnuCash window.
3. Open the Fancy Report and switch it to the new style sheet you just created:
   - Reports->Business->Fancy Invoice
   - Click the "Options" button
   - In the Stylesheet dropdown, choose the new style sheet you just created.
   - Click OK.

************** AT THIS POINT, I RECEIVE A CRASH *****************
Here are the details from the "crash" popup which may or may not be useful:
*****************************************************************
Problem signature:
  Problem Event Name:	APPCRASH
  Application Name:	gnucash-bin.exe
  Application Version:	0.0.0.0
  Application Timestamp:	4bcec036
  Fault Module Name:	StackHash_b28b
  Fault Module Version:	0.0.0.0
  Fault Module Timestamp:	00000000
  Exception Code:	80000026
  Exception Offset:	748fc9f1
  OS Version:	6.1.7600.2.0.0.256.48
  Locale ID:	1033
  Additional Information 1:	b28b
  Additional Information 2:	b28bfaf039d448f61e1d460add93368d
  Additional Information 3:	41c9
  Additional Information 4:	41c9bbd57bd9459116e3bcf406663f6b
******************************************************************

FYI...I had previously reported and tested bug #588816, and it is *remotely* possible that this could be related.

-Ed
Comment 1 Phil Longstaff 2010-04-25 16:55:06 UTC
I did my testing with the easy stylesheet and easy invoice.  Do they work for you?
Comment 2 Phil Longstaff 2010-05-02 16:47:02 UTC
There is an incompatibility between the version of webkit used and the jpeg library.  Someone on the webkit mailing list also had the crash and has found a fix.  I'll get it and apply it.

Can you use png images instead (use an image program to convert your jpegs to png images and try again)?
Comment 3 Phil Longstaff 2010-05-04 16:52:56 UTC
Created attachment 160275 [details]
Replacement dll

Copy this file to Program Files/gnucash/bin to replace libjpeg-7.dll which is there.
Comment 4 Phil Longstaff 2010-05-09 17:13:29 UTC
r19146
Comment 5 Ed 2010-05-21 15:22:17 UTC
Sorry for the terribly long delay in responding...out of town, swamped on return, blah blah blah. [grin]

I will attempt to test this in the next few days, and report what I find. Thanks again for all your help, Phil!!!

-Ed
Comment 6 Ed 2010-06-09 17:30:54 UTC
FYI...I have confirmed that this works perfectly, even using JPEG image. Thanks for all your hard work!!!

-Ed
Comment 7 John Ralls 2018-06-29 22:38:13 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=616554. Please update any external references or bookmarks.