[mythtv] mythfilldatabas: segfault at a0 ip 00007fbc0dd7a8e2 sp 00007fbbfd4ec090 error 4 in libmythdb-0.24.so.0.24.0[7fbc0dcce000+13d000]
gjhurlbu at gmail.com
Sun Oct 31 19:03:06 UTC 2010
On Sun, Oct 31, 2010 at 12:06 AM, Jean-Yves Avenard <jyavenard at gmail.com> wrote:
> One of the fundamental point of using C++ ; is that the pointer
> returned can not be null due to memory constraint and it will throw an
> exception before this happen.
> The only exception to this rule was VC6 that didn't conform to it and
> would return 0.
> There should be no need to test the returned value ; std::bad_alloc
> will be thrown before.
This problem has nothing to do with memory allocation. It is a race
condition during destruction of a class with a message coming in from
the backend process that requires this class.
More information about the mythtv-dev