ratpoison-devel
[Top][All Lists]
Advanced

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

Re: [RP] RP freezes and crashes after `C-t : defwinname RET'


From: Alexander Voeltz
Subject: Re: [RP] RP freezes and crashes after `C-t : defwinname RET'
Date: Thu Aug 26 07:00:15 2004
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Trent Buck <address@hidden> writes:

> Quoth Alexander Voeltz on or about 2004-08-25:
> > 
> > When I start ratpoison without a `~/.ratpoisonrc' file present,
> > then (before doing anything else) type `C-t : defwinname RET',
> > ratpoison freezes for 5-10 seconds (i.e., nothing happens, no keys are
> > recognized), and crashes after that, throwing me back to my XDM prompt.
> 
> I run RP (customized) on Debian, so I may be able to help.

Actually, I can reproduce this on two different systems: home (Debian)
and uni (SuSE, the one I am using at the moment).

> * What version of XFree86 are you running?

Here it is 4.3.0.1, at home I don't know.

> * Can you compile with debugging turned on, and send (me | the list)
> the output when RP crashes?
> 
> (If you need a walkthru to enable debugging, i'll post one)

Shawn already sent me some instructions.  Thanks for this.  Here's the
output of gdb:

---snip---
Program received signal SIGSEGV, Segmentation fault.
0x40157f7e in vfprintf () from /lib/libc.so.6
(gdb) bt
#0  0x40157f7e in vfprintf () from /lib/libc.so.6
#1  0x401738ca in vsnprintf () from /lib/libc.so.6
#2  0x08054c5f in xvsprintf (fmt=0x805bc87 " %s: %s ", ap=0xbffffa90)
    at main.c:120
#3  0x0805098a in marked_message_printf (mark_start=0, mark_end=0,
    fmt=0x805bc87 " %s: %s ") at bar.c:202
#4  0x08050693 in cmd_set (interactive=1, data=0x806bf8c "winname")
    at actions.c:4283
#5  0x0804bfd3 in command (interactive=1, data=0x806be18 "set
winname")
    at actions.c:1167
#6  0x0804c0d6 in command (interactive=1, data=0x806be98 "defwinname")
    at actions.c:1154
#7  0x0804c277 in cmd_colon (interactive=1, data=0x0) at
actions.c:1231
#8  0x0804bfd3 in command (interactive=1, data=0x80621e0 "colon")
    at actions.c:1167
#9  0x080502a0 in cmd_readkey (interactive=1, data=0x806b208 "root")
    at actions.c:4086
#10 0x0804bfd3 in command (interactive=1, data=0x8061d48 "readkey
root")
    at actions.c:1167
#11 0x0805270f in handle_key (ks=116, mod=4, s=0x8060c20) at
events.c:396
#12 0x080527c3 in key_press (ev=0x805db60) at events.c:429
#13 0x08052c99 in delegate_event (ev=0x805db60) at events.c:717
#14 0x08052eb8 in listen_for_events () at events.c:849
#15 0x080558e9 in main (argc=1, argv=0xbffffe34) at main.c:657
---snip---

I also played around with `deffgcolor' and noticed something strange
(the debugger output for `defwinname' and 'deffgcolor' is practically
the same, AFAICT):

* Start a fresh ratpoison, do `C-t : deffgcolor', hit Return -- crash.

* Start over, do `C-t : deffg[TAB]', hit Return -- no crash, but the bar
shows `<blank space> : black'.

So there's no crash when I use tab completion, but always a crash when I
type the command out on the keyboard.

-- 
Alexander Voeltz



reply via email to

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