From: HiPhish <hiphish@posteo.de>
To: help-guix@gnu.org
Subject: Re: Segfault when building GTK+ application with Meson
Date: Sun, 14 Mar 2021 16:41:12 +0100 [thread overview]
Message-ID: <4655706.31r3eYUQgx@titan> (raw)
I have tried running the application through GDB to print a backtrace, and
here is what it prints:
$ gdb ./build/src/vala-language-server
GNU gdb (GDB) 10.1
(gdb) run
Starting program: /home/hiphish/Applications/lsp/vala-language-server/build/
src/vala-language-server
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-
glibc-2.31/lib/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7fe1f2c in call_init (l=<optimized out>, argc=argc@entry=1,
argv=argv@entry=0x7fffffffdd28,
env=env@entry=0x7fffffffdd38) at dl-init.c:74
74 dl-init.c: No such file or directory.
(gdb) bt
#0 0x00007ffff7fe1f2c in call_init (l=<optimized out>, argc=argc@entry=1,
argv=argv@entry=0x7fffffffdd28,
env=env@entry=0x7fffffffdd38) at dl-init.c:74
#1 0x00007ffff7fe20a1 in call_init (env=0x7fffffffdd38, argv=0x7fffffffdd28, argc=1,
l=<optimized out>) at dl-init.c:37
#2 _dl_init (main_map=0x7ffff7ffe1a0, argc=1, argv=0x7fffffffdd28, env=0x7fffffffdd38)
at dl-init.c:88
#3 0x00007ffff7fd308a in _dl_start_user () from /lib64/ld-linux-x86-64.so.2
#4 0x0000000000000001 in ?? ()
#5 0x00007fffffffe10e in ?? ()
#6 0x0000000000000000 in ?? ()
To me it looks like even before the segmentation fault happens even before the
main function has been called, and it happens in a system library. Is there a
dependency I am missing? I still don't understand why the program only crashes
if I compile it myself with dependencies from Guix, but not if I install the
application itself through Guix.
next reply other threads:[~2021-03-14 15:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-14 15:41 HiPhish [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-03-12 20:21 Segfault when building GTK+ application with Meson HiPhish
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4655706.31r3eYUQgx@titan \
--to=hiphish@posteo.de \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).