[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#7675) Crash on mtestx.exe



tghill@hotmail.com wrote:
> Full_Name: TG Hill
> Version: LMDB_0.9.7
> OS: Windows 7
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (216.211.58.121)
>
>
> I frequently (but not always) get a crash when I run mtest(x).exe.  It always
> works after I delete data.mdb.

It's normal. None of the test programs do any error checking, and they are not 
meant to be run. They are meant to be single-stepped under a debugger, and a 
developer is meant to examine the result of each call, manually. If you're not 
an LMDB developer you should just ignore these.

Closing this ITS.
>
> The line causing the crash is listed below.
>
> rc = mdb_txn_begin(env, NULL, 0, &txn);
>
>
> The binary was compiled using mingw gcc 4.6.2.
>
> I modified the makefile to use -lpthread or -mthreads so it would compile.  Both
> versions would periodically crash.
>
> Any ideas?
>
> Thanks!
>
>


-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/