Bitcoin Forum
November 14, 2024, 02:45:16 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Altcoin-qt Wallet Runtime Termination on Close  (Read 596 times)
x86cam (OP)
Newbie
*
Offline Offline

Activity: 17
Merit: 0


View Profile
July 25, 2015, 12:57:48 AM
 #1

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://bitcointalk.org/index.php?topic=149479.0

Any suggestions?

EDIT: If it may help, I am using the 0.8.6 source forked from BTC, but with the X11 algo.
x86cam (OP)
Newbie
*
Offline Offline

Activity: 17
Merit: 0


View Profile
July 25, 2015, 01:19:53 AM
 #2

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?
achow101
Staff
Legendary
*
Offline Offline

Activity: 3542
Merit: 6886


Just writing some code


View Profile WWW
July 25, 2015, 05:23:10 PM
 #3

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.

x86cam (OP)
Newbie
*
Offline Offline

Activity: 17
Merit: 0


View Profile
July 25, 2015, 11:31:46 PM
 #4

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)?
achow101
Staff
Legendary
*
Offline Offline

Activity: 3542
Merit: 6886


Just writing some code


View Profile WWW
July 26, 2015, 12:27:56 AM
 #5

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.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!