Opened 21 months ago

Last modified 21 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) 21 months ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 21 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 21 months ago by claudioLu

Here is the crash log file:

Process: gv [82070] Path: /opt/local/bin/gv Identifier: gv Version: 0 Code Type: X86-64 (Native) Parent Process: bash [1090] Responsible: gv [82070] User ID: 501

Date/Time: 2023-03-08 16:07:43.452 -0300 OS Version: Mac OS X 10.13.6 (17G14042) Report Version: 12 Anonymous UUID: 905CE21B-5F24-52CD-0A64-9939DD28901F

Time Awake Since Boot: 1000000 seconds

System Integrity Protection: enabled

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000006 Exception Note: EXC_CORPSE_NOTIFY

Termination Signal: Segmentation fault: 11 Termination Reason: Namespace SIGNAL, Code 0xb Terminating Process: exc handler [0]

VM Regions Near 0x6: -->

TEXT 00000001076e6000-0000000107734000 [ 312K] r-x/rwx SM=COW d opt/local/bin/gv

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libXaw3d.8.dylib 0x0000000107884845 SetTextWidthAndHeight + 170 1 libXaw3d.8.dylib 0x0000000107883c29 Initialize + 109 2 libXt.6.dylib 0x0000000107906460 CallInitialize + 159 3 libXt.6.dylib 0x0000000107906425 CallInitialize + 100 4 libXt.6.dylib 0x0000000107906425 CallInitialize + 100 5 libXt.6.dylib 0x0000000107906425 CallInitialize + 100 6 libXt.6.dylib 0x0000000107905897 xtCreate + 521 7 libXt.6.dylib 0x00000001079055ab _XtCreateWidget + 430 8 libXt.6.dylib 0x0000000107905c4d XtCreateManagedWidget + 140 9 gv 0x00000001076fe7af main_createMenu + 79 10 gv 0x00000001076fcc76 main + 5210 11 libdyld.dylib 0x00007fff7fae4015 start + 1

Thread 0 crashed with X86 Thread State (64-bit):

rax: 0x0000000000000000 rbx: 0x00007fc34c60c510 rcx: 0x00007fc34c4005b8 rdx: 0x0000d7000000d700 rdi: 0x0000000000000000 rsi: 0x0000000000000000 rbp: 0x00007ffee8518c50 rsp: 0x00007ffee8518c00

r8: 0x00007fc34c700770 r9: 0xffffffff00000000 r10: 0x000000010787d570 r11: 0x000000010798ffb7

r12: 0x0000000000000000 r13: 0x00000001078af180 r14: 0x0000000000000000 r15: 0x00007fc34c60c510 rip: 0x0000000107884845 rfl: 0x0000000000010246 cr2: 0x0000000000000006

Logical CPU: 0 Error Code: 0x00000004 Trap Number: 14

Binary Images:

