Author

Topic: Altcoin-qt Wallet Runtime Termination on Close (Read 594 times)

staff
Activity: 3458
Merit: 6793
Just writing some code
I would recommend that you do any windows or mac builds with the gitian build system. It lets you deterministically build all of the binaries on a linux system like the one that you are developing in.
Question is: how would I use the gitian build system when there only are a few folders (contrib/gitian-descriptors [and] contrib/gitian-downloader)?
There is more to it. I can teach you how to do it. It will work for pretty much any coin that is based off of Bitcoin in some way. There is more to it and it takes some time to make it work properly, but in the end it makes compiling across platforms so much easier.
newbie
Activity: 17
Merit: 0
I would recommend that you do any windows or mac builds with the gitian build system. It lets you deterministically build all of the binaries on a linux system like the one that you are developing in.
Question is: how would I use the gitian build system when there only are a few folders (contrib/gitian-descriptors [and] contrib/gitian-downloader)?
staff
Activity: 3458
Merit: 6793
Just writing some code
I would recommend that you do any windows or mac builds with the gitian build system. It lets you deterministically build all of the binaries on a linux system like the one that you are developing in.
newbie
Activity: 17
Merit: 0
Also, I discovered that when I try and type in an RPC command, it does the same exact thing (but with only one error):
http://puu.sh/jbNq9/df2826e9d4.png

Any help I could get on this?
newbie
Activity: 17
Merit: 0
So I've been trying to make a coin for fun recently, but I'm stumped on this issue.

On Windows, the wallet works fine: I can mine from a pool, coins gets sent, I can also transfer coins, etc., but when I close the wallet (clicking the X button/File + Close), I always get a whole bunch of errors from Microsoft Visual C++ Runtime Library:

http://puu.sh/jbLkO/a5f8ad54c6.png

If the picture doesn't load, the errors all say:
Quote
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

When I close one of those errors, the whole thing stops responding and crashes.

I have no idea what the issue is here, the log file only says this:
Quote
2015-07-25 00:40:37 ProcessBlock: ACCEPTED
2015-07-25 00:40:37 received block 000000183ecd7d77715f80b451e30a4a4fdfe6b2c1fb90ec7c546e8efd80bd97
2015-07-25 00:40:37 Committing 1 changed transactions to coin database...
2015-07-25 00:40:37 SetBestChain: new best=000000183ecd7d77715f80b451e30a4a4fdfe6b2c1fb90ec7c546e8efd80bd97  height=2333  log2_work=35.632363  tx=2611  date=2015-07-25 00:39:23 progress=1.000000
2015-07-25 00:40:37 ProcessBlock: ACCEPTED
2015-07-25 00:40:37 received block 000000614222c348f9e305f51b244379ad85052044655f3896ec9e04b82948e0
2015-07-25 00:40:37 Committing 9 changed transactions to coin database...
2015-07-25 00:40:37 SetBestChain: new best=000000614222c348f9e305f51b244379ad85052044655f3896ec9e04b82948e0  height=2334  log2_work=35.633291  tx=2613  date=2015-07-25 00:40:23 progress=1.000000
2015-07-25 00:40:37 ProcessBlock: ACCEPTED
2015-07-25 00:40:37 received block 00000078f5802f029dcfe4112bac5dce4fd54517b747c56d9b60b8463c039361
2015-07-25 00:40:37 Committing 1 changed transactions to coin database...
2015-07-25 00:40:37 SetBestChain: new best=00000078f5802f029dcfe4112bac5dce4fd54517b747c56d9b60b8463c039361  height=2335  log2_work=35.634217  tx=2614  date=2015-07-25 00:40:27 progress=1.000000
2015-07-25 00:40:37 ProcessBlock: ACCEPTED
2015-07-25 00:40:38 connection timeout
2015-07-25 00:40:38 ERROR: GetMyExternalIP() : connection to 91.198.22.70:80 failed
2015-07-25 00:40:38 GetMyExternalIP() received [] [::]:0
2015-07-25 00:40:39 GetMyExternalIP() received [*REDACTED*] *REDACTED*:0
2015-07-25 00:40:39 GetMyExternalIP() returned *REDACTED*
2015-07-25 00:40:39 AddLocal(*REDACTED*:6933,4)
2015-07-25 00:40:40 Flushing wallet.dat
2015-07-25 00:40:40 Flushed wallet.dat 12ms

I'm developing on a Ubuntu 14.04.1 VM, in which on Ubuntu, the wallet works without issue. Also, the coin daemon (Xcoind.exe) works fine on Windows, no issues.

Here is my .pro file: http://pastebin.com/5ffptXxT

To compile, I used this thread: https://bitcointalksearch.org/topic/building-headless-bitcoin-and-bitcoin-qt-on-windows-149479

Any suggestions?

EDIT: If it may help, I am using the 0.8.6 source forked from BTC, but with the X11 algo.
Jump to: