Bug #85265 looking for mysqlsh.pdb debug symbols file
Submitted: 2 Mar 2017 5:26 Modified: 6 Mar 2017 10:10
Reporter: Shane Bester (Platinum Quality Contributor) Email Updates:
Status: Verified Impact on me:
None 
Category:Shell General / Core Client Severity:S4 (Feature request)
Version:1.0.5 OS:Windows (1.0.5)
Assigned to: CPU Architecture:Any

[2 Mar 2017 5:26] Shane Bester
Description:
getting crashes in mysqlsh.exe and cannot obtain a readable stack trace without debug symbols.

How to repeat:
try get meaningful conclusion from a non-resolved stack trace:

0:000> k
  *** Stack trace for last set context - .thread/.cxr resets it
Child-SP          RetAddr           Call Site
00000000`001c9100 00000001`406ee02e mysqlsh+0x7b41be
00000000`001c9130 00000001`406f32c7 mysqlsh+0x7be02e
00000000`001c9160 00000000`7747bc10 mysqlsh+0x7c32c7
00000000`001c9190 00000000`77680108 kernel32!UnhandledExceptionFilter+0x160
00000000`001c9270 00000000`77617958 ntdll! ?? ::FNODOBFM::`string'+0x2025
00000000`001c92a0 00000000`7762812d ntdll!_C_specific_handler+0x8c
00000000`001c9310 00000000`7761855f ntdll!RtlpExecuteHandlerForException+0xd
00000000`001c9340 00000000`77618b58 ntdll!RtlDispatchException+0x45a
00000000`001c9a20 000007fe`fc2da06d ntdll!RtlRaiseException+0x22f
00000000`001ca060 00000001`406d7867 KERNELBASE!RaiseException+0x39
00000000`001ca130 00000001`4071f5d2 mysqlsh+0x7a7867
00000000`001ca1a0 00000001`406fd560 mysqlsh+0x7ef5d2
00000000`001ca1e0 00000001`406e9721 mysqlsh+0x7cd560
00000000`001ca210 00000000`7764b681 mysqlsh+0x7b9721
00000000`001ca2e0 00000001`40426a60 ntdll!RcFrameConsolidation+0x3
00000000`001cc5b0 00000001`4071ec95 mysqlsh+0x4f6a60
00000000`001cc700 00000001`406fd560 mysqlsh+0x7eec95
00000000`001cc740 00000001`406e9721 mysqlsh+0x7cd560
00000000`001cc770 00000000`7764b681 mysqlsh+0x7b9721
00000000`001cc840 00000001`40422fae ntdll!RcFrameConsolidation+0x3
00000000`001cf0c0 00000001`40425b3e mysqlsh+0x4f2fae
00000000`001cf220 00000001`40425a6f mysqlsh+0x4f5b3e
00000000`001cf270 00000001`403e6ef0 mysqlsh+0x4f5a6f
00000000`001cf2e0 00000001`404592bb mysqlsh+0x4b6ef0
00000000`001cf4b0 00000001`4041c3a9 mysqlsh+0x5292bb
00000000`001cf510 00000001`4041fcf8 mysqlsh+0x4ec3a9
00000000`001cf570 00000001`403c4f50 mysqlsh+0x4efcf8
00000000`001cf5a0 00000001`403a5f58 mysqlsh+0x494f50
00000000`001cf840 00000001`406daf88 mysqlsh+0x475f58
00000000`001cfee0 00000000`773f59cd mysqlsh+0x7aaf88
00000000`001cff20 00000000`7762a561 kernel32!BaseThreadInitThunk+0xd
00000000`001cff50 00000000`00000000 ntdll!RtlUserThreadStart+0x1d

Suggested fix:
please provide the mysqlsh.pdb alongside the mysqlsh.exe in the distro.
[2 Mar 2017 5:26] MySQL Verification Team
if the pdb file is in the archives or on build host, kindly let me know the location.
[2 Mar 2017 6:19] MySQL Verification Team
same applies for mysqlrouter......
[6 Mar 2017 10:10] MySQL Verification Team
Hello Shane,

Thank you for the report and feature request!

Thanks,
Umesh