Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: functrace and funcsourcetrace (was Re: PATCH: trace information for sourced files)



2008/8/22 Peter Stephenson <pws@xxxxxxx>:
> On Mon, 18 Aug 2008 13:13:39 +0200
> "Mikael Magnusson" <mikachu@xxxxxxxxx> wrote:
>> The current cvs zsh crashes for me on any tabcompletion now iff i've
>> done a zcompile on the functions dir in /usr/local/share/zsh/blabla.
>> The first commit with the crash is "25247 with further modifications:
>> add $funcsourcetrace":
>>
>> % cd<tab>
>> Program received signal SIGSEGV, Segmentation fault.
>> 0x41b6624b in strlen () from /lib/libc.so.6
>> (gdb) bt
>> #0  0x41b6624b in strlen () from /lib/libc.so.6
>> #1  0x080bfb10 in dupstring (s=0x3cff9c3 <Address 0x3cff9c3 out of
>> bounds>) at string.c:39
>> #2  0x08073673 in execautofn (state=0xaf92bf1c, do_exec=0) at exec.c:4075
>
> Looking at this part of the trace, I wonder if this is the problem?

I think that fixed it, but I'm a bit tired right now so I'm not 100% sure
I recompiled everything correctly :).

-- 
Mikael Magnusson



Messages sorted by: Reverse Date, Date, Thread, Author