Viewing Issue Advanced Details Jump to Notes ] [ View Source: zn.c ]
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
04438 Crash/Freeze Critical (emulator) Always 2011-07-28 02:27 2011-07-29 15:14
Tester Tafoid View Status Public Platform MAME (Self-compiled)
Assigned To smf Resolution Fixed OS Windows XP (32-bit)
Status [?] Resolved   Driver zn.c
Version 0.143u2 Fixed in Version 0.143u3 Build Normal
Summary 04438: All sets in zn.c: Crash after OK
Description All games in driver crashes after OK in normal and debug/symbols builds.
Steps To Reproduce
Additional Information Debug Stack:
-----------------------------------------------------
Exception at EIP=02AFBDD2 (__divdi3+0x0172): ACCESS VIOLATION
While attempting to write memory at 21FEFC10
-----------------------------------------------------
EAX=000068B8 EBX=1FE91FF8 ECX=21FEFC10 EDX=02A3CCE5
ESI=0000001A EDI=026A5268 EBP=21FFFC10 ESP=21FFFC08
-----------------------------------------------------
Stack crawl:
  21FFFC10: 02AFBDD2 (__divdi3+0x0172)
  21FFFC50: 026A52A2 (sound_stream::device_stream_update_stub(device_t*, sound_s
tream*, void*, int**, int**, int)+0x003a)
  21FFFCA0: 026A5BA0 (sound_stream::generate_samples(int)+0x011c)
  21FFFD80: 026A4CDA (sound_stream::update()+0x0430)
  21FFFE20: 02A38159 (spu_device::write_word(unsigned int, unsigned short)+0x00f
9)
  21FFFE60: 02A3D672 (spu_w(address_space*, unsigned int, unsigned short, unsign
ed short)+0x0054)
  21FFFEB0: 0258E7FF (handler_entry_write::write_stub_32(address_space&, unsigne
d int, unsigned int, unsigned int)+0x0123)
  21FFFEE0: 02FFD3BB (delegate_base<void, address_space&, unsigned int, unsigned
 int, unsigned int>::operator()(address_space&, unsigned int, unsigned int, unsi
gned int) const+0x0033)
  21FFFF10: 03009D67 (handler_entry_write::write32(address_space&, unsigned int,
 unsigned int, unsigned int) const+0x0033)
  21FFFF50: 02F8CDDB (address_space_specific<unsigned int, (endianness_t)0, true
>::write_native(unsigned int, unsigned int, unsigned int)+0x00d3)
  21FFFFB0: 02F8C825 (void address_space_specific<unsigned int, (endianness_t)0,
 true>::write_direct<unsigned int, true>(unsigned int, unsigned int, unsigned in
t)+0x0039)
  21FFFFD0: 02F8C58E (address_space_specific<unsigned int, (endianness_t)0, true
>::write_dword(unsigned int, unsigned int, unsigned int)+0x0026)
  21FFFFF0: 022073A8 (psxcpu_device::writeword_masked(unsigned int, unsigned int
, unsigned int)+0x0046)
  220000C0: 0220F447 (psxcpu_device::execute_run()+0x2387)
  220000F0: 02629DEA (device_execute_interface::run_thread_wrapper()+0x0036)
  22000110: 02FFD11B (delegate_base<void, _noparam, _noparam, _noparam, _noparam
>::operator()() const+0x0017)
  22000140: 02919C6A (cothread::cothread_entry()+0x002a)
  1E6FD768: 02AE6374 (crash)
  00FFFFFF: 00FFFFFF (construct_ioport_bubbletr(device_t&, tagged_list<input_por
t_config>&, astring&)+0x071a)
  E8240489: 0161E758 (construct_address_map_srmp7_map(address_map&, device_t con
st&)+0x02e0)
Flags
Regression Version 0.143u2
Affected Sets / Systems All sets in zn.c
Attached Files
 


-  Notes
User avatar (07657)
Fujix (Administrator)
2011-07-28 07:34

They are working for me, maybe 32-bit specific?
User avatar (07659)
hap (Developer)
2011-07-28 16:25

confirmed on 32bit + cothreads enabled
User avatar (07662)
Tafoid (Administrator)
2011-07-29 15:14

Increase of cothread stack size eliminated this.