About matlab coder causing "Integer divide by zero" crash after updating windows 10 to 1803 version

조회 수: 4 (최근 30일)
After I updated my windows 10 to 1803 version, whenever the coder is invoked, it creates this weird crash caused by
--------------------------------------------------------------------------------
Integer divide by zero detected at Sat. Sep 22 08:03:16 2018 +0800
--------------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : Big5
Deployed : false
Graphics Driver : Unknown hardware
Graphics card 1 : Intel Corporation ( 0x8086 ) Intel(R) HD Graphics 620 Version 23.20.16.5018 (2018-3-27)
Java Version : Java 1.8.0_152-b16 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
MATLAB Architecture : win64
MATLAB Entitlement ID : 5330307
MATLAB Root : C:\Program Files\MATLAB\R2018b
MATLAB Version : 9.5.0.944444 (R2018b)
OpenGL : hardware
Operating System : Microsoft Windows 10 professional
Process ID : 11064
Processor ID : x86 Family 6 Model 142 Stepping 9, GenuineIntel
Session Key : 3aaea94c-68d1-43f3-a3c1-d1d870a37c66
Window System : Version 10.0 (Build 17134)
I have no idea why it would causing this behavior and couldn't find any related answers similar to this. Has anyone have this same kind of weird crash after updating to windows 10 1803 build?
(It can be triggered as simple as)
function y=hello_world
y='hello world';
end
codegen hello_world
  댓글 수: 2
Ryan Livingston
Ryan Livingston 2018년 9월 24일
What is the rest of the crash report? There is usually something like:
Fault Count: 1
Abnormal termination:
Integer divide by zero
Register State (from fault):
RAX = 0000000000000001 RBX = 00000002b8063ee0
RCX = 0000000000000001 RDX = 0000000000000000
RSP = 00000002b8063de0 RBP = 00000000c84d0cf0
RSI = 00000002b807c350 RDI = 0000000000000000
R8 = 00000002b8063fa0 R9 = 00000002b8063e88
R10 = 0000000000000001 R11 = 00000002b8063e48
R12 = 0000000000000000 R13 = 0000000000000000
R14 = 00000002b8063ee0 R15 = 0000000000000000
RIP = 00000001f47b5eaf EFL = 00010246
CS = 0033 FS = 0053 GS = 002b
Stack Trace (from fault):
[ 0] 0x00000001f47b5eaf Path\to\some\file.cpp some dlll
[ 1] 0x00000001f47b5eaf Path\to\some\other\file.cpp some dlll
The information in the stack trace helps us isolate where the crash happened.
Also, can you please report this to MathWorks Techinical Support:
so someone can investigate the issue?
Kuan-Wu Su
Kuan-Wu Su 2018년 9월 28일
--------------------------------------------------------------------------------
Integer divide by zero detected at Fri. Sep 28 12:01:49 2018 +0800
--------------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : Big5
Deployed : false
Graphics Driver : Unknown hardware
Graphics card 1 : Intel Corporation ( 0x8086 ) Intel(R) HD Graphics 620 Version 23.20.16.5018 (2018-3-27)
JAWT Patch Status: : Patch applied
Java Version : Java 1.8.0_152-b16 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
MATLAB Architecture : win64
MATLAB Entitlement ID : 5330307
MATLAB Root : C:\Program Files\MATLAB\R2018b
MATLAB Version : 9.5.0.944444 (R2018b)
OpenGL : hardware
Operating System : Microsoft Windows 10 Professional
Process ID : 11980
Processor ID : x86 Family 6 Model 142 Stepping 9, GenuineIntel
Session Key : 4e81a82d-8903-4234-8ed9-e5d46eb77834
Window System : Version 10.0 (Build 17134)
Fault Count: 1
Abnormal termination
Register State (from fault):
RAX = 0000000000072c00 RBX = 0000000000000000
RCX = 1b47d1276b5e0000 RDX = 0000000000000000
RSP = 000000027c17e690 RBP = 000000027c17e790
RSI = 0000000000000000 RDI = 000000027c17ed00
R8 = 000000000000000b R9 = 00007ff9fef47f86
R10 = 000000000cb700a4 R11 = 000000027c17e280
R12 = 0000000000000002 R13 = 0000000000000200
R14 = 0000000000000000 R15 = 0000000000000000
RIP = 00007ff9ff016200 EFL = 00010206
CS = 0033 FS = 0053 GS = 002b
Stack Trace (from fault):
[ 0] 0x00007ff9ff016200 C:\WINDOWS\SYSTEM32\ISD_Tablet.dll+00877056 WacomExtHook+00845880
[ 1] 0x00007ff9ff011b29 C:\WINDOWS\SYSTEM32\ISD_Tablet.dll+00858921 WacomExtHook+00827745
[ 2] 0x00007ffa06368f5f C:\WINDOWS\system32\wintab32.dll+00757599 WTDataPeek+00724688
[ 3] 0x00007ffa0636b9b7 C:\WINDOWS\system32\wintab32.dll+00768439 WTDataPeek+00735528
[ 4] 0x00007ffa06370777 C:\WINDOWS\system32\wintab32.dll+00788343 WTDataPeek+00755432
[ 5] 0x00007ffa063798e5 C:\WINDOWS\system32\wintab32.dll+00825573 WTDataPeek+00792662
[ 6] 0x00007ffa2890c844 C:\Program Files\MATLAB\R2018b\bin\win64\platforms\qwindows.dll+00313412
[ 7] 0x00007ffa288cb73a C:\Program Files\MATLAB\R2018b\bin\win64\platforms\qwindows.dll+00046906
[ 8] 0x00007ffa288c9cff C:\Program Files\MATLAB\R2018b\bin\win64\platforms\qwindows.dll+00040191
[ 9] 0x00007ffa288c9c9f C:\Program Files\MATLAB\R2018b\bin\win64\platforms\qwindows.dll+00040095
[ 10] 0x00007ffa2891c852 C:\Program Files\MATLAB\R2018b\bin\win64\platforms\qwindows.dll+00378962 qt_plugin_query_metadata+00005010
[ 11] 0x00007ff9fc25fed8 C:\Program Files\MATLAB\R2018b\bin\win64\Qt5GuiMW.dll+00130776 MW_QT::QPlatformIntegrationFactory::keys+00001000
[ 12] 0x00007ff9fc25f866 C:\Program Files\MATLAB\R2018b\bin\win64\Qt5GuiMW.dll+00129126 MW_QT::QPlatformIntegrationFactory::create+00000150
[ 13] 0x00007ff9fc26b74d C:\Program Files\MATLAB\R2018b\bin\win64\Qt5GuiMW.dll+00177997 MW_QT::QGuiApplicationPrivate::init+00002669
[ 14] 0x00007ff9fc269bad C:\Program Files\MATLAB\R2018b\bin\win64\Qt5GuiMW.dll+00170925 MW_QT::QGuiApplicationPrivate::createPlatformIntegration+00001357
[ 15] 0x00007ff9fc2694db C:\Program Files\MATLAB\R2018b\bin\win64\Qt5GuiMW.dll+00169179 MW_QT::QGuiApplicationPrivate::createEventDispatcher+00000027
[ 16] 0x000000000b25ba12 C:\Program Files\MATLAB\R2018b\bin\win64\Qt5CoreMW.dll+01751570 MW_QT::QCoreApplicationPrivate::init+00000242
[ 17] 0x00007ff9fc26ad09 C:\Program Files\MATLAB\R2018b\bin\win64\Qt5GuiMW.dll+00175369 MW_QT::QGuiApplicationPrivate::init+00000041
[ 18] 0x000000000b5b244f C:\Program Files\MATLAB\R2018b\bin\win64\Qt5WidgetsMW.dll+00074831 MW_QT::QApplicationPrivate::init+00000015
[ 19] 0x000000000b5ae63b C:\Program Files\MATLAB\R2018b\bin\win64\Qt5WidgetsMW.dll+00058939 MW_QT::QApplication::QApplication+00000091
[ 20] 0x000000000a78ed1b bin\win64\glee.dll+00781595 GLIMReentrancyProtector::GLIMReentrancyProtector+00000123
[ 21] 0x000000000a80b4e7 bin\win64\glee.dll+01291495 GuiObject::scheduleDelete+00108967
[ 22] 0x000000000a80aac9 bin\win64\glee.dll+01288905 GuiObject::scheduleDelete+00106377
[ 23] 0x000000000a80a899 bin\win64\glee.dll+01288345 GuiObject::scheduleDelete+00105817
[ 24] 0x00007ffa4f76c4ce C:\WINDOWS\System32\ucrtbase.dll+00115918 o_ceil+00000078
[ 25] 0x00007ffa52c53034 C:\WINDOWS\System32\KERNEL32.DLL+00077876 BaseThreadInitThunk+00000020
[ 26] 0x00007ffa531f1461 C:\WINDOWS\SYSTEM32\ntdll.dll+00463969 RtlUserThreadStart+00000033
This is the latest full crash report from the log. Triggered only by clicking the MATLAB coder apps. I suspected that this has something to do with Qt5?
I will submit a report to support.

댓글을 달려면 로그인하십시오.

채택된 답변

Kuan-Wu Su
Kuan-Wu Su 2018년 9월 28일
After some digging into the crash report. I think I found the source of this crash (looks like triggered by ISD_Tablet.dll), and it has something to do with the "Wacom ISD Service" for the Tablet Pen function. And I can work around this issue by disable the "Wacom ISD Service" from windows services (although at the expense of the touch screen pen function). And I have submitted a report to the tech support.

추가 답변 (1개)

David Green
David Green 2018년 12월 6일
Try installing "Bamboo Ink Stylus Driver 7.3.4-47 (Win10)" from wacom.com. This solved the problem I was having and retained the pen function.

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by