Re: [PATCH obexd] gobex: call g_obex_unref() before io channel unref

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

 



Hi Jaganath,

On Thu, Mar 8, 2012 at 2:43 PM, Jaganath <jaganath.k@xxxxxxxxxxx> wrote:
> I have raised the the same patch with subject  [PATCH obexd 2/2]. This
> patch is required to pass unit test after applying my first patch
> [PATCH obexd 1/2] gobex: flush tx_queue before disconnection
> Otherwise while trying to access io in g_io_channel_write_chars()
> SIGPIPE is coming which kills the process.

You mean it crashes, anyway we should not attempt to send anything if
the io was closed and we should have a watch for detecting if the
application have closed it, perhaps we should set the io to NULL and
then check for that before flushing it.

-- 
Luiz Augusto von Dentz
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux