Opened 21 months ago

Last modified 20 months ago

#67070 assigned defect

gv @3.7.4_6: Segmentation fault: 11

Reported by: claudioLu Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port: gv

Description (last modified by ryandesign (Ryan Carsten Schmidt))

gv
Warning: Cannot convert string "-*-Helvetica-Medium-R-Normal--*-140-*-*-P-*-ISO8859-1" to type FontStruct
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "-efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,*" to type FontSet
Warning: Missing charsets in String to FontSet conversion
Warning: Unable to load any usable fontset
Warning: Missing charsets in String to FontSet conversion
Warning: Unable to load any usable fontset
Segmentation fault: 11

Attachments (1)

crash.log (12.1 KB) - added by ryandesign (Ryan Carsten Schmidt) 20 months ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 20 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: gv crashes removed
Owner: set to ryandesign
Port: @3.7.4_6 on macports base version 2.8.1 HighSierra removed
Status: newassigned
Summary: gv @3.7.4_6 on macports base version 2.8.1 HighSierra crashesgv @3.7.4_6: Segmentation fault: 11

I tried on Monterey x86_64 just now and gv launched without crashing.

Please attach the crash log file. It should be in ~/Library/Logs/DiagnosticReports.

comment:2 Changed 20 months ago by claudioLu

Here is the crash log file.

Last edited 20 months ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

Changed 20 months ago by ryandesign (Ryan Carsten Schmidt)

Attachment: crash.log added

comment:3 Changed 20 months ago by ryandesign (Ryan Carsten Schmidt)

Thanks. I converted your comment to an attachment.

I also don't get the warnings you see, so maybe I should pay attention to them.

I found some results for these errors when searching the Internet. One was:

https://superuser.com/questions/641793/unable-to-load-any-usable-fontset

The suggestion there is to run xlsfonts; if it doesn't show the fonts it's trying to load, then we need to figure out how to get them installed. For example on my system using xorg-server, I see:

% xlsfonts | grep -i -- "^-.*-Helvetica-Medium-R-Normal--.*-140-.*-.*-P-.*-ISO8859-1$"
-adobe-helvetica-medium-r-normal--14-140-75-75-p-77-iso8859-1
-adobe-helvetica-medium-r-normal--20-140-100-100-p-100-iso8859-1

So 2 matching fonts are there on my system.

What X server do you use—the MacPorts xorg-server port, XQuartz, or something else?

comment:4 Changed 20 months ago by claudioLu

[ryandesign deleted redundant copy of crash log]

Last edited 20 months ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:5 Changed 20 months ago by claudioLu

I use XQuartz

xlsfonts | grep -i -- "^-.*-Helvetica-Medium-R-Normal--.*-140-.*-.*-P-.*-ISO8859-1$"
-adobe-helvetica-medium-r-normal--14-140-75-75-p-77-iso8859-1
-adobe-helvetica-medium-r-normal--14-140-75-75-p-77-iso8859-1
-adobe-helvetica-medium-r-normal--20-140-100-100-p-100-iso8859-1
-adobe-helvetica-medium-r-normal--20-140-100-100-p-100-iso8859-1
Last edited 20 months ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:6 Changed 20 months ago by ryandesign (Ryan Carsten Schmidt)

Hmm, well I don't know.

You could try asking on the help-gv mailing list.

comment:7 Changed 20 months ago by claudioLu

I discovered that the problem does not seem to be gv. I had saved the previous version of /opt, before updating it. Under the previous version, the gv from the new version works perfectly. So the problem is the macports update x fonts

Note: See TracTickets for help on using tickets.