We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 773 - Crash in sdl_dx5events.c:163 in DX5_DInputInit()
Summary: Crash in sdl_dx5events.c:163 in DX5_DInputInit()
Status: RESOLVED INVALID
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: 1.2.13
Hardware: x86 Other
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-21 08:03 UTC by Albert Zeyer
Modified: 2009-09-12 20:41 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Albert Zeyer 2009-07-21 08:03:04 UTC
Hi,

We got this crash report:

sdl_dx5events.c  	163  	DX5_DInputInit(void)
sdl_dx5events.c 	891 	DX5_CreateWindow(void)
sdl_dx5video.c 	914 	DX5_VideoInit(struct SDL_PixelFormat * vformat = <Memory access error>)
sdl_video.c 	240 	SDL_VideoInit(char * driver_name = 0x00fa5b50 "directx", unsigned int flags = 0)
sdl.c 	71 	SDL_InitSubSystem(unsigned int flags = 0x5944c5)
sdl.c 	162 	SDL_Init(unsigned int flags = 0x5944c5)

Full crash report:
http://humus.kvalitne.cz/olx_reports/report35/report35.html

I guess this is some bug in SDL. Perhaps some error-check is missing there or something.
Comment 1 Ryan C. Gordon 2009-09-12 20:41:12 UTC
It looks like it's crashing in in DINPUT.DLL, somewhere under DirectInputCreateA(). This is usually flakey drivers.

There's probably nothing that will fix this, short of a system reinstall or using SDL's windib target instead of DirectX.

--ryan.