Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
(libxaw3d, font, gv, xfig) Segmentation fault [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
tahiry
n00b
n00b


Joined: 05 May 2005
Posts: 49

PostPosted: Wed Feb 08, 2012 3:36 pm    Post subject: (libxaw3d, font, gv, xfig) Segmentation fault [solved] Reply with quote

Hi All,

I have a problem when I run gv and xfig (maybe some other program). When I try to launch them, I get the following :

Code:

$ xfig
Warning: Cannot convert string "7x13bold" to type FontStruct
Warning: Unable to load any usable ISO8859 font
Warning: Unable to load any usable ISO8859 font
Segmentation fault


Code:

$ /usr/bin/gv
Warning: Cannot convert string "-*-Helvetica-Medium-R-Normal--*-140-*-*-P-*-ISO8859-1" to type FontStruct
Warning: Unable to load any usable ISO8859 font
Warning: Unable to load any usable ISO8859 font
Segmentation fault


dmesg gives:

Code:

$ dmesg | tail
xfig[3958]: segfault at 8 ip 00007fb80320c648 sp 00007fff421f3c10 error 4 in libXaw3d.so.8.0[7fb8031f5000+50000]
gv[4271]: segfault at 8 ip 00007fa2bb28a74e sp 00007fff34b391a0 error 4 in libXaw3d.so.8.0[7fa2bb26e000+50000]


gdb gives
Code:

$ gdb xfig
GNU gdb (Gentoo 7.3.1 p2) 7.3.1
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Reading symbols from /usr/bin/xfig...Reading symbols from /usr/lib64/debug/usr/bin/xfig.debug...done.
done.
(gdb) run
Starting program: /usr/bin/xfig
Warning: Cannot convert string "7x13bold" to type FontStruct
Warning: Unable to load any usable ISO8859 font
Warning: Unable to load any usable ISO8859 font

Program received signal SIGSEGV, Segmentation fault.
GetGC (sink=0x865ea0) at AsciiSink.c:494
494     AsciiSink.c: No such file or directory.
        in AsciiSink.c


Do you maybe have an idea to solve the problem. Thank you for your help.

Bonne journée.

[tahiry]


Last edited by tahiry on Thu Feb 16, 2012 11:17 am; edited 1 time in total
Back to top
View user's profile Send private message
invasivenorman
n00b
n00b


Joined: 06 Feb 2012
Posts: 28
Location: ::1

PostPosted: Sun Feb 12, 2012 12:47 am    Post subject: Re: (libxaw3d, font, gv, xfig) Segmentation fault Reply with quote

tahiry wrote:
Warning: Unable to load any usable ISO8859 font

Do you perhaps have -nls set in your USE flags?

Failing that, do you have any fonts installed?

Failing that, what is the output of xset -q
_________________
gurgle
Back to top
View user's profile Send private message
tahiry
n00b
n00b


Joined: 05 May 2005
Posts: 49

PostPosted: Wed Feb 15, 2012 12:07 pm    Post subject: Reply with quote

I am compiling with nls enable, but for now:

Code:

$ xset -q
Keyboard Control:
  auto repeat:  on    key click percent:  0    LED mask:  00000002
  XKB indicators:
    00: Caps Lock:   off    01: Num Lock:    on     02: Scroll Lock: off
    03: Compose:     off    04: Kana:        off    05: Sleep:       off
    06: Suspend:     off    07: Mute:        off    08: Misc:        off
    09: Mail:        off    10: Charging:    off    11: Shift Lock:  off
    12: Group 2:     off    13: Mouse Keys:  off
  auto repeat delay:  660    repeat rate:  25
  auto repeating keys:  00ffffffdffffbbf
                        fadfffefffedffff
                        9fffffffffffffff
                        fff7ffffffffffff
  bell percent:  50    bell pitch:  400    bell duration:  100
Pointer Control:
  acceleration:  2/1    threshold:  4
Screen Saver:
  prefer blanking:  yes    allow exposures:  yes
  timeout:  600    cycle:  600
Colors:
  default colormap:  0x20    BlackPixel:  0x0    WhitePixel:  0xffffff
Font Path:
  /usr/share/fonts/misc/,/usr/share/fonts/TTF/,/usr/share/fonts/OTF/,/usr/share/fonts/Type1/,/usr/share/fonts/100dpi/,/usr/share/fonts/75dpi/,built-ins
DPMS (Energy Star):
  Standby: 600    Suspend: 600    Off: 600
  DPMS is Enabled
  Monitor is On
Back to top
View user's profile Send private message
tahiry
n00b
n00b


Joined: 05 May 2005
Posts: 49

PostPosted: Wed Feb 15, 2012 12:10 pm    Post subject: Reply with quote

I have 51 fonts installed.

Code:

$ eix -I media-fonts/* l
[...]

Found 51 matches.


Thank you for your answer.

[tahiry]
Back to top
View user's profile Send private message
Dont Panic
Guru
Guru


Joined: 20 Jun 2007
Posts: 322
Location: SouthEast U.S.A.

PostPosted: Wed Feb 15, 2012 5:15 pm    Post subject: Reply with quote

Had you seen this forum post?

https://forums.gentoo.org/viewtopic-t-739586.html

It looks like most of the responses towards the end had issues with the 'nls' USE flag. But there were several other things that could be tried.
Back to top
View user's profile Send private message
tahiry
n00b
n00b


Joined: 05 May 2005
Posts: 49

PostPosted: Thu Feb 16, 2012 9:00 am    Post subject: Reply with quote

Does not work with nls enabled. Any other idea ?

Anyway, thank you for the reply.

[tahiry]
Back to top
View user's profile Send private message
tahiry
n00b
n00b


Joined: 05 May 2005
Posts: 49

PostPosted: Thu Feb 16, 2012 11:17 am    Post subject: Reply with quote

Solved.

I do not really know what makes it works but it works now. I've followed the instruction given in the links above and I saw that every locales were commented in /etc/locale.gen. I have just uncommented some lines and re-run locan-gen and that made it.

Again. Thank for your help.

[tahiry]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum