Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
05125 Misc. Minor Always Jan 26, 2013, 11:30 Jan 28, 2013, 01:51
Tester Firewave View Status Public Platform MESS (Self-compiled)
Assigned To Firewave Resolution Fixed OS Linux
Status [?] Resolved Driver
Version 0.148 Fixed in Version 0.148u1 Build Debug
Fixed in Git Commit Github Pull Request #
Summary MESS-specific 05125: vidbrain: Invalid read of size 4
Description
==18490== Command: /home/notroot/trunk/mess64d vidbrain -cart timeshar -artpath /home/notroot/trunk/artwork -video none -nosound -nothrottle -nodebug -nomouse -window -seconds_to_run 2 -rompath /media/roms/mess;/media/roms/mess_software -hashpath /home/notroot/trunk/hash
...
==18490== Invalid read of size 4
==18490==    at 0x10B282F: uv201_device::screen_update(screen_device&, bitmap_rgb32&, rectangle const&) (uv201.c:513)
==18490==    by 0x1B118D8: delegate_base<unsigned int, screen_device&, bitmap_rgb32&, rectangle const&, _noparam, _noparam>::operator()(screen_device&, bitmap_rgb32&, rectangle const&) const (delegate.h:542)
==18490==    by 0x1B0EDF2: screen_device::update_partial(int) (screen.c:603)
==18490==    by 0x1B52275: video_manager::finish_screen_updates() (video.c:658)
==18490==    by 0x1B50DE7: video_manager::frame_update(bool) (video.c:229)
==18490==    by 0x1B0F7CC: screen_device::vblank_begin() (screen.c:812)
==18490==    by 0x1B0E309: screen_device::device_timer(emu_timer&, unsigned int, int, void*) (screen.c:397)
==18490==    by 0x1B0B9B0: device_t::timer_expired(emu_timer&, unsigned int, int, void*) (device.h:227)
==18490==    by 0x1B0BC7C: device_scheduler::execute_timers() (schedule.c:914)
==18490==    by 0x1B0A3BB: device_scheduler::timeslice() (schedule.c:429)
==18490==    by 0x1AA49B0: running_machine::run(bool) (machine.c:393)
==18490==    by 0x1AA22B3: mame_execute(emu_options&, osd_interface&) (mame.c:190)
==18490==    by 0x19C94F4: cli_frontend::execute(int, char**) (clifront.c:255)
==18490==    by 0x13154D8: main (sdlmain.c:371)
==18490==  Address 0x108ce900 is 16 bytes before a block of size 64 alloc'd
==18490==    at 0x63303F8: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==18490==    by 0x1F162BF: osd_malloc (sdlos_unix.c:87)
==18490==    by 0x1A1AA49: malloc_file_line(unsigned long, char const*, int) (emualloc.c:146)
==18490==    by 0x10B3084: uv201_device* resource_pool::add_object<uv201_device>(uv201_device*) (emualloc.h:114)
==18490==    by 0x10B2F7D: device_t* device_creator<uv201_device>(machine_config const&, char const*, device_t*, unsigned int) (device.h:117)
==18490==    by 0x19E07D3: device_t::add_subdevice(device_t* (*)(machine_config const&, char const*, device_t*, unsigned int), char const*, unsigned int) (device.c:827)
==18490==    by 0x1AAA6A5: machine_config::device_add(device_t*, char const*, device_t* (*)(machine_config const&, char const*, device_t*, unsigned int), unsigned int) (mconfig.c:182)
==18490==    by 0x10ACE53: construct_machine_config_vidbrain(machine_config&, device_t*) (vidbrain.c:576)
==18490==    by 0x1AA9E8A: machine_config::machine_config(game_driver const&, emu_options&) (mconfig.c:68)
==18490==    by 0x1AA2240: mame_execute(emu_options&, osd_interface&) (mame.c:179)
==18490==    by 0x19C94F4: cli_frontend::execute(int, char**) (clifront.c:255)
==18490==    by 0x13154D8: main (sdlmain.c:371)
Steps To Reproduce
Additional Information
Github Commit
Flags
Regression Version
Affected Sets / Systems vidbrain
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
1
User avatar
No.09289
Firewave
Senior Tester
Jan 28, 2013, 01:51
Fixed in r20570