Issue 75264

Summary: crash in pdf export with large transparent bitmaps
Product: gsl Reporter: andreschnabel <andre.schnabel>
Component: codeAssignee: wolframgarten
Status: CLOSED FIXED QA Contact: issues@gsl <issues>
Severity: Trivial    
Priority: P2 CC: giuseppe.castagno, issues
Version: OOo 2.2 RC3Keywords: crash
Target Milestone: OOo 2.3   
Hardware: All   
OS: Unix, all   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
console log of the crash
none
test file to get the crash
none
gdb backtrace of the crash none

Description andreschnabel 2007-03-09 19:02:10 UTC
PDF export in Draw will crash , if a large object has bitmap background and
transparency enabled.

To reproduce:
- create a new draw document
- set page format to A0
- create a rectangle that covers the whole page
- set area - fill to "bitmap", choose any bitmap, enable "tiled"
- set trancparency to 50%
- export to pdf (use default settings)
-> OOo will crash
Comment 1 andreschnabel 2007-03-09 19:05:06 UTC
problem seems to be unix/x11 related. I could not reproduce on windows.

Problem has been reported for a ubuntu vendor build of OOo 2.1 and verified with
OOo 2.2RC3 on Linux x86 and Mac PPC.
Comment 2 andreschnabel 2007-03-09 19:06:34 UTC
Created attachment 43627 [details]
console log of the crash
Comment 3 andreschnabel 2007-03-09 19:13:23 UTC
Created attachment 43628 [details]
test file to get the crash
Comment 4 dalo 2007-03-10 08:45:59 UTC
Indeed not reproducible on XP with OOo 2.1
Comment 5 Giuseppe Castagno (aka beppec56) 2007-03-10 11:19:52 UTC
Issue exists in Debian, testing version current as of yesterday.

X11 is xorg 7.1.0-15.

I had a compiled m205 tree so I checked there. The attached file is a plain text
file of what I found.

It seems located in the same area as it was issue 75249.
Comment 6 Giuseppe Castagno (aka beppec56) 2007-03-10 11:20:39 UTC
Created attachment 43635 [details]
gdb backtrace of the crash
Comment 7 Giuseppe Castagno (aka beppec56) 2007-03-10 11:21:15 UTC
CC myself, forgot it...
Comment 8 Giuseppe Castagno (aka beppec56) 2007-03-12 09:29:50 UTC
I had some spare time and I checked the issue a little bit further in.

In my system it crashed because there is an object allocation (using new
operator) that asks for more memory than what I have available: request 3M+
where I have 1m ram + 2m swap.

I don't know if the memory size requested is right or wrong though.
Comment 9 philipp.lohmann 2007-03-12 10:54:04 UTC
target
Comment 10 philipp.lohmann 2007-03-13 20:04:21 UTC
fixed in CWS vcl75
Comment 11 philipp.lohmann 2007-03-20 19:47:19 UTC
please verify in CWS vcl75
Comment 12 h.ilter 2007-03-27 12:49:29 UTC
Reassigned to WG
Comment 13 wolframgarten 2007-03-28 10:07:30 UTC
Verified in CWS.
Comment 14 wolframgarten 2007-05-02 14:27:36 UTC
Tested in master src680m211. Closed.