blue screen of death, pc restart. TS v.987.5

For discussion of Phil Tobin's Tuner Studio software (Only about the tuning software itself, not about how to tune or firmware features)

Moderator: LT401Vette

Post Reply
Bimmerjim®
Helpful MS/Extra'er
Posts: 102
Joined: Mon Jul 12, 2004 12:02 pm
Location: SW idaho

blue screen of death, pc restart. TS v.987.5

Post by Bimmerjim® »

iv only messed with tuner studio a few times. each time it opens it starts the project just fine. at some point (seems to be random) ill click on one of the large buttons near the top (i.e. basic setup, startup/idle etc) my computer hangs for about 2 seconds, flashes BSOD, and restarts.

im using a new msi wind notebook. win xp sp3. all drivers are up to date.

if it happens again, ill try to get more info.
1989 BMW 325i, custom fab turbo.
V3 MS2 extra, 36-1 wheel + VR, Ind coil control/Wasted spark, IC, BC, FC, LC.
MSI Wind, Win XP, 10", 1.6 ghz, 2gb ram (2.3 lbs) + usb to db9
LT401Vette
Super MS/Extra'er
Posts: 12697
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: blue screen of death, pc restart. TS v.987.5

Post by LT401Vette »

Can you send me the TunerStudioLogFile.txt from the install dir, default:
c:\Program Files\EFIAnalytics\TunerStudioMS\

Also, what are you using for a serial connection? If USB, what cable?
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
Bimmerjim®
Helpful MS/Extra'er
Posts: 102
Joined: Mon Jul 12, 2004 12:02 pm
Location: SW idaho

Re: blue screen of death, pc restart. TS v.987.5

Post by Bimmerjim® »

no problem. i attached the log file.

im using a db9 to usb cable, got it from newegg.
SABRENT SBT-USC6M USB to Serial (9-pin) DB-9 RS-232 Adapter Cable Item #: N82E16812156009

havent had any issues with mt 2.25 using the usb to db9.
1989 BMW 325i, custom fab turbo.
V3 MS2 extra, 36-1 wheel + VR, Ind coil control/Wasted spark, IC, BC, FC, LC.
MSI Wind, Win XP, 10", 1.6 ghz, 2gb ram (2.3 lbs) + usb to db9
LT401Vette
Super MS/Extra'er
Posts: 12697
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: blue screen of death, pc restart. TS v.987.5

Post by LT401Vette »

I don't see anything in the log that looks like it should be a problem :?:

With it being when you are clicking something, it sounds like potentially a video driver problem?? That would be my first guess.
What chipset do you have? Are there any other drivers to try?
Do you run any other programs that might be using any 3D api's?

