Hi, sorry for taking so long to reply. Things just kept coming up.
On Wed, Jul 11, 2007 at 11:06:16AM +0200, Bernhard R. Link wrote:
[...]
> > That may need some days before I can tell more. (Or have ideas for
> > new testcases...)
> > * H. S. Teoh <[EMAIL PROTECTED]> [070701 15:40]:
> > > Yep, it crashes. Although, the way the program is written is rather
> > > tricky to test, since it exits on keystrokes, so I have to hit C-t w
> > > before starting it. :-)
>
> Attached is a new version of the test program, that should be less
> sesnsitive to key events.
>
> Could you test if it also shows the behaviour of aborting when showing
> the window list after program started? (and not while the program is
> running).
Ratpoison crashes both when I start the program then hit C-t w, and when
I hit C-t w then run the program while the window list is still visible.
> There is a loop to 1000 near the end of the program. Does it also
> happen if that loop is removed?
Yes, still happens.
> Does it also happen without the font or the winfmt set?
> (try starting ratpoison with -f /dev/null to make it omit your
> .ratpoisonrc). Both the test program and opera would be intresting.
Actually, I think I found the real bug!! My .ratpoisonrc looks like:
set winfmt %n%s%80t
set wingravity center
set font -misc-fixed-medium-r-normal-*-18-*-*-*-*-*-iso10646-1
After commenting out the winfmt line, ratpoison doesn't crash anymore
with the test program, or with Opera. I see that the special symbols
don't show up in the window list (e.g., on the Intel page, the
registered trademark symbol is omitted from the window title). Looks
like a pointer bug in format_string() (src/format.c) perhaps?
> What locale is your ratpoison running with?
en_US.UTF-8
I'll try to run through the rest of your suggestions later, but I think
we've found the culprit. I'll take a peek at format_string() to see if
there's anything obviously wrong with it.
T
--
Error: Keyboard not attached. Press F1 to continue. -- Yoon Ha Lee, CONLANG
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]