Subject: Re: bug#59832: 30.0.50; [TREESIT] Segfault in treesit_load_language

From: German Pacenza <[email-masked]>
Date: Tue, 06 Dec 2022 12:01:39 -0300

Eli Zaretskii <[email-masked]> writes:

>> From: German Pacenza <[email-masked]>
>> Cc: [email-masked]
>> 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