On Fri, 28 Feb 2014 22:41:12 GMT, Sönke Ludwig wrote:

On Fri, 28 Feb 2014 21:38:46 GMT, Øivind Loe wrote:

Which revision of vibe.d exactly are you on and is it the normal libevent based driver or the win32 one?

This smells very much like #458. But that is supposed to be fixed already.

I am on Ubuntu 13.10, 64-bit. Using dub to get ~master. Just did a 'dub upgrade', and it still fails. Don't know how to check the exact version in use

I am making both libev and libevent available, and set both Havelibev and Havelibevent versions.

Okay, taking a closer look, this actually hasn't got anything to do with the timers, but rather with processEvents never triggering an idle event and thus never waking up the task that is supposed to run the callback. 98024b4 should have this fixed now.

Thanks. That fixes it. There is still something strange though.. because my MongoDB connection dies unexpectedly at some point

PROC EXCEPTION: std.exception.ErrnoException: Error reading from socket 62 (Connection refused)
----------------
./dboss-test(void vibe.core.drivers.libevent2_tcp.Libevent2TCPConnection.read(ubyte[])+0x155) [0x133d79d]
./dboss-test(void vibe.db.mongo.connection.MongoConnection.recv(ubyte[])+0x6d) [0x12ffaa5]
./dboss-test(int vibe.db.mongo.connection.MongoConnection.recvInt()+0x2c) [0x12ff90c]
./dboss-test(vibe.db.mongo.connection.Reply vibe.db.mongo.connection.MongoConnection.recvReply(int)+0x2a) [0x12ff402]
./dboss-test(vibe.db.mongo.connection.Reply vibe.db.mongo.connection.MongoConnection.call(vibe.db.mongo.connection.Message)+0x31) [0x12ff769]
./dboss-test(vibe.db.mongo.connection.Reply vibe.db.mongo.connection.MongoConnection.query(immutable(char)[], vibe.db.mongo.connection.QueryFlags, int, int, vibe.data.bson.Bson, vibe.data.bson.Bson)+0x135) [0x12fe585]
./dboss-test(immutable(vibe.db.mongo.connection._MongoErrorDescription) vibe.db.mongo.connection.MongoConnection.getLastError(immutable(char)[])+0x6cf) [0x12ff097]
./dboss-test(void vibe.db.mongo.connection.MongoConnection.checkForError(immutable(char)[])+0x84) [0x12ffb74]
./dboss-test(void vibe.db.mongo.connection.MongoConnection.insert(immutable(char)[], vibe.db.mongo.connection.InsertFlags, vibe.data.bson.Bson[])+0x259) [0x12fe409]
./dboss-test(void vibe.db.mongo.collection.MongoCollection.insert!(boss.proc.proclog.DBLogEntry).insert(boss.proc.proclog.DBLogEntry, vibe.db.mongo.connection.InsertFlags)+0x1c1) [0xf52381]
./dboss-test(void boss.proc.proclog.ProcLog.run()+0xe14) [0xf50fb4]
./dboss-test(_D4boss4core8proctype8ProcType38__T5spawnTC4boss4proc7proclog7ProcLogZ5spawnFE4boss4util3log8LogLevelS4boss4core4addr4AddrS4boss4core4addr4AddrS4boss4core4addr4AddrS4boss4core4addr4AddrPAyhZC4boss4core3con3Con14__funcliteral7FS4boss4core4addr4AddrS4boss4core4addr4AddrAyhZv+0x10a) [0xdbbbea]

Does that ring a bell too? :)