GNU bug report logs - #59832
30.0.50; [TREESIT] Segfault in treesit_load_language

Previous Next

Package: emacs;

Reported by: German Pacenza <germanp82 <at> hotmail.com>

Date: Mon, 5 Dec 2022 09:57:01 UTC

Severity: normal

Found in version 30.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: German Pacenza <germanp82 <at> hotmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 59832 <at> debbugs.gnu.org
Subject: bug#59832: 30.0.50; [TREESIT] Segfault in treesit_load_language
Date: Tue, 06 Dec 2022 12:01:39 -0300
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: German Pacenza <germanp82 <at> hotmail.com>
>> Cc: 59832 <at> debbugs.gnu.org
>> Date: Tue, 06 Dec 2022 10:06:24 -0300
>> 
>> (gdb) pp path_candidates
>> [Thread 0x7fffedffd6c0 (LWP 71789) exited]
>> nil
>
> It's nil??  What is the value of dynamic-library-suffixes in your Emacs?
> What does the below show inside "emacs -Q"?
>
>   M-: dynamic-library-suffixes RET
>

In emacs compiled with "--without-modules" (The one that crashes):

Debugger entered--Lisp error: (void-variable dynamic-library-suffixes)
  eval-expression(dynamic-library-suffixes nil nil 127)
  funcall-interactively(eval-expression dynamic-library-suffixes nil nil 127)
  command-execute(eval-expression)

Without "--without-modules" (Working version):
(".so" "")

> And what does the below produce from a shell prompt in the Emacs src
> directory:
>
>  $ grep DYNAMIC_LIB_ config.h
>

#define DYNAMIC_LIB_SECONDARY_SUFFIX ""
#define DYNAMIC_LIB_SUFFIX ".so"

-- 
German Pacenza




This bug report was last modified 2 years and 225 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.