Author Topic: Windows 8.1 - Toshiba stack - page fault in nonpaged area  (Read 10101 times)

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3071
  • Karma: 1000
    • Wireless Communication Libraries
Re: Windows 8.1 - Toshiba stack - page fault in nonpaged area
« Reply #15 on: February 05, 2016, 11:32:50 PM »
Hello,

We executed more tests. It looks that there is something wrong when Toshiba can not initialize its COM port as server (when it says error in test tool). I am not sure yet about the problem place. But I think it is something in WCL, not in Toshiba itself (because test tool does not crash).

Unfortunately it takes some time to fix cause when it works it simple works but when it crashes (not always on our test systems) it is very hard to locate the place.

Any way, we will do all our best to fix it as soon as possible. I will be in touch.

Offline TonyJuurlink

  • Newbie
  • *
  • Posts: 31
  • Karma: 0
Re: Windows 8.1 - Toshiba stack - page fault in nonpaged area
« Reply #16 on: February 08, 2016, 03:04:44 PM »
Thanks Mike, we appreciate your looking int this.  If there is anything we can do to help, let us know.

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3071
  • Karma: 1000
    • Wireless Communication Libraries
Re: Windows 8.1 - Toshiba stack - page fault in nonpaged area
« Reply #17 on: February 08, 2016, 03:06:50 PM »
Thank you for your help. I will let you know when will have test version. So I just ask you to test it then.

Offline TonyJuurlink

  • Newbie
  • *
  • Posts: 31
  • Karma: 0
Re: Windows 8.1 - Toshiba stack - page fault in nonpaged area
« Reply #18 on: February 23, 2016, 08:14:49 PM »
Hey Mike,

Any luck with this?

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3071
  • Karma: 1000
    • Wireless Communication Libraries
Re: Windows 8.1 - Toshiba stack - page fault in nonpaged area
« Reply #19 on: February 24, 2016, 02:00:39 AM »
Hello,

Please, try this attached version.

Offline TonyJuurlink

  • Newbie
  • *
  • Posts: 31
  • Karma: 0
Re: Windows 8.1 - Toshiba stack - page fault in nonpaged area
« Reply #20 on: February 24, 2016, 08:39:32 PM »
Mike,

Has the wclBluetoothDevice.Pair signature changed?  Our original code was using
"wcl.wclBluetoothDevice.Pair(wclBluetoothRadio, string)", but I don't see an overload for that now.

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3071
  • Karma: 1000
    • Wireless Communication Libraries
Re: Windows 8.1 - Toshiba stack - page fault in nonpaged area
« Reply #21 on: February 24, 2016, 08:46:38 PM »
Hello,

Yes, it has been changed 2 years ago (http://forum.btframework.com/index.php/topic,3215.0.html) in 6.13.4.0

Offline TonyJuurlink

  • Newbie
  • *
  • Posts: 31
  • Karma: 0
Re: Windows 8.1 - Toshiba stack - page fault in nonpaged area
« Reply #22 on: March 21, 2016, 03:04:14 PM »
Hello Mike,

Using that attached version, I provided our client with a copy of the demo BlueChatServer, and they are still getting the crash when clicking on the "Listen" button.

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3071
  • Karma: 1000
    • Wireless Communication Libraries
Re: Windows 8.1 - Toshiba stack - page fault in nonpaged area
« Reply #23 on: March 21, 2016, 04:54:04 PM »
Ok, thank you. I keep working on this.

Offline TonyJuurlink

  • Newbie
  • *
  • Posts: 31
  • Karma: 0
Re: Windows 8.1 - Toshiba stack - page fault in nonpaged area
« Reply #24 on: April 05, 2016, 01:23:49 PM »
Hey Mike, any luck with this, or is there any sort of diagnostics application our customer could run on an affected tablet?

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3071
  • Karma: 1000
    • Wireless Communication Libraries
Re: Windows 8.1 - Toshiba stack - page fault in nonpaged area
« Reply #25 on: April 05, 2016, 01:31:29 PM »
Hello,

Unfortunately no. As I wrote the issue is reproducable but very randomly. We also was able to reproduce it with Toshiba app I sent you (very very randomly). And I think I know why it happens.

The problem with Toshiba is that is uses Windows messages inside kernel mode to notify high-level application about driver events. If window registered for notifications destroyed during or immediately before Toshiba driver (kernel) sends a notification the A/V (BSOD) appears. But that appears not always but only if other window got the same HWND in this time or WndProc code has already removed from memory. Even if app closed but WndProc code are still available and not released for other tasks the BSOD will not appear. That is why it is very hard to fix.

In fact we are trying to solve this somehow but still no luck.

Offline TonyJuurlink

  • Newbie
  • *
  • Posts: 31
  • Karma: 0
Re: Windows 8.1 - Toshiba stack - page fault in nonpaged area
« Reply #26 on: April 05, 2016, 02:15:26 PM »
Thanks for clarifying.

The behavior in our customer's environment is such that when they re-image a machine from their base snapshot, they do not encounter the issue.  According to them, after a period of time of use, the application consistently crashes - not random in their environment.  We could reproduce the consistency as they sent us their hardware, and narrowed it down to the Listen() method call. 

Would the Toshiba Windows Messaging issue still account for that scenario?

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3071
  • Karma: 1000
    • Wireless Communication Libraries
Re: Windows 8.1 - Toshiba stack - page fault in nonpaged area
« Reply #27 on: April 05, 2016, 04:07:48 PM »
Would the Toshiba Windows Messaging issue still account for that scenario?

Probably yes as there is no other reason of crash and also kernel debugging shows exactly this problem.

Offline TonyJuurlink

  • Newbie
  • *
  • Posts: 31
  • Karma: 0
Re: Windows 8.1 - Toshiba stack - page fault in nonpaged area
« Reply #28 on: April 28, 2016, 04:10:24 PM »
Hey Mike, some minidumps attached in case you have a use for them.

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3071
  • Karma: 1000
    • Wireless Communication Libraries
Re: Windows 8.1 - Toshiba stack - page fault in nonpaged area
« Reply #29 on: April 28, 2016, 04:17:10 PM »
Hi,

Thank you a lot. We are working on big WCL update (the first one should be with WiFi Part reworked) which should (as we hope) solve the toshiba issue. But any way, your dump will really help to solve it.

 

Sitemap 1 2 3 4 5 6 7 8 9