- --
Viewing Issue Advanced Details
[ Jump to Notes ]
ID | Category [?] | Severity [?] | Reproducibility | Date Submitted | Last Update |
---|---|---|---|---|---|
06146 | Crash/Freeze | Critical (emulator) | Random | Mar 3, 2016, 14:18 | Apr 24, 2016, 17:25 |
Tester | Darkfalz | View Status | Public | Platform | MAME (Official Binary) |
Assigned To | Resolution | Won't fix | OS | Windows Vista/7/8 (64-bit) | |
Status [?] | Closed | Driver | |||
Version | 0.170 | Fixed in Version | Build | 64-bit | |
Fixed in Git Commit | Github Pull Request # | ||||
Summary | 06146: cps3 stv: Random CTD since 0.170 | ||||
Description |
It happens on multiple drivers, I have included two that is confirmed. It can run for long periods fine and then randomly crash, or it will crash within a few minutes. This only happens in last two versions. I don't believe I experienced it with 0.169 or earlier. |
||||
Steps To Reproduce |
Running a game. I am using hlsl with basic settings. You get a looping sound freeze and then exit - sometimes the Windows error dialog box comes on, sometimes does not. Happens on both my laptop and main PCs, both Ivy Bridge. |
||||
Additional Information |
Problem signature: Problem Event Name: APPCRASH Application Name: mame64.exe Application Version: 0.171.0.0 Application Timestamp: 00000000 Fault Module Name: mame64.exe Fault Module Version: 0.171.0.0 Fault Module Timestamp: 00000000 Exception Code: c0000094 Exception Offset: 00000000020e3b3f OS Version: 6.1.7601.2.1.0.256.48 Locale ID: 3081 Additional Information 1: aac5 Additional Information 2: aac5c21d1e6de803cff778e16cc02624 Additional Information 3: 2c46 Additional Information 4: 2c46fbf8554c8af73ceb687a6dafdb75 Read our privacy statement online: http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409 If the online privacy statement is not available, please read our privacy statement offline: C:\Windows\system32\en-US\erofflps.txt ----------------------------------------------------- Exception at EIP=00000000024E3B3F (device_t::clocks_to_attotime(unsigned long lo ng) const+0x001f): INTEGER DIVIDE BY ZERO ----------------------------------------------------- RAX=00000000FFFFFFFE RBX=000000000E2F2410 RCX=000000000C8CF6F0 RDX=00000000FFFFF FFF RSI=000000000C8CF790 RDI=00000000125087A0 RBP=000000000C8CF6C0 RSP=000000000C8CF 6C0 R8=FFFFFFFFFFFFFFFE R9=0000000000AC4400 R10=000000000E2F2230 R11=0000000006E7F A9B R12=0000000000000001 R13=000000000CF201C0 R14=000000000842F950 R15=0000000000000 000 ----------------------------------------------------- Stack crawl: 000000000C8CF6C0: 00000000024E3B3F (device_t::clocks_to_attotime(unsigned long long) const+0x001f) 000000000C8CF710: 00000000024E7A98 (device_execute_interface::local_time() con st+0x0078) 000000000C8CF750: 00000000025D5D9D (device_scheduler::time() const+0x003d) 000000000C8CF850: 00000000015684F8 (shaders::post_pass(d3d_render_target*, int , poly_info*, int, bool)+0x0328) 000000000C8CF900: 0000000001569171 (shaders::render_quad(poly_info*, int)+0x05 01) 000000000C8CF970: 0000000001553DD8 (renderer_d3d9::primitive_flush_pending()+0 x00c8) 000000000C8CF9D0: 00000000015594F5 (renderer_d3d9::draw(int)+0x00b5) 000000000C8CFA30: 000000000152DAE7 (win_window_info::draw_video_contents(HDC__ *, int)+0x0057) 000000000C8CFB20: 00000000015317FE (win_window_info::video_window_proc(HWND__* , unsigned int, unsigned long long, long long)+0x059e) 000000000C8CFB50: 000000000153200D (winwindow_video_window_proc_ui(HWND__*, un signed int, unsigned long long, long long)+0x000d) 000000000C8CFC10: 0000000076D59C11 (TranslateMessageEx+0x029d) 000000000C8CFC60: 0000000076D53BD4 (CallWindowProcW+0x009c) 000000000C8CFCA0: 0000000076D53B50 (CallWindowProcW+0x0018) 000000000C8CFD10: 000007FEE99435D3 (Direct3DShaderValidatorCreate9+0x58f7) 000000000C8CFDD0: 0000000076D59C11 (TranslateMessageEx+0x029d) 000000000C8CFE60: 0000000076D5992A (TranslateMessage+0x01ea) 000000000C8CFEF0: 0000000001530563 (win_window_info::thread_entry(void*)+0x00f 3) 000000000C8CFF20: 000007FEFE7E415F (srand+0x0093) 000000000C8CFF50: 000007FEFE7E6EBD (ftime64_s+0x01dd) 000000000C8CFF80: 0000000076C359ED (BaseThreadInitThunk+0x000d) 000000000C8CFFD0: 0000000076E6B371 (RtlUserThreadStart+0x0021) |
||||
Github Commit | |||||
Flags | |||||
Regression Version | |||||
Affected Sets / Systems | cps3 stv | ||||
Attached Files
|
mame.ini (9,648 bytes) Mar 4, 2016, 16:11 Uploaded by Darkfalz [Show Content] [Hide Content]# # CORE CONFIGURATION OPTIONS # readconfig 1 writeconfig 0 # # CORE SEARCH PATH OPTIONS # rompath roms;f:\roms\mame;f:\roms\chdv4;f:\roms\chdv5 hashpath hash samplepath samples artpath artwork ctrlrpath ctrlr inipath .;ini fontpath . cheatpath .;cheat crosshairpath crosshair pluginspath plugins languagepath language # # CORE OUTPUT DIRECTORY OPTIONS # cfg_directory cfg nvram_directory nvram input_directory inp state_directory sta snapshot_directory snap diff_directory diff comment_directory comments # # CORE STATE/PLAYBACK OPTIONS # state autosave 0 playback record record_timecode 0 exit_after_playback 0 mngwrite aviwrite wavwrite snapname %g/%i snapsize auto snapview internal snapbilinear 1 statename %g burnin 0 # # CORE PERFORMANCE OPTIONS # autoframeskip 0 frameskip 0 seconds_to_run 0 throttle 1 sleep 1 speed 1.0 refreshspeed 0 # # CORE ROTATION OPTIONS # rotate 1 ror 0 rol 0 autoror 0 autorol 0 flipx 0 flipy 0 # # CORE ARTWORK OPTIONS # artwork_crop 0 use_backdrops 1 use_overlays 1 use_bezels 0 use_cpanels 1 use_marquees 1 # # CORE SCREEN OPTIONS # brightness 1.0 contrast 1.0 gamma 1.0 pause_brightness 1.0 effect none # # CORE VECTOR OPTIONS # antialias 1 beam_width_min 1.0 beam_width_max 1.0 beam_intensity_weight 0 flicker 0 # # CORE SOUND OPTIONS # samplerate 48000 samples 1 volume 0 # # CORE INPUT OPTIONS # coin_lockout 1 ctrlr mouse 0 joystick 1 lightgun 0 multikeyboard 0 multimouse 0 steadykey 0 ui_active 0 offscreen_reload 0 joystick_map auto joystick_deadzone 0.3 joystick_saturation 0.85 natural 0 joystick_contradictory 0 coin_impulse 0 # # CORE INPUT AUTOMATIC ENABLE OPTIONS # paddle_device mouse adstick_device keyboard pedal_device keyboard dial_device mouse trackball_device mouse lightgun_device mouse positional_device mouse mouse_device mouse # # CORE DEBUGGING OPTIONS # verbose 0 log 0 oslog 0 debug 0 update_in_pause 0 debugscript # # CORE COMM OPTIONS # comm_localhost 0.0.0.0 comm_localport 15112 comm_remotehost 127.0.0.1 comm_remoteport 15112 # # CORE MISC OPTIONS # drc 1 drc_use_c 0 drc_log_uml 0 drc_log_native 0 bios default cheat 1 skip_gameinfo 0 uifont default ui cabinet ramsize confirm_quit 1 ui_mouse 0 autoboot_command autoboot_delay 2 autoboot_script console 0 language English # # OSD KEYBOARD MAPPING OPTIONS # uimodekey SCRLOCK # # OSD FONT OPTIONS # uifontprovider auto # # OSD DEBUGGING OPTIONS # debugger auto debugger_font "Lucida Console" debugger_font_size 9 watchdog 0 # # OSD PERFORMANCE OPTIONS # multithreading 1 numprocessors auto bench 0 # # OSD VIDEO OPTIONS # video d3d numscreens 1 window 0 maximize 1 keepaspect 1 unevenstretch 1 waitvsync 1 syncrefresh 0 # # OSD PER-WINDOW VIDEO OPTIONS # screen auto aspect auto resolution auto view auto screen0 auto aspect0 auto resolution0 auto view0 auto screen1 auto aspect1 auto resolution1 auto view1 auto screen2 auto aspect2 auto resolution2 auto view2 auto screen3 auto aspect3 auto resolution3 auto view3 auto # # OSD FULL SCREEN OPTIONS # switchres 0 # # OSD ACCELERATED VIDEO OPTIONS # filter 1 prescale 1 # # OpenGL-SPECIFIC OPTIONS # gl_forcepow2texture 0 gl_notexturerect 0 gl_vbo 1 gl_pbo 1 gl_glsl 0 gl_glsl_filter 1 glsl_shader_mame0 none glsl_shader_mame1 none glsl_shader_mame2 none glsl_shader_mame3 none glsl_shader_mame4 none glsl_shader_mame5 none glsl_shader_mame6 none glsl_shader_mame7 none glsl_shader_mame8 none glsl_shader_mame9 none glsl_shader_screen0 none glsl_shader_screen1 none glsl_shader_screen2 none glsl_shader_screen3 none glsl_shader_screen4 none glsl_shader_screen5 none glsl_shader_screen6 none glsl_shader_screen7 none glsl_shader_screen8 none glsl_shader_screen9 none # # OSD SOUND OPTIONS # sound auto audio_latency 2 # # WINDOWS PERFORMANCE OPTIONS # priority 0 profile 0 # # WINDOWS VIDEO OPTIONS # menu 0 # # DIRECTDRAW-SPECIFIC OPTIONS # hwstretch 1 # # DIRECT3D POST-PROCESSING OPTIONS # hlsl_enable 1 hlslpath hlsl hlsl_prescale_x 3 hlsl_prescale_y 3 hlsl_write hlsl_snap_width 2048 hlsl_snap_height 1536 shadow_mask_tile_mode 0 shadow_mask_alpha 0.15 shadow_mask_texture shadow-mask.png shadow_mask_x_count 6 shadow_mask_y_count 4 shadow_mask_usize 0.1875 shadow_mask_vsize 0.25 shadow_mask_uoffset 0.0 shadow_mask_voffset 0.0 curvature 0.0 round_corner 0.0 smooth_border 0.0 reflection 0.0 vignetting 0.0 scanline_alpha 0.50 scanline_size 1.0 scanline_height 1.0 scanline_bright_scale 1.0 scanline_bright_offset 0.0 scanline_jitter 0.0 hum_bar_alpha 0.0 defocus 2.0,1.0 converge_x 0.0,0.0,0.0 converge_y 0.0,0.0,0.0 radial_converge_x 0.0,0.0,0.0 radial_converge_y 0.0,0.0,0.0 red_ratio 1.0,0.0,0.0 grn_ratio 0.0,1.0,0.0 blu_ratio 0.0,0.0,1.0 saturation 1.3 offset 0.0,0.0,0.0 scale 1.0,1.0,1.0 power 1.0,1.0,1.0 floor 0.0,0.0,0.0 phosphor_life 0.5,0.5,0.5 # # NTSC POST-PROCESSING OPTIONS # yiq_enable 0 yiq_jitter 0.0 yiq_cc 3.59754545 yiq_a 0.5 yiq_b 0.5 yiq_o 1.570796325 yiq_p 1.0 yiq_n 1.0 yiq_y 6.0 yiq_i 1.2 yiq_q 0.6 yiq_scan_time 52.6 yiq_phase_count 2 # # VECTOR POST-PROCESSING OPTIONS # vector_length_scale 0.5 vector_length_ratio 500.0 # # BLOOM POST-PROCESSING OPTIONS # bloom_blend_mode 0 bloom_scale 0.0 bloom_overdrive 1.0,1.0,1.0 bloom_lvl0_weight 1.0 bloom_lvl1_weight 0.64 bloom_lvl2_weight 0.32 bloom_lvl3_weight 0.16 bloom_lvl4_weight 0.08 bloom_lvl5_weight 0.04 bloom_lvl6_weight 0.04 bloom_lvl7_weight 0.02 bloom_lvl8_weight 0.02 bloom_lvl9_weight 0.01 bloom_lvl10_weight 0.01 # # FULL SCREEN OPTIONS # triplebuffer 0 full_screen_brightness 1.0 full_screen_contrast 1.0 full_screen_gamma 1.0 # # INPUT DEVICE OPTIONS # global_inputs 0 dual_lightgun 0 | ||||
Relationships
|
Notes
16
No.12415
Darkfalz Tester
Mar 3, 2016, 14:42
|
I have tried a few runs with hlsl disabled and so far no crashes. I will update if otherwise. |
---|---|
No.12416
B2K24 Senior Tester
Mar 3, 2016, 15:44
|
What's the GPU's of your main rigs and what drivers are installed for them? Also, please attach your mame.ini so we can see with what settings you're running with. |
No.12417
Haze Senior Tester
Mar 3, 2016, 17:34
edited on: Mar 3, 2016, 17:34 |
sure this isn't a heat problem on your PC? the report / backtrace looks very strange and unexpected, not something I'd expect to just randomly happen. |
No.12418
NekoEd Senior Tester
Mar 3, 2016, 17:44
|
Changed version to 0.170 to mesh with report body. |
No.12420
Darkfalz Tester
Mar 4, 2016, 06:17
edited on: Mar 4, 2016, 06:21 |
Intel HD4000 (or 740M) on Laptop, same crash. 980 on main PC. GPU usage is in single digits so it's not overheating. I confirmed this is a hlsl issue for me - I also tried with a fresh, default MAME install and same random crash when hlsl is enabled. There's a thread on emuchat with same crash described. Not an NVIDIA issue as happens with Intel too. |
No.12421
B2K24 Senior Tester
Mar 4, 2016, 08:15
|
I played 3rd Strike for over 30 minutes and didn't encounter any problems here. Are you running with cheats enabled? Can you attach or link your mame.ini? |
No.12423
Darkfalz Tester
Mar 4, 2016, 16:12
|
It's random, I can play for an hour and then it will crash, or it can crash in attract mode after a minute or two. I have cheats enabled but they don't need to be any activated. Try Final Fight revenge and just leave it running in attract mode. It crashes most of the time for me. I uploaded my mame.ini |
No.12424
B2K24 Senior Tester
Mar 4, 2016, 18:21
|
Thanks for providing your mame.ini as this helps to possibly diagnose problems. At first glance I see you have multithreading enabled which could possibly be the cause of this issue. It's been recommended to have that disabled. I'll continue to run some tests with my setup to see if I can trigger the issue and then copy over your mame.ini to see if this reported issue can be reproduced. |
No.12425
B2K24 Senior Tester
Mar 4, 2016, 22:21
|
Confirmed. It's the multithreading that causes the crash. I ran with defaulted mame.ini settings only inserting my HLSL settings and perhaps a couple small other things. Disable the multithreading in mame.ini and you should be good. mame64 ffreveng -mt ----------------------------------------------------- Exception at EIP=00000000024E3B3F (device_t::clocks_to_attotime(unsigned long lo ng) const+0x001f): INTEGER OVERFLOW ----------------------------------------------------- RAX=00000000FFFFFFFE RBX=000000000A50F8C0 RCX=000000000E9DF400 RDX=00000000FFFFF FFF RSI=000000000E9DF4A0 RDI=000000000A492BF0 RBP=000000000E9DF3D0 RSP=000000000E9DF 3D0 R8=FFFFFFFFFFFFFFFE R9=0000000000AC4400 R10=000000000A50F6E0 R11=0000000006E7F A9B R12=0000000000000001 R13=000000000F2E2160 R14=000000000A4BCCA0 R15=0000000000000 000 ----------------------------------------------------- Stack crawl: 000000000E9DF3D0: 00000000024E3B3F (device_t::clocks_to_attotime(unsigned long long) const+0x001f) 000000000E9DF420: 00000000024E7A98 (device_execute_interface::local_time() con st+0x0078) 000000000E9DF460: 00000000025D5D9D (device_scheduler::time() const+0x003d) 000000000E9DF560: 00000000015684F8 (shaders::post_pass(d3d_render_target*, int , poly_info*, int, bool)+0x0328) 000000000E9DF610: 0000000001569171 (shaders::render_quad(poly_info*, int)+0x05 01) 000000000E9DF680: 0000000001553DD8 (renderer_d3d9::primitive_flush_pending()+0 x00c8) 000000000E9DF6E0: 00000000015594F5 (renderer_d3d9::draw(int)+0x00b5) 000000000E9DF740: 000000000152DAE7 (win_window_info::draw_video_contents(HDC__ *, int)+0x0057) 000000000E9DF830: 00000000015317FE (win_window_info::video_window_proc(HWND__* , unsigned int, unsigned long long, long long)+0x059e) 000000000E9DF860: 000000000153200D (winwindow_video_window_proc_ui(HWND__*, un signed int, unsigned long long, long long)+0x000d) 000000000E9DF950: 00007FFAC37C1169 (DispatchMessageW+0x0689) 000000000E9DF9A0: 00007FFAC37C0ABA (CallWindowProcW+0x010a) 000000000E9DFA40: 00007FFAAE04EBE4 (Direct3DCreate9+0x7fb4) 000000000E9DFB30: 00007FFAC37C1169 (DispatchMessageW+0x0689) 000000000E9DFB80: 00007FFAC37C0ABA (CallWindowProcW+0x010a) 000000000E9DFBE0: 00007FFAB7A94AE2 (DllUnregisterServer+0x0bd2) 000000000E9DFC30: 00007FFAB7A94C20 (DllUnregisterServer+0x0d10) 000000000E9DFC90: 00007FFAB7A94AE2 (DllUnregisterServer+0x0bd2) 000000000E9DFCF0: 00007FFAB7A94ECA (DllUnregisterServer+0x0fba) 000000000E9DFDE0: 00007FFAC37C1169 (DispatchMessageW+0x0689) 000000000E9DFE60: 00007FFAC37C0C97 (DispatchMessageW+0x01b7) 000000000E9DFEF0: 0000000001530563 (win_window_info::thread_entry(void*)+0x00f 3) 000000000E9DFF20: 00007FFAC3DDB097 (beginthreadex+0x0137) 000000000E9DFF50: 00007FFAC3DDB16C (endthreadex+0x00ac) 000000000E9DFF80: 00007FFAC3528102 (BaseThreadInitThunk+0x0022) 000000000E9DFFD0: 00007FFAC5ECC5B4 (RtlUserThreadStart+0x0034) J:\MAME> |
No.12426
B2K24 Senior Tester
Mar 4, 2016, 22:25
|
I'm unsure how to mark or clean up this report because it's recommend to run with MT disabled. Someone else help please :) |
No.12431
NekoEd Senior Tester
Mar 5, 2016, 22:09
|
This should be suspended and linked to the catchall bug for multithreading issues. I'll take care of that. |
No.12434
B2K24 Senior Tester
Mar 6, 2016, 09:46
|
Thank you Ed. |
No.12437
Darkfalz Tester
Mar 7, 2016, 05:17
|
Seems to be a combination of both HLSL and multithreading but as I understanding it most of MAME multithreading is putting the video render under a separate thread so I suppose it shouldn't be too surprising. I am 99% sure it was stable as of 0.169 though? I never had these crashes before and have had MT on for the last few years. |
No.12438
NekoEd Senior Tester
Mar 7, 2016, 16:19
|
MAME's multithreading has been getting progressively more and more broken, unfortunately. This is likely just part of the decline. The entirety of the multithreading code seems to need a major revisit/rewrite. |
No.12439
Tafoid Administrator
Mar 7, 2016, 20:38
|
With the eventual progression of BGFX as the primary video driver which I'm told has MT type behavior built into it - -mt will likely be done away with as an option sooner or later. |
No.12554
Tafoid Administrator
Apr 24, 2016, 17:24
|
With MT forcibly removed, this is no longer an issue. Closing. |