Re: gvfs crash



On Mon, 2008-10-06 at 15:21 +0400, Alexey Kuznetsov wrote:
> (gdb) print io_data
> $2 = {cancelled = 0, io_buffer = 0x8de2010 "", io_size = 16, io_res =
> 16, io_allow_cancel = 1, io_cancelled = 0}
> (gdb) print io_op
> $3 = <value optimized out>
> (gdb) printf "%x\n", io_op
> 0

I don't believe that, if io_op really is 0 we should have returned
earlier.

I failed to track this down from code inspection, but I added some spew
and avoiding the crash in this case:

2008-10-09  Alexander Larsson  <alexl redhat com>

        * client/gdaemonfileinputstream.c:
        (run_sync_state_machine):
	Add some debug spew and avoid crashing in case of code not properly
	setting the GError, as reported on the list.

Hopefully this will let us get more information so it can be fixed.




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