Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: odd crash in jabberd2



On Wed, Jan 28, 2009 at 06:40:23PM -0500, Greg Troxel wrote:
> 
> The problem seems to be dlopening authreg_sqlite3 which is linked
> with pthread, but the base program is not.

That can't be supported ...

> What I don't understand is
> why the unlock is blowing up but the corresponding lock did not - it
> doesn't seem that pthreads were initialized during the malloc call -
> there is only one thread.  I also had to do this with sm.

pthreads have to be initialised at program startup, since some
standard parts of libc have to behave differently in a threaded program.

> Is this a bug in our libc?  Or jabberd2? 

I'd vote for jabberd2...

        David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index