Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: spiccioli on November 11, 2011, 07:55:14 AM



Title: exception in bitcoin.exe
Post by: spiccioli on November 11, 2011, 07:55:14 AM
Hi,

I've got a bitcoin 0.4.0 on win32 (windows xp) used as a server, there are 10 to 20 clients which reach it.

Here its .conf  file:

server=1
rpcuser=XXXXX
rpcpassword=YYYYY
rpcallowip=*


it dies from time to time with this exception:

http://s12.postimage.org/btftewl9l/Captured1.jpg (http://postimage.org/image/btftewl9l/)

edit: click on the image to see it in full.


Title: Re: exception in bitcoin.exe
Post by: spiccioli on November 13, 2011, 09:38:32 AM
BTW,

the fact that it shows a dialog with the error makes it impossibile to auto-restart it when it dies.

spiccioli.


Title: Re: exception in bitcoin.exe
Post by: spiccioli on November 15, 2011, 07:39:04 AM
Hi again,

I don't know if this is a known fact, but pressing Ctrl+C on a bitcoind.exe running inside a console on win32 throws an exception:

C:\Programmi\Bitcoin\daemon>bitcoind
terminate called after throwing an instance of 'DbException'
  what():  DbEnv::close: Invalid argument

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.


Best regards.

spiccioli


Title: Re: exception in bitcoin.exe
Post by: dree12 on November 17, 2011, 04:43:32 AM
Hi again,

I don't know if this is a known fact, but pressing Ctrl+C on a bitcoind.exe running inside a console on win32 throws an exception:

C:\Programmi\Bitcoin\daemon>bitcoind
terminate called after throwing an instance of 'DbException'
  what():  DbEnv::close: Invalid argument

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.


Best regards.

spiccioli

Ctrl+C is a common interupt. I assume bitcoind tries to exit without doing cleanup.


Title: Re: exception in bitcoin.exe
Post by: spiccioli on November 25, 2011, 07:31:04 AM
Hi,

same problem with 0.5.0-qt, this version, though, does not leave any info about the exception, neither inside debug.log nor inside windows event log. :(

spiccioli