Re: Forks, slices and threads: Can you make GSlice deadlock?



On Thu, Dec 6, 2012 at 3:25 PM, David Nečas <yeti physics muni cz> wrote:

>
> So, they are all trying to lock allocator->slab_mutex in GSlice.
> But nothing seems to hold it.
> Could that be messed up by forking somehow?
>
> Could you please advise how to debug it further, to rule out the
> possibility of GLib bug, if nothing else?
>

See https://bugzilla.gnome.org/show_bug.cgi?id=679683
g_test_trap_fork is just a bad idea, doubly so with threads (and every
glib program is using threads nowadays)


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