[ANN] Lagrange - A Beautiful Gemini Client

colecmac at protonmail.com colecmac at protonmail.com
Mon Sep 14 01:46:17 BST 2020


Hello,

The screenshots I've seen look great! I'm was excited to try this client,
but instead I got a segfault staring back at me. Can you help me debug
this?

I'm on Arch Linux, and I'm pretty sure I have all the right libs installed.

Here's the output:

❯ ./lagrange
[the_Foundation] version: 1.0.0 cstd:201112
[the_Foundation] locale: en_US.UTF-8
Lagrange: A Beautiful Gemini Client
[1]    319881 segmentation fault (core dumped)  ./lagrange


And here are the strace lines right before the segfault:

rt_sigprocmask(SIG_BLOCK, ~[], [], 8)   = 0
clone(child_stack=0x7fea702e4ef0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tid=[319841], tls=0x7fea702e5640, child_tidptr=0x7fea702e5910) = 319841
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
access("/home/makeworld/.config/lagrange", R_OK) = 0
getcwd("/home/makeworld/Software/lagrange-0.1.0/build", 4096) = 46
stat("/home/makeworld/.config/lagrange/trusted.txt", 0x7ffd22276360) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/makeworld/.config/lagrange/trusted.txt", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/home/makeworld/.config/lagrange/idents.binary", 0x7ffd22276360) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/makeworld/.config/lagrange/idents.binary", O_RDONLY) = -1 ENOENT (No such file or directory)
access("/home/makeworld/.config/lagrange/idents", R_OK) = 0
stat("/home/makeworld/.config/lagrange/idents", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "/home/makeworld/.config/lagrange/idents", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 17
fstat(17, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
getdents64(17, 0x56014d354160 /* 2 entries */, 32768) = 48
getdents64(17, 0x56014d354160 /* 0 entries */, 32768) = 0
access("/home/makeworld/.config", R_OK) = 0
mkdir("/home/makeworld/.config/lagrange", 0755) = -1 EEXIST (File exists)
stat("/home/makeworld/.config/lagrange/prefs.cfg", 0x7ffd22276600) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/makeworld/.config/lagrange/prefs.cfg", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/home/makeworld/.config/lagrange/visited.txt", 0x7ffd22276500) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/makeworld/.config/lagrange/visited.txt", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/home/makeworld/.config/lagrange/bookmarks.txt", 0x7ffd22276540) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/makeworld/.config/lagrange/bookmarks.txt", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/home/makeworld/Software/lagrange-0.1.0/share/lagrange/resources.binary", 0x7ffd222765e0) = -1 ENOENT (No such file or directory)
stat("/home/makeworld/Software/lagrange-0.1.0/share/lagrange/resources.binary", 0x7ffd222765b0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/makeworld/Software/lagrange-0.1.0/share/lagrange/resources.binary", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/home/makeworld/Software/lagrange-0.1.0/build/resources.binary", {st_mode=S_IFREG|0644, st_size=9086132, ...}) = 0
stat("/home/makeworld/Software/lagrange-0.1.0/build/resources.binary", {st_mode=S_IFREG|0644, st_size=9086132, ...}) = 0
openat(AT_FDCWD, "/home/makeworld/Software/lagrange-0.1.0/build/resources.binary", O_RDONLY) = 18
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_ACCERR, si_addr=0x56014b9fe980} ---
+++ killed by SIGSEGV (core dumped) +++
[1]    319831 segmentation fault (core dumped)  strace ./lagrange


I downloaded the specific .tar.gz from your releases that includes theFoundation.
Any idea what the issue is?


makeworld


More information about the Gemini mailing list