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

Bug#482057: [compiz] compiz crashes when window are closed



Paolo Sala wrote:
> Brice Goglin scrisse in data 20/05/2008 17:23:
>> Assuming you want to debug compiz on machine A, start compiz there. Then
>> take machine B, log on machine A using ssh and run
>>     gdb -p $(pidof compiz.real) (or whatever is needed to attach to
>> compiz.real)
>> Then try to reproduce the Compiz crash on machine A. When Compiz
>> crashes, go back to machine B, and enter "bt full" in gdb, and send us
>> the whole output.
>>   
> I have a problem using gdb: when I attach gdb to compiz.real from the
> machine B via ssh when I return to the machine A X is not responsive:
> I can see the mouse moving on the screen but nothing happens (window
> are not closed/opened). If I return on the machine B and I stop gdb X
> on the machine A return to be responsive... I wrong something else or
> I have some problem with gdb?

When you have the gdb prompt on machine B (which means when the line
starts with "(gdb)" and waits for you to enter something), the
compiz.real process is interrupted. When interrupted, compiz.real does
not run at all, so it cannot process any X events, and you basically
cannot do anything on machine A.

You need to enter 'c' in gdb on machine B (for 'continue') so that the
prompt disappears and gdb lets compiz.real run again and process X events.

Later, when the crash occurs, you will get the prompt back and will have
to enter 'bt full' and send us the output.

Brice




Reply to: