thingsboard / thingsboard

Open-source IoT Platform - Device management, data collection, processing and visualization.
https://thingsboard.io
Apache License 2.0
17.4k stars 5.14k forks source link

[Bug] Can't run thingsboard PE: EXCEPTION_ACCESS_VIOLATION on Windows #5429

Closed eeitnn closed 2 years ago

eeitnn commented 2 years ago

After I've upgraded TB PE from 3.3.0 to 3.3.1 it won't start anymore. It gives me the error message EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffcf5d62250, pid=15848, tid=20932 and shuts down again.

What I've tried: -uninstalling the service using uninstall.bat -dropping the thingsboard database -removing the thingsboard installation folder -doing a fresh installation of PE 3.3.1

Result: EXCEPTION_ACCESS_VIOLATION

It seems to me that the uninstall.bat script does not remove all of thingsboard components. The error persits, so there has to be something left somewhere from the previous installation. This looks very much like a bug to me.

Interestingy the CE runs perfectly fine.

Environment: OS: Windows 10 , 64 bit Build 19041 (10.0.19041.1202)

CPU:total 12 (initial active 12) (6 cores per cpu, 2 threads per core) family 6 model 165 stepping 2 microcode 0xea, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, erms, 3dnowpref, lzcnt, ht, tsc, tscinvbit, bmi1, bmi2, adx, fma

Memory: 4k page, system-wide physical 32519M (20408M free) TotalPageFile size 37383M (AvailPageFile size 21396M) current process WorkingSet (physical memory assigned to process): 698M, peak: 710M current process commit charge ("private bytes"): 866M, peak: 877M

vm_info: OpenJDK 64-Bit Server VM (11.0.12+7) for windows-amd64 JRE (11.0.12+7), built on Jul 21 2021 16:23:49 with unknown MS VC++:1916

ashvayka commented 2 years ago

Closing as duplicate of https://github.com/thingsboard/thingsboard/issues/5405

eeitnn commented 2 years ago

Closing as duplicate of #5405

better close the other issue.... This is about how to completely remove thingsboard from disk