Bug 1323 - xedit segfaults on start-up
Summary: xedit segfaults on start-up
Status: RESOLVED WORKSFORME
Alias: None
Product: xorg
Classification: Unclassified
Component: App/xedit (show other bugs)
Version: 6.8.0
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-10 11:40 UTC by Stéphane Loeuillet
Modified: 2007-04-07 14:48 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Stéphane Loeuillet 2004-09-10 11:40:38 UTC
/usr/X11R6/bin/xedit
Warning: Missing charsets in String to FontSet conversion
Warning: Unable to load any usable fontset
Erreur de segmentation

(Erreur de segmentation == segfault)

running it under strace, it ends with :

open("/usr/X11R6/lib/X11/XtErrorDB", O_RDONLY) = -1 ENOENT (No such file or
directory)
write(2, "Warning: Missing charsets in Str"..., 58Warning: Missing charsets in
String to FontSet conversion
) = 58
write(2, "Warning: Unable to load any usab"..., 43Warning: Unable to load any
usable fontset 
) = 43
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

distrib : gentoo x86
Composite and Xevie disabled

for me, it's really low priority as i did not use this app for about 5 years but
i suppose some people could still use it.

i don't know if it is linked to  bug #936
Comment 1 Stéphane Loeuillet 2004-09-10 11:41:50 UTC
/usr/X11R6/lib/X11/XErrorDB exists on my system but there is no XtErrorDB file
at all.
Comment 2 Matthieu Herrb 2004-09-11 05:17:09 UTC
(In reply to comment #0)
> /usr/X11R6/bin/xedit
> Warning: Missing charsets in String to FontSet conversion
> Warning: Unable to load any usable fontset
> Erreur de segmentation

Can you tell us which locale settings (LANG and LC_* environment variables) 
you're using ? This seems relevant to me. 
> 
> (Erreur de segmentation == segfault)
> 
> running it under strace, it ends with :
> 
> open("/usr/X11R6/lib/X11/XtErrorDB", O_RDONLY) = -1 ENOENT (No such file or
> directory)
> write(2, "Warning: Missing charsets in Str"..., 58Warning: Missing charsets in
> String to FontSet conversion
> ) = 58
> write(2, "Warning: Unable to load any usab"..., 43Warning: Unable to load any
> usable fontset 
> ) = 43
> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> +++ killed by SIGSEGV +++
> 
> distrib : gentoo x86
> Composite and Xevie disabled
> 
> for me, it's really low priority as i did not use this app for about 5 years but
> i suppose some people could still use it.
> 
> i don't know if it is linked to  bug #936

It looks like it's related, yes. 

OTOH, the missing XtErrorDB file is probably not related. All Xt based 
applications behave this way...

Comment 3 Stéphane Loeuillet 2004-09-11 05:27:37 UTC
>Can you tell us which locale settings (LANG and LC_* environment variables)
>you're using ? This seems relevant to me. 

leroutier58 leroutier # env | grep LANG
LANG=fr_FR.UTF-8
GDM_LANG=fr_FR.UTF-8

leroutier58 leroutier # env | grep LC
leroutier58 leroutier #


> Warning: Missing charsets in String to FontSet conversion
> Warning: Unable to load any usable fontset

i have those 2 lines for other X apps
(viewres/xcalc/xclipboard/xditview/xfontsel/xman), but xedit is the only one to
crash

look at this comment for what Rolland Mainz had to say about them :
http://freedesktop.org/bugzilla/show_bug.cgi?id=1325#c9
Comment 4 Erik Andren 2006-04-29 06:00:58 UTC
Is this still an issue using a current version of xorg?
Comment 5 Daniel Stone 2007-02-27 01:24:05 UTC
Sorry about the phenomenal bug spam, guys.  Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Comment 6 Daniel Stone 2007-04-07 14:48:12 UTC
closing as worksforme.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.