Issue 2785 - Segfault when using fonts menu
Summary: Segfault when using fonts menu
Status: CLOSED IRREPRODUCIBLE
Alias: None
Product: Writer
Classification: Application
Component: ui (show other issues)
Version: 641
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: joerg.skottke
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-09 11:56 UTC by Unknown
Modified: 2003-09-08 16:56 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Unknown 2002-01-09 11:56:19 UTC
Opened a new word processing document. Typed in a few chars and selected them.
CLicked on the fonts menu. Used the arrows to try to scroll down to 'Times'.

About a third of the way down the list the app froze and segfaulted. Tried 3
times and happened each time.
Comment 1 khendricks 2002-01-09 15:49:04 UTC
Hi,

For what it is worth.  I have seen this caused by many issues:

1. bug in XFree86 4.1.0 in libXrender.so that will be fixed in next 
release.  So downgrade to XFreee 4.0.3, or upgrade to XFree 
4.1.99 or write to me directly for the XF 4.1.0 patch

2. old and corrupted Type 1 fonts being used.  So upgrade to the 
latest versions of the ghostscript fonts and Type 1 fonts from 
your distribution provider to replace them.

3. Xinerama issues with libXrender.  These should be worked 
around in the latest OO641C version of OOo

4. Issues with XF 4.1.99 that have been fixed with OO641C 
version of OOo

I am sure others exist.

If you are familiar with using gdb to attach to processes and 
generate backtraces, so if the non-recoverable dialog box 
comes up do not hit enter and instead grab gdb and attach to the 
lowest process id version of soffice.bin and do a backtrace.

Hope something here helps.

Kevin

Comment 2 stefan.baltzer 2002-01-16 16:26:25 UTC
Reassigned to Joerg.
Comment 3 joerg.skottke 2002-01-18 11:30:39 UTC
I agree with Kevin - there might be many reasons. 
On my Mdk 8.1 i can run through the fonts without any problems. To dig
into this specific issue i need a lot of information. You might go at
the office using gdb, as Kevin already suggested or you can give me
your machine specs - hardware, distribution, XFree version, Kernel,
fonts (w. source and fonts.dir) - if they differ from what is included
in the distribution by default etc.

I believe you there might be problems, but i need more info.
Comment 4 joerg.skottke 2002-01-22 14:07:44 UTC
Hi Jamie!

We set up a RH 7.2 box with similar settings as yours and were not
able to reproduce the issue. This makes debugging quite - uncomfortable.

If you have time you could try to provide a call stack using the
debugger gdb. Usually this is quite easy (as gdb is part of every
Linux distribution), just change a word in the second last line in the
soffice shell script from "exec" to "gdb" and start OpenOffice.org
from within a shell using the command ./soffice. The gdb will startup
and you need to type in "run" to start the application. If the
application crashes then you will be prompted in the shell where gdb
started OpenOffice.org. In this case type in the command "where".
Please send me the output. You can quit gdb by invoking the command
"quit" ;-)

btw. Your problem smells like a broken font in your front list. I
would check that as well. You might check every font available on your
system using the tool xfontsel (If this tools crashes as well then
there definitely is a broken font in your system)
Comment 5 tanelik 2002-01-25 20:52:17 UTC
I installed this software for the first time and opened the word
processor, then clicked the fonts-combobox before doing actually
anything else. I get a segmentation fault while dragging down the
scroll bar in the fonts-menu. This works every time I start the
program. Repeating this several times, the font listed as 'Goth' seems
always to be the last one that I can get to appear properly in the
list before crashing... well, anyway it crashes.

This was in RH 7.2, XFree86 4.1.0-3, kernel 2.4.9-13, AMD Athlon tb.
processor.
Comment 6 michael.bemmer 2003-03-13 09:39:37 UTC
As mentioned on the qa dev list on March 5th I will close all resolved
<wontfix/duplicate/worksforme/invalid> issues. Please see this posting for
details. First step in IssueZilla is unfortunately to set them to verified.
Comment 7 michael.bemmer 2003-03-13 10:15:12 UTC
As mentioned on the qa dev list on March 5th I will close all resolved
<wontfix/duplicate/worksforme/invalid> issues. Please see this posting for details.