fastogt / fastonosql

FastoNoSQL is a crossplatform Redis, Memcached, SSDB, LevelDB, RocksDB, UnQLite, LMDB, ForestDB, Pika, Dynomite, KeyDB GUI management tool.
https://fastonosql.com
GNU General Public License v3.0
1.18k stars 97 forks source link

FastoNoSQL silently fails to launch, because it mistakenly assumes my CPU supports AVX #29

Closed unforgettableid closed 6 years ago

unforgettableid commented 7 years ago

Hi! I'm using FastoNoSQL 1.5.0 for x64 on Windows 10 Home version 1607 (build 14393.953).

Every time I start FastoNoSQL, it crashes silently, even before it creates a fastonosql.log file.

So there are two problems.

A) It crashes silently when it really should show a Windows Error Reporting dialog box. This is bug #28. B) It crashes, even though it shouldn't crash at all. This is the current bug. Let me explain.

WinDbg reports:

FAILED_INSTRUCTION_ADDRESS: FastoNoSQL!unqlite_util_random_num+5f8a4d 00000000`00e57bad c5fb1045b8 vmovsd xmm0,qword ptr [rbp-48h]

Well, VMOVSD is an AVX (Advanced Vector Extensions) instruction. I'm using a cheap entry-level CPU: a quad-core Intel Pentium N3540. It doesn't support AVX instructions.

What compiler command line was used to compile unqlite?

Thanks for reading!

unforgettableid commented 7 years ago

The 32-bit version works fine on my CPU, but it's still a bug that the 64-bit version crashes without telling me that it doesn't support my CPU.

It would be better if you would compile it to work on all modern 64-bit CPUs, even cheap low-end ones. :)

Still, thank you for writing FastoNoSQL!

topilski commented 7 years ago

Hi thank you for issue, i will try to fix this crash. Also you can post this bug into unqlite community. Unqlite i link only unqlite.c file https://github.com/fastogt/fastonosql/blob/master/src/third-party/unqlite/CMakeLists.txt#L11, i don't use any specific UNQLITE flags or defines.

raygray commented 6 years ago

Bump. Same problem with latest version. 1.81 for x64 on Windows 10.

topilski commented 6 years ago

Hi @raygray , can you show me logs(placed in home folder)

raygray commented 6 years ago

Hi @topilski, there is no fastonosql.log created at all - application crashes silently on start-up.

Problem Details:

Description Faulting Application Path: C:\Program Files\FastoNoSQL\FastoNoSQL.exe

Problem signature Problem Event Name: APPCRASH Application Name: FastoNoSQL.exe Application Version: 1.8.1.0 Application Timestamp: 00000000 Fault Module Name: FastoNoSQL.exe Fault Module Version: 1.8.1.0 Fault Module Timestamp: 00000000 Exception Code: c000001d Exception Offset: 0000000000456533 OS Version: 10.0.15063.2.0.0.256.48 Locale ID: 1033 Additional Information 1: df44 Additional Information 2: df44772e4968eee96f65b5a9022fa0ee Additional Information 3: c03d Additional Information 4: c03d2339a36b6ff540dda1b66ca0a61d

Extra information about the problem Bucket ID: f1f015a42f4cffa5082a262ff15afb5e (120836135559)

topilski commented 6 years ago

Hi @raygray , can you specify your email address i will send you debug version, it can give us more information about crash. Also did you try FastoRedis?

raygray commented 6 years ago

Hi @topilski, FastoRedis starts normally. Email address is on my profile.

topilski commented 6 years ago

Hi @raygray , email sent, please try to start application.

raygray commented 6 years ago

Same problem as before.

topilski commented 6 years ago

Do you have crash info?

topilski commented 6 years ago

Hi all, thank you for helping in this issue, i have update our build server and now started from FastoNoSQL 1.8.2 application should work as expected, please check i'am waiting for yours feedbacks.

topilski commented 6 years ago

ping

unforgettableid commented 5 years ago

Thank you very much for working to fix this issue!

It might be tricky for me to test the newest version of FastoNoSQL to make sure that the problem is fixed: I have limited or no access to the computer which I was using.

Maybe @raygray can test. Maybe not.

Otherwise, if nobody else complains, maybe that means that the problem is fixed. :)