Crystalfontz LCD Forum
 
 

Go Back   Crystalfontz LCD Forum > LCD Software > CrystalControl2 > Troubleshooting & Bug Reports

Notices

Reply
 
Thread Tools Rate Thread Display Modes
Old 2006/02/26, 03:29 PM   #1
dhs
Registered
 
Join Date: 2004/12
Posts: 34
Bsod

2 days with random BSOD.

Uninstalled CC2. No more BSOD

I'm sorry but i can't even send a log; the bsod seems to happen before any log can be saved.

What can i do to help?
dhs is offline   Reply With Quote
Old 2006/02/26, 03:44 PM   #2
CrystalControl Admin
Administrator
 
Join Date: 2001/11
Location: Adelaide, South Australia
Posts: 2,509
Try the new version (20060226).
This may be caused by the same DLL issue.
__________________
Crystalfontz CrystalControl2 Author
CrystalControl Admin is offline   Reply With Quote
Old 2006/02/27, 05:06 AM   #3
dhs
Registered
 
Join Date: 2004/12
Posts: 34
Still BSOD.

BUT, i found out it happens *only* when CC2 is reading values from SpeeFan.

If speedfan is running, no problems.
If CC2 is running, ni problems.

If CC2 is using the speedfan plugin, after a while, BSOD.

So, i think the problem lies in the SpeedFan plugin. Maybe it's not fully ok with x2 processors.

EDIT: Nope, it happened again, even without speedfan running or screens needing the speedfan plugin

Last edited by dhs; 2006/02/27 at 05:15 AM.
dhs is offline   Reply With Quote
Old 2006/02/28, 02:31 PM   #4
dhs
Registered
 
Join Date: 2004/12
Posts: 34
Did some other tests today.

Looks like if i set the logging on (file_level=1) no more BSOD.

dhs is offline   Reply With Quote
Old 2006/02/28, 02:55 PM   #5
CF Tech
Administrator
 
Join Date: 2001/03
Location: Spokane, Washington
Posts: 4,015
The best bugs always disappear when you turn debugging on
CF Tech is offline   Reply With Quote
Old 2006/02/28, 08:32 PM   #6
CrystalControl Admin
Administrator
 
Join Date: 2001/11
Location: Adelaide, South Australia
Posts: 2,509
Quote:
If speedfan is running, no problems.
If CC2 is running, ni problems.

If CC2 is using the speedfan plugin, after a while, BSOD.
Before the BSOD happens, is CC2 showing the correct speedfan information?
__________________
Crystalfontz CrystalControl2 Author
CrystalControl Admin is offline   Reply With Quote
Old 2006/03/01, 12:21 AM   #7
dhs
Registered
 
Join Date: 2004/12
Posts: 34
Yes (beside the fact that the latest release i can't show anymore Fan2).
dhs is offline   Reply With Quote
Old 2006/03/01, 01:57 AM   #8
meklubba
CC2 Beta Tester
 
Join Date: 2004/08
Location: Sweden
Posts: 40
I'm using SpeedFan and CC2 version 20060216 (haven't got time to upgrade yet) to read fan-speeds, temps and voltage using a P4 with HT and it works. Is your system a real dual-proc or is it HT.
I *think* that SpeedFan is using memory mapped files to communicate the values and my thought was that if your system is dual-proc then it could be that perhaps one processor (the one that originally did not execute the plugin) tries to read the mmf and causes a violation that causes the BSOD.
To test if it is processor related set affinity on the cc2_service.exe.
Otherwise run System applet from Control Panel, click on the Advanced tab, click Settings button in the Startup and Recovery section, Uncheck the checkbox for Automatically Restart and hit some Ok buttons on the way out.
Next time you get the BSOD you have the opportunity to write down the error messages and post it here and perhaps some one is able to help you.

/Daniel
meklubba is offline   Reply With Quote
Old 2006/03/01, 02:04 AM   #9
dhs
Registered
 
Join Date: 2004/12
Posts: 34
Quote:
Originally posted by meklubba
[B]I'm using SpeedFan and CC2 version 20060216 (haven't got time to upgrade yet) to read fan-speeds, temps and voltage using a P4 with HT and it works.
It worked for me too with 20060216 (beside the bsod).
It doesn't read Fan02 with the latest release.

