[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Segfault when using readline and dynamically linked code
From: |
Neil Jerram |
Subject: |
Re: Segfault when using readline and dynamically linked code |
Date: |
05 Oct 2001 20:29:04 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
>>>>> "ralf" == ralf <address@hidden> writes:
ralf> Hello everyone, i just encountered a strange problem: i
ralf> wrote some small wrapper code that creates guile bindings
ralf> for some external library. Everything works fine (thank's
ralf> for the nice documentation) _unless_ i activate readline
ralf> support. As soon as i use the tab key guile segfaults.
ralf> Using readline without my custom module works without any
ralf> problems, so i assume the segfault is caused by my code. As
ralf> a starting point i compiled guile and my module with
ralf> debuging support, but the backtraces i get aren't very
ralf> helpfull:
ralf> smobs. Any pointers to where i might start looking?
The backtrace shows the GC coming to a null pointer. My guess would
be that you've written a SMOB mark function that is telling the GC to
mark something that is actually NULL.
Does your C code include SMOB stuff?
Neil