But again the video drivers are just my best guess :(
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
Bimmerjim®
Helpful MS/Extra'er
Posts: 102
Joined: Mon Jul 12, 2004 12:02 pm
Location: SW idaho

Re: blue screen of death, pc restart. TS v.987.5

Post by Bimmerjim® »

drivers are up to date.

no real 3d intensive programs. just stuff like win media, adobe photoshop, google earth.. in the two months that i have owned this laptop it has never halted, froze, or even blinked until i used tuner studio. it has done it twice, both time running only tuner studio, nothing else open.

ill try it out again and try to get you more detailed info.
1989 BMW 325i, custom fab turbo.
V3 MS2 extra, 36-1 wheel + VR, Ind coil control/Wasted spark, IC, BC, FC, LC.
MSI Wind, Win XP, 10", 1.6 ghz, 2gb ram (2.3 lbs) + usb to db9
LT401Vette
Super MS/Extra'er
Posts: 12697
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: blue screen of death, pc restart. TS v.987.5

Post by LT401Vette »

Those apps should be using more 3D api's than TS :)

In one other case someone was getting a BSOD and a different usb to serial cable fixed it. In that case MT was not causing a problem but TS was, I don't know why. It would be worth trying a different cable.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
RangingRover
Experienced MS/Extra'er
Posts: 182
Joined: Sun Feb 11, 2007 4:27 am
Location: Melbourne, Australia

Re: blue screen of death, pc restart. TS v.987.5

Post by RangingRover »

Sorry Phil, but another one here. Decided to give tunerstudio a try, so downloaded and installed this morning, hooked up and burnt my new MSQ, set it to log and drove off down the road. Within five minutes, screen went black, and I actually thought the laptop had turned the screen off to save battery (lasts 3 times longer that way). Looked back and realised it had restarted windows. Started TS back up, started logging again, and within about 2 mins I caught the BSOD out the corner of my eye. Couldn't be bothered restarting again, turned the laptop off. Just trialled again then, and sure enough, after about 5 mins BSOD and windows restart.

Version 0.988.5, using Prolific USB-Serial adapter on Windows XP. Setup has worked flawlessly with Megatune for the last 2 or 3 years.... No usefull snippets in my log file either, just had a skim and the last thing before the next startup is "read all data." Pity too, because there are a few things I wouldn't mind using in TS, but I can't be bothered going and forking out for a new cable to use with it in the hope that it might fix the issue.
4.6 V8 '84 Range Rover, MS1 V3.0 on extra - Fuel and Dizzy Spark.
'81 Alfa Romeo Alfetta GTV - Was 2.0 4cyl MS1extra V3.0 + GSXr-750 ITBs, Now 3.0 quadcam V6, wasted spark, MS2 extra, GSXr-750 ITBs. I swear I had tyres on those rims when I left home officer....
LT401Vette
Super MS/Extra'er
Posts: 12697
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: blue screen of death, pc restart. TS v.987.5

Post by LT401Vette »

A new serial cable would very likely fix it, but there is another chance without buying a new cable, you just have to wait a bit.

There is a new version of RXTX coming out soon. That is the serial driver I am using, the new driver might fix it. It is less likely though as the real problem is most likely in the driver for your cable.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
RangingRover
Experienced MS/Extra'er
Posts: 182
Joined: Sun Feb 11, 2007 4:27 am
Location: Melbourne, Australia

Re: blue screen of death, pc restart. TS v.987.5

Post by RangingRover »

Out of idle curiousity, does MT run the same RXTX serial driver?
4.6 V8 '84 Range Rover, MS1 V3.0 on extra - Fuel and Dizzy Spark.
'81 Alfa Romeo Alfetta GTV - Was 2.0 4cyl MS1extra V3.0 + GSXr-750 ITBs, Now 3.0 quadcam V6, wasted spark, MS2 extra, GSXr-750 ITBs. I swear I had tyres on those rims when I left home officer....
LT401Vette
Super MS/Extra'er
Posts: 12697
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: blue screen of death, pc restart. TS v.987.5

Post by LT401Vette »

No. MegaTune makes native windows calls. RXTX is the only 3rd party component in TunerStudio, it abstracts the native OS calls from the Java helping on the multi-platform side.

So with RXTX being for any serial application, it uses a broader set of comm functions than may actually be needed or MegaTune may use. Hence it can be making use of a call that exposes a bug in the usb cable driver, where you can get away with it in MegaTune.

A person could most likely compile a specialized RXTX that would work around the driver problem.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
RangingRover
Experienced MS/Extra'er
Posts: 182
Joined: Sun Feb 11, 2007 4:27 am
Location: Melbourne, Australia

Re: blue screen of death, pc restart. TS v.987.5

Post by RangingRover »

Ah, I see. That would explain perfectly the reason why MT seems to work and TS doesn't.... I suppose the way the code is written its not possible to add an option for people like me to revert back to using the inbuilt windows gear? Just a thought.
4.6 V8 '84 Range Rover, MS1 V3.0 on extra - Fuel and Dizzy Spark.
'81 Alfa Romeo Alfetta GTV - Was 2.0 4cyl MS1extra V3.0 + GSXr-750 ITBs, Now 3.0 quadcam V6, wasted spark, MS2 extra, GSXr-750 ITBs. I swear I had tyres on those rims when I left home officer....
LT401Vette
Super MS/Extra'er
Posts: 12697
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: blue screen of death, pc restart. TS v.987.5

Post by LT401Vette »

It is possible, but....
The RXTX driver is a standard open source comm implementation. So you can conceivably take that code and build a specialized version that eliminates what ever call is causing the problem, compile that and make it available to anyone that is having the problem.

The thing is... First I would need a computer that could reproduce the problem to debug it, so I that would mean the same cable and same driver (shouldn't be too hard), but then there may be other attributes of the computer that trigger the problem.

So if was a common problem, It has to be done. But at this point it seems very rare and RXTX has a new release coming out soon, that may solve it.

It would probably be worth trying the prerelease version of RXTX to see if that fixes it:
http://rxtx.qbang.org/wiki/index.php/Main_Page

You really only need 2 files:
rxtxSerial.dll
and maybe:
RXTXcomm.jar

replace the ones in the [installDir]\lib
dir.

I would recommend just replacing the dll first, the jar might cause a problem. If you do replace the jar and it causes a problem, don't worry it will be obvious and won't connect.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
RangingRover
Experienced MS/Extra'er
Posts: 182
Joined: Sun Feb 11, 2007 4:27 am
Location: Melbourne, Australia

Re: blue screen of death, pc restart. TS v.987.5

Post by RangingRover »

Java update didn't fix it, and replacing the .dll file caused TS not to load, due to an error with, you guessed it, the .dll file. Fortunately I backed it up before I copied it in. Will try the .jar file if I can find it, but probably won't be for a few days...
4.6 V8 '84 Range Rover, MS1 V3.0 on extra - Fuel and Dizzy Spark.
'81 Alfa Romeo Alfetta GTV - Was 2.0 4cyl MS1extra V3.0 + GSXr-750 ITBs, Now 3.0 quadcam V6, wasted spark, MS2 extra, GSXr-750 ITBs. I swear I had tyres on those rims when I left home officer....
LT401Vette
Super MS/Extra'er
Posts: 12697
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: blue screen of death, pc restart. TS v.987.5

Post by LT401Vette »

The jar without the new dll would probably belly ache anyway.

If you can find an updated driver for your usb cable that is probably the best solution as that is where the root problem most likely resides.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
transaxel
Helpful MS/Extra'er
Posts: 74
Joined: Tue Apr 22, 2008 10:41 am
Location: Austria

Re: blue screen of death, pc restart. TS v.987.5

Post by transaxel »

Hi!

Same Issue - after a few minutes my Notebook reboots. Latest TunerStudio and Aten UC232 Usb/Serial Adapter.

http://www.aten.com/products/productIte ... 2316346005

Java Update and latest Aten driver didn´t solved the problem.

Greetings from Austria
Gerald
Alfa Romeo 164 2.0 V6 Turbo running on MS2 Extra
Post Reply