0x1076e6000 - 0x107733ff3 +gv (0) <C5787375-261F-3AC9-8079-6BA46371D11C> /opt/local/bin/gv 0x107763000 - 0x107863ff3 +libiconv.2.dylib (0) <6A6F7404-D117-3D83-AFB3-96D7E614BF07> /opt/local/lib/libiconv.2.dylib 0x107874000 - 0x107875fff +libXinerama.1.dylib (0) <6520523A-2585-35BC-B4B8-D6966FC20E37> /opt/local/lib/libXinerama.1.dylib 0x10787d000 - 0x1078abff7 +libXaw3d.8.dylib (0) <28DCBED6-8EE0-3FEA-9DD3-42CCB98EE4CD> /opt/local/lib/libXaw3d.8.dylib 0x1078ca000 - 0x1078d6ffb +libXpm.4.dylib (0) <D0892728-D20C-3654-85EE-08960D2E3D3D> /opt/local/lib/libXpm.4.dylib 0x1078e1000 - 0x1078f0ff7 +libXmu.6.dylib (0) <15C571A9-2838-3C93-9B3A-A8982B925337> /opt/local/lib/libXmu.6.dylib 0x1078fc000 - 0x107936fff +libXt.6.dylib (0) <5C2C2362-CB08-358B-B58B-CE184D9CE274> /opt/local/lib/libXt.6.dylib 0x107950000 - 0x10795aff3 +libXext.6.dylib (0) <89B62764-61B3-369C-B762-34EB8F4148A6> /opt/local/lib/libXext.6.dylib 0x107960000 - 0x107965ffb +libSM.6.dylib (0) <013CC795-65CB-3940-AC4C-F2ABAB565423> /opt/local/lib/libSM.6.dylib 0x10796a000 - 0x107978fff +libICE.6.dylib (0) <3F406232-6324-31D4-9CB9-965D767E277F> /opt/local/lib/libICE.6.dylib 0x107987000 - 0x107a76fff +libX11.6.dylib (0) <AC832B28-FA70-3C40-9597-B701C76B97D8> /opt/local/lib/libX11.6.dylib 0x107aa0000 - 0x107ab3ff3 +libxcb.1.dylib (0) <445FA8F0-E70B-36FD-BDD0-202FA8AB5620> /opt/local/lib/libxcb.1.dylib 0x107ac8000 - 0x107ac9fff +libXau.6.dylib (0) <847EC529-62A7-34A8-A803-E3995086A02D> /opt/local/lib/libXau.6.dylib 0x107acf000 - 0x107ad2ff7 +libXdmcp.6.dylib (0) <6BBBCD6E-2D9F-377D-A727-8C3FFA330F35> /opt/local/lib/libXdmcp.6.dylib 0x107ada000 - 0x107ae3fff +libintl.8.dylib (0) <370CF252-F352-3907-910B-82F1E09A4EEE> /opt/local/lib/libintl.8.dylib 0x112626000 - 0x112670adf dyld (551.5) <CB9BFB56-4511-36F1-A546-891FF770C01C> /usr/lib/dyld

