From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id /iPaJiQvTmC4ZAAA0tVLHw (envelope-from ) for ; Sun, 14 Mar 2021 15:43:32 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id AH8EIiQvTmCXCgAAbx9fmQ (envelope-from ) for ; Sun, 14 Mar 2021 15:43:32 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DBE4813E73 for ; Sun, 14 Mar 2021 16:43:31 +0100 (CET) Received: from localhost ([::1]:56950 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLStv-00061o-3P for larch@yhetil.org; Sun, 14 Mar 2021 11:43:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57602) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLStn-00061Q-Ba for help-guix@gnu.org; Sun, 14 Mar 2021 11:43:23 -0400 Received: from mout02.posteo.de ([185.67.36.66]:50255) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLStl-0002Vb-0j for help-guix@gnu.org; Sun, 14 Mar 2021 11:43:23 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 019CC2400FE for ; Sun, 14 Mar 2021 16:43:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1615736597; bh=7ehONSautlNVmA88UWC4SouqIbKsO10sYOX4y/HROIk=; h=From:To:Subject:Date:From; b=pTk6meHdbazFBHanIt7uLRlJwF5PTZRsA3d5R3yAGF9WuK4b7BO+7WMcn05mVz6GR FcPFOSW4g4EedQ3nvndjwFuVsS13YPyWQtiwjt/3sqDboFMwgY1M/TCI8lzoexbL3T YmVfKv8eKVGtT4YyrV8mpijXrgeaBUMmlIh6Llzlxejpgvah96af1vdWvZ+5SrHMP9 WuWV+Y/rz9Kxj5JtSF+Tf3sv8jEwjoQP4fZgU/1VPxI0YZ8qM6o7OB6npj9hzGRW61 +YvOEbo810M5l/PAq8NaU78ErKfeoB9w1yCmjIdNVyQ/siBPGGd/8P8CJosp6+MOrS DHTL94E5e8L8g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Dz3jc3VBbz6tmh for ; Sun, 14 Mar 2021 16:43:16 +0100 (CET) From: HiPhish To: help-guix@gnu.org Subject: Re: Segfault when building GTK+ application with Meson Date: Sun, 14 Mar 2021 16:41:12 +0100 Message-ID: <4655706.31r3eYUQgx@titan> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Received-SPF: pass client-ip=185.67.36.66; envelope-from=hiphish@posteo.de; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1615736612; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=DwMnaeK/Ng/5sO4C2p68TF+Gp+4klop3X79IvWQs5HU=; b=q6dH8ecmlUrKgekE6QW/dxu1vx5f8DLtQx5z7qpe478sMtaTxYtjnZVi5YUchMGp3ngKgr GiFNouYRtfIiUUU/fEij05QU0fZFXlPn0r5+2RhbJ+FkTeNWTHYO4/ziOzpWcoA1cjeurg Yi8wTYXLOjtWn76LoUCkpNC7wWfPpSZZFMVOWfovfGm2fVgzeZ0NAGb5WL7eE1ufWqrZ/s Il2Guqa9rO3Gdtd/NIScVCUjzI2pMpYGBfkcjShB0OKpAGHylGMpUO8OUPBtcyrewx65dB nKoRG2z4UMeE+ftDAYzVAOY7Ce0rEXOshZfHt+fM+gfICxTZGb+3Y/9QliQ+hg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615736612; a=rsa-sha256; cv=none; b=Sl+Kgnk6knbHC2z7FVJiIVAW6mupcPDV8JQKbpFJe6am19BfBZ5T8DT1wQfbYUvBtGUvli xZfA311M2/WRN3vmPLKKjxl6avZFG6/+6v/du7VB3ts874KFvGCI1HejGOwDEQVtzL9B8W 48iOpFd+GBCpyni9JsbuXKtWEOGw7jm3bN2md6sout4H45zn1rd5YrraxdItWrcd+RwCim 61XJKMvhI0bZpZmYcFVml3Jd0koM1v5JEfDGarGm/LxZ8mWbiPMGOXcwNgGxMNHRNXqEtc VnAcrnwso66BqLWOPZ5viU39qnGVP2CsAwP7Yqsm3/rO+HYyLXY8IQdKF7wqOQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.de header.s=2017 header.b=pTk6meHd; dmarc=pass (policy=none) header.from=posteo.de; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.10 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.de header.s=2017 header.b=pTk6meHd; dmarc=pass (policy=none) header.from=posteo.de; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: DBE4813E73 X-Spam-Score: -1.10 X-Migadu-Scanner: scn0.migadu.com X-TUID: oWbcOMXc4bmT 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=, 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=, 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=) 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.