bitfreak! (OP)
Legendary
Offline
Activity: 1536
Merit: 1000
electronic [r]evolution
|
|
August 27, 2015, 09:40:32 AM Last edit: August 27, 2015, 10:08:02 AM by bitfreak! |
|
I think I may have discovered what is causing the Windows wallet to have problems. I was doing some research and I found several other altcoins where people were experiencing the same bugs and crashes. Based on what I read in those threads it seems like the problem may be caused by the way the Windows binaries were compiled. The current Windows binaries were cross-compiled on Linux so I'll try compiling them on an actual Windows machine and see if that helps.
|
XCN: CYsvPpb2YuyAib5ay9GJXU8j3nwohbttTz | BTC: 18MWPVJA9mFLPFT3zht5twuNQmZBDzHoWF Cryptonite - 1st mini-blockchain altcoin | BitShop - digital shop script Web Developer - PHP, SQL, JS, AJAX, JSON, XML, RSS, HTML, CSS
|
|
|
CRYPTONAIRE
Sr. Member
Offline
Activity: 527
Merit: 251
Quality Crypto Collector
|
|
August 27, 2015, 12:13:00 PM |
|
I think I may have discovered what is causing the Windows wallet to have problems. I was doing some research and I found several other altcoins where people were experiencing the same bugs and crashes. Based on what I read in those threads it seems like the problem may be caused by the way the Windows binaries were compiled. The current Windows binaries were cross-compiled on Linux so I'll try compiling them on an actual Windows machine and see if that helps.
Thanks for that; I have not been able to sync my XCN wallet for months!! I hope you can find a fix.
|
FINANCECLOUD CRYPTO-HUB : by EUROPECOIN
|
|
|
bitfreak! (OP)
Legendary
Offline
Activity: 1536
Merit: 1000
electronic [r]evolution
|
|
August 28, 2015, 01:06:03 AM |
|
Well it was a fairly tedious process but I was able to compile 64 bit Windows binaries on Windows. Visit the Cryptonite download page to get the new builds. The qt binary is about twice the size it was before but it doesn't need any extra dll files floating around anymore. Hopefully it solves some of those crashes and the wallet corruption bug, I'm guessing it will but I'll need people to test it. It should also work on those Windows 8 machines it wasn't working on before. EDIT: if the wallet is unable to make any connections you can manually add peers from this list: http://explorer.cryptonite.info/?page=peers
|
XCN: CYsvPpb2YuyAib5ay9GJXU8j3nwohbttTz | BTC: 18MWPVJA9mFLPFT3zht5twuNQmZBDzHoWF Cryptonite - 1st mini-blockchain altcoin | BitShop - digital shop script Web Developer - PHP, SQL, JS, AJAX, JSON, XML, RSS, HTML, CSS
|
|
|
exciter0
Member
Offline
Activity: 115
Merit: 10
|
|
August 28, 2015, 01:21:44 AM |
|
New build crashes immediately for me. I'm running Windows 7 64 enterprise. Problem signature: Problem Event Name: APPCRASH Application Name: win64_cryptonite-qt_14091021.exe Application Version: 0.9.0.99 Application Timestamp: 00170158 Fault Module Name: win64_cryptonite-qt_14091021.exe Fault Module Version: 0.9.0.99 Fault Module Timestamp: 00170158 Exception Code: c000001d Exception Offset: 0000000000ceee76 OS Version: 6.1.7601.2.1.0.256.48 Locale ID: 1033 Additional Information 1: c061 Additional Information 2: c06181bc33cc807e7b55a19ccade2df3 Additional Information 3: b8e8 Additional Information 4: b8e8b6fe190aaeccc886ad38fc069383
Read our privacy statement online: http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
If the online privacy statement is not available, please read our privacy statement offline: C:\Windows\system32\en-US\erofflps.txt
Well it was a fairly tedious process but I was able to compile 64 bit Windows binaries on Windows. Visit the Cryptonite download page to get the new builds. The qt binary is about twice the size it was before but it doesn't need any extra dll files floating around anymore. Hopefully it solves some of those crashes and the wallet corruption bug, I'm guessing it will but I'll need people to test it. It should also work on those Windows 8 machines it wasn't working on before.
|
|
|
|
bitfreak! (OP)
Legendary
Offline
Activity: 1536
Merit: 1000
electronic [r]evolution
|
|
August 28, 2015, 01:59:09 AM Last edit: August 28, 2015, 02:20:23 AM by bitfreak! |
|
Hmmm maybe you do need some of the dll's still. Try downloading the Win64 dll pack. Just extract the dll files into the same folder as the qt exe. Do not use any of the 3 Qt dll files. I think the only file you need is IEShims.dll but you might also need the 3 which start with 'lib'. EDIT: if that doesn't work try running Dependency Walker and see if it gives any errors.
|
XCN: CYsvPpb2YuyAib5ay9GJXU8j3nwohbttTz | BTC: 18MWPVJA9mFLPFT3zht5twuNQmZBDzHoWF Cryptonite - 1st mini-blockchain altcoin | BitShop - digital shop script Web Developer - PHP, SQL, JS, AJAX, JSON, XML, RSS, HTML, CSS
|
|
|
exciter0
Member
Offline
Activity: 115
Merit: 10
|
|
August 28, 2015, 02:07:51 AM |
|
I extracted all to the same dir and still crashing. Maybe that's the problem, there's no IEShims.dll in the Win64 dll pack.... Hmmm maybe you do need some of the dll's still. Try downloading the Win64 dll pack. Just extract the dll files into the same folder as the qt exe. Do not use any of the 4 Qt dll files. I think the only file you need is IEShims.dll but you might also need the 3 which start with 'lib'. EDIT: if that doesn't work try running Dependency Walker and see if it gives any errors.
|
|
|
|
bitfreak! (OP)
Legendary
Offline
Activity: 1536
Merit: 1000
electronic [r]evolution
|
|
August 28, 2015, 02:19:08 AM |
|
|
XCN: CYsvPpb2YuyAib5ay9GJXU8j3nwohbttTz | BTC: 18MWPVJA9mFLPFT3zht5twuNQmZBDzHoWF Cryptonite - 1st mini-blockchain altcoin | BitShop - digital shop script Web Developer - PHP, SQL, JS, AJAX, JSON, XML, RSS, HTML, CSS
|
|
|
bitfreak! (OP)
Legendary
Offline
Activity: 1536
Merit: 1000
electronic [r]evolution
|
|
August 28, 2015, 02:33:23 AM |
|
Ok well I have to be off for a while but I'll describe the process I used to compile Cryptonite on Windows in case anyone wants to compile it themselves. I basically just followed this tutorial: Building headless Bitcoin and Bitcoin-qt on Windows. However, a few of the steps need to be slightly altered, as follows: 1.3. Add mingw64 bin folder to PATH environment variable. See: http://www.computerhope.com/issues/ch000549.htm1.2. Install 64 bit MinGW-builds project toolchain: Download http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/4.9.2/threads-posix/seh/x86_64-4.9.2-release-posix-seh-rt_v3-rev1.7z/downloadand unpack it to C:\ 2.1. Make sure OpenSSL is configured for mingw64 cd /c/deps/ tar xvfz openssl-1.0.1l.tar.gz cd openssl-1.0.1l ./Configure no-zlib no-shared no-dso no-krb5 no-camellia no-capieng no-cast no-cms no-dtls1 no-gost no-gmp no-heartbeats no-idea no-jpake no-md2 no-mdc2 no-rc5 no-rdrand no-rfc3779 no-rsax no-sctp no-seed no-sha0 no-static_engine no-whirlpool no-rc2 no-rc4 no-ssl2 no-ssl3 mingw64 make 2.4. Download and compile miniupnpc 1.9 instead of 1.9.20150206 http://miniupnp.free.fr/files/download.php?file=miniupnpc-1.9.tar.gzcd C:\deps\miniupnpc-1.9 mingw32-make -f Makefile.mingw init upnpc-static 2.6. Make sure the mingw64 directory is correct (2nd code box) cd /c/deps/qrencode-3.4.4
LIBS="../libpng-1.6.16/.libs/libpng.a ../../mingw64/x86_64-w64-mingw32/lib/libz.a" \ png_CFLAGS="-I../libpng-1.6.16" \ png_LIBS="-L../libpng-1.6.16/.libs" \ configure --enable-static --disable-shared --without-tools
make 2.8. Download and unpack GMP into C:\deps\ folder https://gmplib.org/download/gmp/gmp-6.0.0a.tar.xzCompile GMP with GMPXX using MinGW shell tar xvf gmp-6.0.0a.tar.xz cd /c/deps/gmp-6.0.0 ./configure --disable-shared --enable-cxx make 3.0. Download and unpack Cryptonite zip file from github into C:\ https://github.com/MiniblockchainProject/Cryptonite/archive/master.zipConfigure and compile Cryptonite from a MinGW shell: cd /c/Cryptonite-master
./autogen.sh
CPPFLAGS="-I/c/deps/db-4.8.30.NC/build_unix \ -I/c/deps/openssl-1.0.1l/include \ -I/c/deps \ -I/c/deps/protobuf-2.6.1/src \ -I/c/deps/libpng-1.6.16 \ -I/c/deps/qrencode-3.4.4 \ -I/c/deps/gmp-6.0.0" \ LDFLAGS="-L/c/deps/db-4.8.30.NC/build_unix \ -L/c/deps/openssl-1.0.1l \ -L/c/deps/miniupnpc \ -L/c/deps/protobuf-2.6.1/src/.libs \ -L/c/deps/libpng-1.6.16/.libs \ -L/c/deps/qrencode-3.4.4/.libs \ -L/c/deps/gmp-6.0.0/.libs" \ BOOST_ROOT=/c/deps/boost_1_57_0 \ ./configure \ --with-gui \ --disable-upnp-default \ --disable-tests \ --with-qt-incdir=/c/Qt/5.3.2/include \ --with-qt-libdir=/c/Qt/5.3.2/lib \ --with-qt-plugindir=/c/Qt/5.3.2/plugins \ --with-qt-bindir=/c/Qt/5.3.2/bin \ --with-protoc-bindir=/c/deps/protobuf-2.6.1/src
make
strip src/cryptonite-cli.exe strip src/cryptonited.exe strip src/qt/cryptonite-qt.exe
|
XCN: CYsvPpb2YuyAib5ay9GJXU8j3nwohbttTz | BTC: 18MWPVJA9mFLPFT3zht5twuNQmZBDzHoWF Cryptonite - 1st mini-blockchain altcoin | BitShop - digital shop script Web Developer - PHP, SQL, JS, AJAX, JSON, XML, RSS, HTML, CSS
|
|
|
exciter0
Member
Offline
Activity: 115
Merit: 10
|
|
August 28, 2015, 06:16:36 AM |
|
I downloaded the new libs, but looks like I'm still missing some more libs?
|
|
|
|
bitfreak! (OP)
Legendary
Offline
Activity: 1536
Merit: 1000
electronic [r]evolution
|
|
August 28, 2015, 07:17:15 AM Last edit: August 28, 2015, 09:07:37 AM by bitfreak! |
|
Apparently it's some sort of false reading by Dependency Walker. You may be able to fix it by trying some of the suggestions here: Win 7, 64 bit, dll problemsLooks like I may have to recompile though, seems to be some sort of linking error caused by compiling Qt with mingw.
|
XCN: CYsvPpb2YuyAib5ay9GJXU8j3nwohbttTz | BTC: 18MWPVJA9mFLPFT3zht5twuNQmZBDzHoWF Cryptonite - 1st mini-blockchain altcoin | BitShop - digital shop script Web Developer - PHP, SQL, JS, AJAX, JSON, XML, RSS, HTML, CSS
|
|
|
CRYPTONAIRE
Sr. Member
Offline
Activity: 527
Merit: 251
Quality Crypto Collector
|
|
August 28, 2015, 09:07:32 AM |
|
Apparently it's some sort of false reading by Dependency Walker. You may be able to try some of the suggestions in here: Win 7, 64 bit, dll problemsLooks like I may have to recompile though, seems to be some sort of linking error caused by compiling Qt with mingw. Thanks for all the effort you are putting into this guys. I am really looking forward to the fix!
|
FINANCECLOUD CRYPTO-HUB : by EUROPECOIN
|
|
|
gnasirator
|
|
September 05, 2015, 07:12:05 AM |
|
Apparently it's some sort of false reading by Dependency Walker. You may be able to try some of the suggestions in here: Win 7, 64 bit, dll problemsLooks like I may have to recompile though, seems to be some sort of linking error caused by compiling Qt with mingw. Thanks for all the effort you are putting into this guys. I am really looking forward to the fix! Hey there, I just tried running the windows wallets and I have the same problems Trying to solve them by installing Qt / visual studio runtimes, etc. Or does anyone else already know what exactly is missing?
|
XCN: CJSECkHi7tTTTA1ze9qYRkkUCKfFiF8EEG
|
|
|
bitfreak! (OP)
Legendary
Offline
Activity: 1536
Merit: 1000
electronic [r]evolution
|
|
September 05, 2015, 07:39:16 AM Last edit: September 05, 2015, 08:15:58 AM by bitfreak! |
|
I've been trying to figure out the issue on and off over the last few days. It's strange because it works perfectly on the machine I compiled on but not on any other machine, yet I cannot seem to find what it depends on. I tried it on another Windows machine and I got the same error, but then after I restarted the machine it doesn't give that error when I try to start up Qt, however it still crashes silently. The problem does seem to be related to the Qt library in some way, I'm going to see if I can get it compiled using Qt 4.8 instead of 5.3, maybe I'll have more luck that way.
|
XCN: CYsvPpb2YuyAib5ay9GJXU8j3nwohbttTz | BTC: 18MWPVJA9mFLPFT3zht5twuNQmZBDzHoWF Cryptonite - 1st mini-blockchain altcoin | BitShop - digital shop script Web Developer - PHP, SQL, JS, AJAX, JSON, XML, RSS, HTML, CSS
|
|
|
gnasirator
|
|
September 05, 2015, 07:53:09 AM Last edit: September 05, 2015, 08:16:49 PM by gnasirator |
|
I'm not so sure if that's related to Qt because the non-qt CLI version seems to crash with the same error. I just tried to fix it by installing MinGW and copying all contained dlls but no difference. Btw, now that I have the opportunity to do so: I just want to thank you for starting cryptonite and all your work so far. From what I know so far, you have solved the major issues with bitcoin and thus built the foundation for a truly awesome currency. If I can support you in any way, please let me know. Greetings from your neighbouring country, btw edit: mac os x download seems broken.
|
XCN: CJSECkHi7tTTTA1ze9qYRkkUCKfFiF8EEG
|
|
|
enerbyte
|
|
September 13, 2015, 12:48:28 AM |
|
the block explorer is not working.
|
|
|
|
bitfreak! (OP)
Legendary
Offline
Activity: 1536
Merit: 1000
electronic [r]evolution
|
|
September 13, 2015, 09:50:06 PM |
|
Explorer is back up now.
|
XCN: CYsvPpb2YuyAib5ay9GJXU8j3nwohbttTz | BTC: 18MWPVJA9mFLPFT3zht5twuNQmZBDzHoWF Cryptonite - 1st mini-blockchain altcoin | BitShop - digital shop script Web Developer - PHP, SQL, JS, AJAX, JSON, XML, RSS, HTML, CSS
|
|
|
enerbyte
|
|
September 14, 2015, 12:16:37 AM |
|
Explorer is back up now.
Thanks!
|
|
|
|
SISAR
|
|
September 16, 2015, 12:08:03 PM |
|
I've been trying to figure out the issue on and off over the last few days. It's strange because it works perfectly on the machine I compiled on but not on any other machine, yet I cannot seem to find what it depends on. I tried it on another Windows machine and I got the same error, but then after I restarted the machine it doesn't give that error when I try to start up Qt, however it still crashes silently. The problem does seem to be related to the Qt library in some way, I'm going to see if I can get it compiled using Qt 4.8 instead of 5.3, maybe I'll have more luck that way.
I can't even install wallet on Win7 64-bit let alone run it.
|
|
|
|
bitfreak! (OP)
Legendary
Offline
Activity: 1536
Merit: 1000
electronic [r]evolution
|
|
September 18, 2015, 10:02:45 AM Last edit: September 21, 2015, 09:33:04 AM by bitfreak! |
|
Well I've made a little bit of progress but it's still got me pretty stumped. I've tried so many different things but no success yet. Tried building with a dynamic Qt library, same problem. I even tried building on a virtual machine with a fresh installation of XP and I thought I had succeeded at first because it worked on XP and outside of the virtual machine on Windows 7. But then when I tried it another Win7 machine it crashed as usual. It seems like gcc is optimizing for the CPU in the machine used for compiling and hence it wont work on older CPU's. I only have two 64-bit machines so I can't be exactly sure but that's my best guess because the machine I compiled on is relatively new whereas the other is quite old. The older one has an Intel CPU and the newer one has an AMD CPU but I don't really think that should matter because they both have SSE and SSE2 support and both should also support the x84_64 instruction set. I have a few more ideas to try but if anyone wants to try the builds I created on the XP VM here are the links:
[links removed]
|
XCN: CYsvPpb2YuyAib5ay9GJXU8j3nwohbttTz | BTC: 18MWPVJA9mFLPFT3zht5twuNQmZBDzHoWF Cryptonite - 1st mini-blockchain altcoin | BitShop - digital shop script Web Developer - PHP, SQL, JS, AJAX, JSON, XML, RSS, HTML, CSS
|
|
|
coinfusion
|
|
September 19, 2015, 06:28:59 AM |
|
I made a build of the daemon last year on my w7-64 bit machine with msys2, and it worked fine for a few months. I recently rebuilt it with gcc5.2, db-4.8.30, openssl101p, boost 1.59, and gmp6 (not using miniupnpc or qrencode) and it seems to be working fine now for the past week. I do full static linking and everything is custom built, so it's not really a reproducable environment, but at least I did not have to make any changes to the source.
|
|
|
|
|