Solved editors/xed crashes when launched with a filename as paramater

Command line : "xed ./test.txt" , returns segmentation fault.
Launching xed , followed by open file test.txt works fine.
I don't know if it's reproducible ?
 
[...]when i open a file on command line with extension ".ml", not on one with extension ".mli". Very weird bug.
I cannot reproduce your error with xed - version 3.0.2 (12.2-RELEASE-p10 on Xfce 4.16) with a simple file named xedtst.ml or xedtst.mli

What happens when you mv or cp the test file to another system?
 
Which repository?

pkg query %R xed

Command line : "xed ./test.txt" , returns segmentation fault.

Code:
% xed ./test.txt

** (xed:65681): WARNING **: 11:45:49.100: Set document metadata failed: Error setting file metadata: No such file or directory
% pkg info -x xed
xed-3.0.2
% freebsd-version -kru
14.0-CURRENT
14.0-CURRENT
14.0-CURRENT
% uname -aKU
FreeBSD mowa219-gjp4-8570p-freebsd 14.0-CURRENT FreeBSD 14.0-CURRENT #116 main-n251146-d109559ddbf: Mon Nov 29 14:34:59 GMT 2021     root@mowa219-gjp4-8570p-freebsd:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG  amd64 1400043 1400043
% pkg -vv | grep -e url -e enabled
    url             : "pkg+http://pkg.FreeBSD.org/FreeBSD:14:amd64/latest",
    enabled         : yes,
    url             : "https://alpha.pkgbase.live/current/FreeBSD:14:amd64/latest",
    enabled         : no,
    url             : "file:///usr/local/poudriere/data/packages/main-default",
    enabled         : yes,
% xed /tmp/test.ml

** (xed:65822): WARNING **: 11:47:52.504: Set document metadata failed: Error setting file metadata: No such file or directory
%

No crash.
 
Back
Top