On pá 28. listopadu 2008, Colin Clark wrote:
> Laurent Monin wrote:
> > Colin Clark a écrit :
> >> Hello Laurent
> >>
> >> I am running 32-bit Ubuntu 8.10 on a standard PC. I use the normal
> >> autogen/configure/make sequence and I have attached a copy of the
> >> compile log as 1273.txt.
> >
> > Hi Colin,
> >
> >   i tried to reproduce the issue on the same platform (Ubuntu 8.10 on
> > 32-bit PC with lcms and without exiv2), but i can't get it to segfault
> > as it does for you.
> > What is the content of your geeqierc file ?
> > Did you try to save your .geeqie to some location and start over geeqie
> > (forcing it to restart on default configuration) ?
> >
> > Kind regards,
>
> Hello Laurent
>
> I have found that the fault first appeared in svn 1110. If I use the
> option --enable-threads there is no error.
>
> This solves the problem for me, but if there something further you would
> like me to look at for this, please let me know.
>


All the relevant parts of code are around #ifdef HAVE_GTHREAD

HAVE_GTHREAD is defined only if geeqie was configured with --enable-threads.

According to glib documentation, g_mutex_lock should do nothing if it is 
called before g_thread_init, so as I understand it, it should not crash on 
uninitialized argument. g_thread_init is called only with HAVE_GTHREAD.

It may be either a bug in the particular glib version or maybe an inconsistent
build. 

Vladimir

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel

Reply via email to