Quote:
Is your system a real dual-proc or is it HT.
AMD64 4400 x2.

Quote:
I *think* that SpeedFan is using memory mapped files to communicate the values and my thought was that if your system is dual-proc then it could be that perhaps one processor (the one that originally did not execute the plugin) tries to read the mmf and causes a violation that causes the BSOD.
Problem is that BSOD happens even when SpeedFan isn't running and CCD isn't using the speedfan plugin.

Quote:
To test if it is processor related set affinity on the cc2_service.exe.
Otherwise run System applet from Control Panel, click on the Advanced tab, click Settings button in the Startup and Recovery section, Uncheck the checkbox for Automatically Restart and hit some Ok buttons on the way out.
Next time you get the BSOD you have the opportunity to write down the error messages and post it here and perhaps some one is able to help you.
I will. Thanks
dhs is offline   Reply With Quote
Old 2006/03/01, 04:18 AM   #10
dhs
Registered
 
Join Date: 2004/12
Posts: 34
Quote:
To test if it is processor related set affinity on the cc2_service.exe.
BTW, how do i do this?

Last edited by dhs; 2006/03/01 at 04:37 AM.
dhs is offline   Reply With Quote
Old 2006/03/01, 04:40 AM   #11
dhs
Registered
 
Join Date: 2004/12
Posts: 34
Attacched: logs and ini from the last crash.

Note: you will notice that CC2 creates IDs only for some sensors in speedfan, while speedfans actually sees everything (fans 1-3, and so on).
Attached Files
File Type: zip files.zip (19.2 KB, 76 views)
dhs is offline   Reply With Quote
Old 2006/03/01, 05:57 AM   #12
meklubba
CC2 Beta Tester
 
Join Date: 2004/08
Location: Sweden
Posts: 40
Download ProcessExplorer (it is by the way the best program in this category) http://www.sysinternals.com/Utilitie...sExplorer.html
Run it and right click on the cc2_service.exe (it is listed under System in the tree view) and choose Set Affinity..., uncheck any of Cpu 0 or Cpu 1. Unfortunately this has to be done every time you reboot your system.
This procedure will not work with windows taskmanager since you get permission denied when trying to set affinity...

I'll check and see if there is an Win32 API to set affinity on processes or if someone has solved this problem allready.

Perhaps there is a way to set affinity when the service is installed, but I leave it to CrystalControl Admin to check it up.
meklubba is offline   Reply With Quote
Old 2006/03/01, 06:34 AM   #13
dhs
Registered
 
Join Date: 2004/12
Posts: 34
Ok, i tried to set the affinity (only on cpu0), started CC2 and after some seconds, bsod

TRAP_CAUSE_UNKNOW

STOP: 0x00000012 (0x00000001, 0x0000b080, 0x00000000, 0x00000000)

dhs is offline   Reply With Quote
Old 2006/03/01, 06:41 AM   #14
meklubba
CC2 Beta Tester
 
Join Date: 2004/08
Location: Sweden
Posts: 40
According to my Visual Studio Documentation there is such a function. I'll check into it later, I can not promise when.

Since it works for me with HT, which isn't really dual CPU since, as I've understood it, it is the instruction streams that is splitted into two inside the CPU, but the two simulated CPUs still share the same caches. With dual proc you have separate caches which introduces cache coherency problems. Further more you get accessing issues to RAM, Virtual memory and internal busses amongst other. It could be related. I did a quick search with google and found other that had experinced the same problem but with other programs.

I'll get back here if and when I have something I think is usefull...

/Daniel
meklubba is offline   Reply With Quote
Old 2006/03/01, 06:44 AM   #15
meklubba
CC2 Beta Tester
 
Join Date: 2004/08
Location: Sweden
Posts: 40
Quote:
Originally posted by dhs
Ok, i tried to set the affinity (only on cpu0), started CC2 and after some seconds, bsod

TRAP_CAUSE_UNKNOW

STOP: 0x00000012 (0x00000001, 0x0000b080, 0x00000000, 0x00000000)

I'll have to go, but that indicates hardware - driver compatibility problems.

/Daniel
meklubba is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 07:46 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.