0x7fff57b05000 - 0x7fff57fa8fe7 com.apple.CoreFoundation (6.9 - 1455.300) <CB44B892-64CD-3E32-A518-6D40B1A7033F> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation 0x7fff7d2bf000 - 0x7fff7d2f2ff7 libclosured.dylib (551.5) <112BC241-6626-3848-8DD8-B34B5B6F7ABC> /usr/lib/closure/libclosured.dylib 0x7fff7d483000 - 0x7fff7d484ff3 libDiagnosticMessagesClient.dylib (104) <3F855622-352B-3EA8-B7C8-94D1DB48C080> /usr/lib/libDiagnosticMessagesClient.dylib 0x7fff7d7f9000 - 0x7fff7d7faffb libSystem.B.dylib (1252.50.4) <5A02016C-8F9D-3F47-8C39-AD2CD4F9F11D> /usr/lib/libSystem.B.dylib 0x7fff7da2f000 - 0x7fff7da85fff libc++.1.dylib (400.9) <142D6292-F30F-3949-9F37-3C97A579F540> /usr/lib/libc++.1.dylib 0x7fff7da86000 - 0x7fff7daaaff7 libc++abi.dylib (400.8.2) <EF5E37D7-11D9-3530-BE45-B986612D13E2> /usr/lib/libc++abi.dylib 0x7fff7e559000 - 0x7fff7e780ffb libicucore.A.dylib (59181.0.1) <17767680-09DF-3954-AB6C-B13B41F92A2E> /usr/lib/libicucore.A.dylib 0x7fff7eeb2000 - 0x7fff7f2a07e7 libobjc.A.dylib (723) <843EFB54-EFCC-3A7C-BE11-092B6A556262> /usr/lib/libobjc.A.dylib 0x7fff7f8cc000 - 0x7fff7f8deffb libz.1.dylib (70) <47278BDC-596E-3037-B8DA-05FE9D5DBEF6> /usr/lib/libz.1.dylib 0x7fff7f97a000 - 0x7fff7f97eff7 libcache.dylib (80) <096D3699-58D2-3D23-9512-BC88DAE7B16C> /usr/lib/system/libcache.dylib 0x7fff7f97f000 - 0x7fff7f989ff3 libcommonCrypto.dylib (60118.50.1) <B4E77BD4-A809-37E1-8A79-25955E0F5D9C> /usr/lib/system/libcommonCrypto.dylib 0x7fff7f98a000 - 0x7fff7f991fff libcompiler_rt.dylib (62) <4CEED002-D00B-35F8-B563-0546A5F71A43> /usr/lib/system/libcompiler_rt.dylib 0x7fff7f992000 - 0x7fff7f99bffb libcopyfile.dylib (146.50.5) <F7A7999F-9509-3C67-8EE9-95BEE6772676> /usr/lib/system/libcopyfile.dylib 0x7fff7f99c000 - 0x7fff7fa21ffb libcorecrypto.dylib (562.70.3) <9C6E5CC2-272B-3740-AEDB-9EBEC98EC7F9> /usr/lib/system/libcorecrypto.dylib 0x7fff7faa9000 - 0x7fff7fae2ff7 libdispatch.dylib (913.60.3) <285526B6-A2A6-316D-A1CC-37803B71E203> /usr/lib/system/libdispatch.dylib 0x7fff7fae3000 - 0x7fff7fb00ff7 libdyld.dylib (551.5) <49ABA86D-DD48-3133-9B14-B9A564EEBC66> /usr/lib/system/libdyld.dylib 0x7fff7fb01000 - 0x7fff7fb01ffb libkeymgr.dylib (28) <7CC7B5E1-AB7F-3495-A26A-396461BCB66B> /usr/lib/system/libkeymgr.dylib 0x7fff7fb0f000 - 0x7fff7fb0fff7 liblaunch.dylib (1205.70.16) <265EE555-E988-3EE5-A39E-028FB3A5FE11> /usr/lib/system/liblaunch.dylib 0x7fff7fb10000 - 0x7fff7fb14ffb libmacho.dylib (906) <F5F16E2F-F961-3FF4-B02F-69BBDB57B8DC> /usr/lib/system/libmacho.dylib 0x7fff7fb15000 - 0x7fff7fb17fff libquarantine.dylib (86.70.1) <262CECFE-A493-3EC6-8608-CEA93757265E> /usr/lib/system/libquarantine.dylib 0x7fff7fb18000 - 0x7fff7fb19ff3 libremovefile.dylib (45) <EA24BFB6-24B7-3841-8AAC-FAF400910706> /usr/lib/system/libremovefile.dylib 0x7fff7fb1a000 - 0x7fff7fb31fff libsystem_asl.dylib (356.70.1) <9481D82D-CFB7-3032-A07F-88F7F59CAC2C> /usr/lib/system/libsystem_asl.dylib 0x7fff7fb32000 - 0x7fff7fb32fff libsystem_blocks.dylib (67) <FA2C3663-9DBB-3AFB-80A3-E77BE0816AD0> /usr/lib/system/libsystem_blocks.dylib 0x7fff7fb33000 - 0x7fff7fbbcff7 libsystem_c.dylib (1244.50.9) <25DD83D8-80CA-3DFF-8626-FE704911F19C> /usr/lib/system/libsystem_c.dylib 0x7fff7fbbd000 - 0x7fff7fbc0ffb libsystem_configuration.dylib (963.50.9) <61B26E1D-FEFF-38C6-AE0E-A6DD90145EB2> /usr/lib/system/libsystem_configuration.dylib 0x7fff7fbc1000 - 0x7fff7fbc4ffb libsystem_coreservices.dylib (51) <E8FA663F-1B0F-3B12-8F97-31A46E6B4D68> /usr/lib/system/libsystem_coreservices.dylib 0x7fff7fbc5000 - 0x7fff7fbc6fff libsystem_darwin.dylib (1244.50.9) <6195EEA1-83A7-35F0-8147-5AB031020CD0> /usr/lib/system/libsystem_darwin.dylib 0x7fff7fbc7000 - 0x7fff7fbcdffb libsystem_dnssd.dylib (878.70.4) <0D2C9583-5D28-375B-AEB4-F66F18C78322> /usr/lib/system/libsystem_dnssd.dylib 0x7fff7fbce000 - 0x7fff7fc17ff7 libsystem_info.dylib (517.30.1) <9C2C96F3-638B-34E7-A2BD-24C643EAF957> /usr/lib/system/libsystem_info.dylib 0x7fff7fc18000 - 0x7fff7fc3eff7 libsystem_kernel.dylib (4570.71.82.8) <C34BA704-FAFF-3DDB-9827-5930B5BEF134> /usr/lib/system/libsystem_kernel.dylib 0x7fff7fc3f000 - 0x7fff7fc8afcb libsystem_m.dylib (3147.50.1) <B3172533-77D2-3416-8487-4A505198E9E1> /usr/lib/system/libsystem_m.dylib 0x7fff7fc8b000 - 0x7fff7fcaaff7 libsystem_malloc.dylib (140.50.7) <821E16C8-7A7E-3269-9167-10F4F413BF93> /usr/lib/system/libsystem_malloc.dylib 0x7fff7fcab000 - 0x7fff7fddbff7 libsystem_network.dylib (1229.70.2) <07BFD80A-E7EB-3DEB-B765-5E1659453114> /usr/lib/system/libsystem_network.dylib 0x7fff7fddc000 - 0x7fff7fde6ffb libsystem_networkextension.dylib (767.70.2) <A90BAFFD-AC3D-3078-90B2-71463DBFD4A5> /usr/lib/system/libsystem_networkextension.dylib 0x7fff7fde7000 - 0x7fff7fdf0ff3 libsystem_notify.dylib (172) <738B3BB0-4F20-3446-A3B6-095D796E5903> /usr/lib/system/libsystem_notify.dylib 0x7fff7fdf1000 - 0x7fff7fdf8ff7 libsystem_platform.dylib (161.50.1) <90A2A62F-8690-3FA7-A4D0-9085BF2FA44A> /usr/lib/system/libsystem_platform.dylib 0x7fff7fdf9000 - 0x7fff7fe04fff libsystem_pthread.dylib (301.50.1) <283E64A7-A2B2-3212-95BA-4D21F9AE36CF> /usr/lib/system/libsystem_pthread.dylib 0x7fff7fe05000 - 0x7fff7fe08fff libsystem_sandbox.dylib (765.70.2) <C29E1B7A-F39B-344E-98F7-8FB32B10AE0A> /usr/lib/system/libsystem_sandbox.dylib 0x7fff7fe09000 - 0x7fff7fe0aff3 libsystem_secinit.dylib (30) <4E84DF62-57B5-36F9-819F-3C1E7FEDA856> /usr/lib/system/libsystem_secinit.dylib 0x7fff7fe0b000 - 0x7fff7fe12ff7 libsystem_symptoms.dylib (820.60.3) <A45B4D84-2C69-3F19-83C2-2F1EEA73A7B5> /usr/lib/system/libsystem_symptoms.dylib 0x7fff7fe13000 - 0x7fff7fe27ff7 libsystem_trace.dylib (829.70.2) <4C4E5351-E370-3226-9B30-61E250DE3B2E> /usr/lib/system/libsystem_trace.dylib 0x7fff7fe29000 - 0x7fff7fe2eff7 libunwind.dylib (35.3) <BAE12DA3-CF33-32AD-86B0-CCD6705ADFAA> /usr/lib/system/libunwind.dylib 0x7fff7fe2f000 - 0x7fff7fe5cfff libxpc.dylib (1205.70.16) <26D99819-B813-320E-9E8F-9D57AD2DA63B> /usr/lib/system/libxpc.dylib

