ratpoison-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RP] (no subject)


From: Shawn Betts
Subject: Re: [RP] (no subject)
Date: Wed Nov 20 13:51:01 2002
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

Rupert <address@hidden> writes:

> Actually this was the problem: it worked without --enable-debug but
> segfaulted with it.
> 
> > This can help you find out where in the source it fails. Can you
> > post the debugging output?
> 
> The problem seems to be that PRINT_DEBUG can't handle NULL strings on
> this platform for some reason. For example, if I put this at the top
> of main.c:
> 
>   PRINT_DEBUG("Test null: '%s'", (char*) NULL);
> 
> then it segfaults thusly:
> 
> ratpoison:debug -- main.c:main():458: Test null: 'Segmentation Fault  
> 
> It was actually failing on the PRINT_DEBUG in actions.c:command() for
> commands without arguments.

Hi Rupert,

Aaah, PRINT_DEBUG. Yes it is a pretty ugly function that should be
cleaned up...But alas I have to do this silly homework :|. I have just
the fix that should solve our problems (provide a clean solution, that
is), though...

Shawn




reply via email to

[Prev in Thread] Current Thread [Next in Thread]