Bug 28638 - [Preferences] Import Preferences: Crashes on eclipse
Summary: [Preferences] Import Preferences: Crashes on eclipse
Status: CLOSED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.1   Edit
Hardware: PC Linux-Motif
: P1 critical (vote)
Target Milestone: ---   Edit
Assignee: Tod Creasey CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-18 13:06 EST by Andrew Irvine CLA
Modified: 2005-05-10 14:55 EDT (History)
0 users

See Also:


Attachments
Preferences to import (11.12 KB, text/plain)
2002-12-18 13:07 EST, Andrew Irvine CLA
no flags Details
Javacore from import operation (30.14 KB, text/plain)
2002-12-18 13:07 EST, Andrew Irvine CLA
no flags Details
FontRegistry test version (17.54 KB, text/plain)
2003-01-03 12:43 EST, Tod Creasey CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Irvine CLA 2002-12-18 13:06:06 EST
Eclipse 20021217
RH 7.3, KDE

I changed the dialog font via Window>Preferences>Workbench>Font to be a bold 
font.  Exited all preference pages and then verified the changes by going to 
the Editors preference page (Window>Preferences>Workbench>Editors).  I then 
attempted to import the attached preferences via the import button.  Eclipse 
crashes.  No entries in the log, but a javacore (attached) is produced.

Only occurs on linux-motif.  See also bug 28637 for a different error that 
occurred on Windows-XP.  I also saw these messages on linux, but was not sure 
if it was my GTK or MOTIF eclipse, or what actions had lead to this.
Comment 1 Andrew Irvine CLA 2002-12-18 13:07:02 EST
Created attachment 2836 [details]
Preferences to import
Comment 2 Andrew Irvine CLA 2002-12-18 13:07:26 EST
Created attachment 2837 [details]
Javacore from import operation
Comment 3 Tod Creasey CLA 2003-01-03 12:42:39 EST
The problem was with fonts being disposed too early - when preferences are 
imported it is possible that an old font is still in use and hence it should 
not be disposed of until shutdown.

A suggested version of FontRegistry is attached
Comment 4 Tod Creasey CLA 2003-01-03 12:43:26 EST
Created attachment 2886 [details]
FontRegistry test version
Comment 5 Tod Creasey CLA 2003-01-03 13:00:30 EST
Fixed in build >20030102. Please note that patch has a bug - use the version 
in the repository.
Comment 6 Tod Creasey CLA 2005-05-10 14:55:50 EDT
Marking closed