Re: g_malloc() segfault in glib 2.12?
- From: David Nečas <yeti physics muni cz>
- To: Aleksander Morgado <gtk-list aleksander es>
- Cc: gtk-list gnome org
- Subject: Re: g_malloc() segfault in glib 2.12?
- Date: Fri, 4 Dec 2009 21:58:04 +0100
On Fri, Dec 04, 2009 at 08:14:10PM +0000, Chris Vine wrote:
> On Fri, 4 Dec 2009 13:20:45 +0100
> Aleksander Morgado <gtk-list aleksander es> wrote:
> >
> > I am experiencing a segfault in calling g_malloc() inside a
> > multi-threaded application, using glib2-2.12.3-2.fc6 (default one in
> > RHEL5.2). The glib slice allocator is being used.
>
> Have you called g_thread_init()?
Or, rather:
Do you call g_thread_init() as the absolutely very first G-something
function (with the only possible exception of g_mem_set_vtable())?
Yeti
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]