linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mikel Astiz <mikel.astiz@bmw-carit.de>
To: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Cc: Mikel Astiz <mikel.astiz.oss@gmail.com>,
	"linux-bluetooth@vger.kernel.org"
	<linux-bluetooth@vger.kernel.org>
Subject: Re: [RFC] media: assertion to check that transport exists
Date: Fri, 16 Dec 2011 13:06:06 +0100	[thread overview]
Message-ID: <4EEB342E.7030205@bmw-carit.de> (raw)
In-Reply-To: <CABBYNZJ9QgLPJQoudjRGZfMF5CHV5LaHUNZf8Hcojh5bjMgaTQ@mail.gmail.com>

Hi Luiz,

On 12/16/2011 09:43 AM, Luiz Augusto von Dentz wrote:
> IMO assert on daemon are not that great, it may help while developing 
> but why not run with valgrind and let it crash? 

I was not that much proposing to add the assertion, but to discuss if 
that assertion should hold or not.

Basically my question is: is it guaranteed that a transport will exist 
while a gateway is connected or playing?

If yes, I think there is a bug somewhere, because those assertions do 
fail sometimes.

I was specifically asking this regarding the internal state of the 
daemon, but the same question could be formulated for the state exposed 
in D-Bus.

Regards,
Mikel


  reply	other threads:[~2011-12-16 12:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-15 12:33 [RFC] media: assertion to check that transport exists Mikel Astiz
2011-12-16  8:43 ` Luiz Augusto von Dentz
2011-12-16 12:06   ` Mikel Astiz [this message]
2011-12-16 13:02     ` Luiz Augusto von Dentz
2011-12-16 17:45   ` Vinicius Costa Gomes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4EEB342E.7030205@bmw-carit.de \
    --to=mikel.astiz@bmw-carit.de \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=luiz.dentz@gmail.com \
    --cc=mikel.astiz.oss@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).