Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Versions 2.x crashes with Windows 7 x64 #617

Closed
ancasicolica opened this issue Oct 26, 2015 · 5 comments · Fixed by #623
Closed

Versions 2.x crashes with Windows 7 x64 #617

ancasicolica opened this issue Oct 26, 2015 · 5 comments · Fixed by #623

Comments

@ancasicolica
Copy link

Running my tool with serialport 1.7.4 with node 0.12.7 worked well. After upgrading node-serialport to 2.x, the application became instable, crashing very often (terminates without any notice, very randomly). After reverting to 1.7.4 everything was fine again. Same effect when running serialport with node 4 (only serialport 2.x).

No issues on Mac OS, only Windows is affected. As 1.7.4 is not node 4 compliant, this is a big issue for me.

@ancasicolica ancasicolica changed the title Versions 2.x crash with Windows 7 x64 Versions 2.x crashes with Windows 7 x64 Oct 26, 2015
@ancasicolica
Copy link
Author

Here is what I see when attaching the VS2015 debugger to the process (even it is not a lot):

Debug console:
Critical error detected c0000374

Call stack:

  ntdll.dll!RtlReportCriticalFailure�() Unbekannt
  ntdll.dll!RtlpReportHeapFailure�()    Unbekannt
ntdll.dll!RtlpHeapHandleError�()    Unbekannt
ntdll.dll!RtlpLogHeapFailure�() Unbekannt
ntdll.dll!RtlFreeHeap�()    Unbekannt
kernel32.dll!HeapFree�()    Unbekannt
node.exe!000000013ffffaac() Unbekannt
node.exe!000000013fbad495() Unbekannt
node.exe!000000013fbad15c() Unbekannt
node.exe!000000013fbac29a() Unbekannt
node.exe!000000013fbab561() Unbekannt
node.exe!000000013fc55804() Unbekannt
node.exe!000000013fb13939() Unbekannt
node.exe!000000013fae0ed9() Unbekannt
node.exe!000000013fd30950() Unbekannt
node.exe!000000013fd3d990() Unbekannt
node.exe!000000013fd3d828() Unbekannt
node.exe!000000013fd5b04f() Unbekannt
node.exe!000000013fd5b6ba() Unbekannt
node.exe!000000013fd08de7() Unbekannt`

@livesankp
Copy link

Hello,

I have similar kind of issue. Trying to figure out from past 2 days if this is serialport or signalr issue but looks like serialport as my node program stops without any error or warning message while reading or writing to serialport. I have node.js v4.1.2 upgraded from 0.12 and serial port i tried 2.x and also this one npm install "git://github.com/ghostoy/node-serialport.git#nan1to2" Both have similar issues i am able to write and read to serialport but suddenly it stops program. My program was working from past 6 months but not anymore after this upgrades.

@nicozhang
Copy link

i have the same problem while using the code in reme

@livesankp
Copy link

Looks liks this issue is fixed with node 4.2.2 and serialport 2.0.4

@lock lock bot locked as resolved and limited conversation to collaborators May 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging a pull request may close this issue.

4 participants