Samba 3.6.4 tdb question

Volker Lendecke Volker.Lendecke at SerNet.DE
Tue Jun 19 09:00:53 MDT 2012


On Tue, Jun 19, 2012 at 10:33:19AM -0700, Jeremy Allison wrote:
> On Tue, Jun 19, 2012 at 10:31:05AM -0700, Herb Lewis wrote:
> > The file lib/tdb/common/tdb.c has a comment before the function
> > tdb_parse_record
> > 
> > * DON'T CALL OTHER TDB CALLS FROM THE PARSER, THIS MIGHT LEAD TO SEGFAULTS.
> > 
> > can someone explain exactly what this means? Exactly what calls are
> > not allowed?
> > I've run into a case where I get a segfault because tdb_parse_record
> > ends up calling
> > tdb_lock_list which then calls tdb_needs_recovery which tries to do
> > a tdb_read which
> > then gets a segfault. So it looks like I've hit this condition.
> 
> Ooooh. That sounds interesting ! Can you post the
> stack backtrace ?

Yes, please!

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de


More information about the samba-technical mailing list