Issue 45556

Summary: crash: OutputDevice::IsFontAvailable
Product: gsl Reporter: pavel
Component: codeAssignee: hdu <hdu>
Status: CLOSED DUPLICATE QA Contact: issues@gsl <issues>
Severity: Trivial    
Priority: P2 CC: issues
Version: 680m86   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
Sample document from Excel none

Description pavel 2005-03-20 11:37:55 UTC
Hi,

open the attached document, do File -> Page Preview. OOo will crash. I do not
have debug version compiled right now, but gdb prints this stack:

[New Thread 1189632944 (LWP 26719)]
[New Thread 1198320560 (LWP 26721)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1101224480 (LWP 26711)]
0x4011c1ed in OutputDevice::IsFontAvailable () from
/tmp/SRC680_m87/program/libvcl680li.so
(gdb) where
#0  0x4011c1ed in OutputDevice::IsFontAvailable () from
/tmp/SRC680_m87/program/libvcl680li.so
#1  0x40120dec in OutputDevice::DrawTextArray () from
/tmp/SRC680_m87/program/libvcl680li.so
#2  0x4621345b in ScTabViewShell::GetObjectState () from
/tmp/SRC680_m87/program/libsc680li.so
#3  0x461d9810 in ScTabViewShell::GetObjectState () from
/tmp/SRC680_m87/program/libsc680li.so
#4  0x461dca85 in ScTabViewShell::GetObjectState () from
/tmp/SRC680_m87/program/libsc680li.so
#5  0x461dd6ea in ScTabViewShell::GetObjectState () from
/tmp/SRC680_m87/program/libsc680li.so
#6  0x461e100a in ScTabViewShell::GetObjectState () from
/tmp/SRC680_m87/program/libsc680li.so
#7  0x461e1579 in ScTabViewShell::GetObjectState () from
/tmp/SRC680_m87/program/libsc680li.so
#8  0x4020db39 in Window::DrawSelectionBackground () from
/tmp/SRC680_m87/program/libvcl680li.so
#9  0x4020dbef in Window::DrawSelectionBackground () from
/tmp/SRC680_m87/program/libvcl680li.so
#10 0x4020dbef in Window::DrawSelectionBackground () from
/tmp/SRC680_m87/program/libvcl680li.so
#11 0x4020dbef in Window::DrawSelectionBackground () from
/tmp/SRC680_m87/program/libvcl680li.so
#12 0x4020dbef in Window::DrawSelectionBackground () from
/tmp/SRC680_m87/program/libvcl680li.so
#13 0x4020dbef in Window::DrawSelectionBackground () from
/tmp/SRC680_m87/program/libvcl680li.so
#14 0x4020dbef in Window::DrawSelectionBackground () from
/tmp/SRC680_m87/program/libvcl680li.so
#15 0x4020edb2 in Window::SetZOrder () from /tmp/SRC680_m87/program/libvcl680li.so
#16 0x4020ef45 in Window::SetZOrder () from /tmp/SRC680_m87/program/libvcl680li.so
#17 0x4020ef5c in Window::SetZOrder () from /tmp/SRC680_m87/program/libvcl680li.so
#18 0x4009d619 in Timer::Timeout () from /tmp/SRC680_m87/program/libvcl680li.so

I'll attach debug version if you can't reproduce.
Comment 1 pavel 2005-03-20 11:39:24 UTC
Created attachment 24061 [details]
Sample document from Excel
Comment 2 christof.pintaske 2005-03-21 18:41:59 UTC
cp->hdu: please have a look, I guess this is duplicate to #i44073#
Comment 3 hdu@apache.org 2005-03-22 07:55:35 UTC
Yes, the problem is gone in CWS afflitta with the fix for issue 44073.
The stack doesn't make sense below the DrawTextArray frame because many symbol
exports are suppressed  in the non-debug version.

*** This issue has been marked as a duplicate of 44073 ***
Comment 4 hdu@apache.org 2005-04-05 14:51:47 UTC
hdu->pjanik: please verify in >=680m90s1
Comment 5 pavel 2005-04-05 20:20:54 UTC
Works in m90. Thanks!

-> closing.