External Modification Summary:

Calls made by other processes targeting this process:

task_for_pid: 0 thread_create: 0 thread_set_state: 0

Calls made by this process:

task_for_pid: 0 thread_create: 0 thread_set_state: 0

Calls made by all processes on this machine:

task_for_pid: 584837 thread_create: 0 thread_set_state: 0

VM Region Summary: ReadOnly portion of Libraries: Total=212.9M resident=0K(0%) swapped_out_or_unallocated=212.9M(100%) Writable regions: Total=54.6M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=54.6M(100%)

VIRTUAL REGION

REGION TYPE SIZE COUNT (non-coalesced) =========== ======= ======= Activity Tracing 256K 2 Kernel Alloc Once 8K 2 MALLOC 46.1M 10 MALLOC guard page 16K 4 STACK GUARD 56.0M 2 Stack 8192K 2 DATA 3988K 66 LINKEDIT 193.8M 18 TEXT 19.2M 60 UNICODE 560K 2 shared memory 12K 4 =========== ======= ======= TOTAL 327.7M 161

Version 0, edited 21 months ago by claudioLu (next)

Changed 21 months ago by ryandesign (Ryan Carsten Schmidt)

Attachment: crash.log added

comment:3 Changed 21 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 21 months ago by claudioLu

[ryandesign deleted redundant copy of crash log]

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

comment:5 Changed 21 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 21 months ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:6 Changed 21 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 21 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.