Bug 286083 - textproc/grap core dumps upon invocation
Summary: textproc/grap core dumps upon invocation
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Many People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-13 22:05 UTC by gpw928
Modified: 2025-04-26 12:07 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (faber)


Attachments
truss output showing SIGILL (7.87 KB, text/plain)
2025-04-13 22:05 UTC, gpw928
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description gpw928 2025-04-13 22:05:41 UTC
Created attachment 259530 [details]
truss output showing SIGILL

[strand.400] $ freebsd-version -kru
13.5-RELEASE
13.5-RELEASE
13.5-RELEASE-p1

[strand.401] $ pkg provides "usr/local/bin/grap$"
Name    : grap-1.46_1
Comment : Implementation of Kernigan & Bentley's grap language
Repo    : FreeBSD
Filename: usr/local/bin/grap

[strand.402] $ cat olymp.g
.G1
54.2
49.4
49.2
.G2

[strand.403] $ grap <olymp.g
Illegal instruction (core dumped)

[strand.404] $ script grap.truss
Script started, output file is grap.truss
[strand.129] $ truss grap <olymp.g
[strand.130] $ ^D

Script done, output file is grap.truss -- which is attached
Comment 1 faber 2025-04-17 04:08:45 UTC
Upgrade to v 1.49 available from github or https://www.lunabase.org/~faber/Vault/software/grap/
Comment 2 faber 2025-04-17 04:10:57 UTC
Also, I don't have regular access to a FreeBSD machine these days, so it's impractical for me to remain a maintainer.
Comment 3 Zsolt Udvari freebsd_committer freebsd_triage 2025-04-26 11:07:25 UTC
(In reply to gpw928 from comment #0)
gpw928, would you like update grap?
Comment 4 gpw928 2025-04-26 12:05:59 UTC
I have verified the fix.  It works.
Comment 5 gpw928 2025-04-26 12:07:12 UTC
(In reply to Zsolt Udvari from comment #3)
Just confirming that the fix worked.