Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xorg-server crash #1

Closed
mmonaco opened this issue Mar 31, 2012 · 3 comments
Closed

xorg-server crash #1

mmonaco opened this issue Mar 31, 2012 · 3 comments

Comments

@mmonaco
Copy link

mmonaco commented Mar 31, 2012

Hey David,

I just give this a spin and it immediately crashes my xorg-server when the wiimote is connected. I see the wiimote input class handled 3 times in the log (for each event) and then the whole thing comes down. I don't have debugging symbols right now in my xorg-server, but I'll recompile if this remains a mystery. I have xorg-server 1.12.0

EDIT: Not crashing, just exiting...

EDIT2: symbol lookup error in xwiimote_drv.so: xstrcasecmp, hmm....

@mmonaco
Copy link
Author

mmonaco commented Mar 31, 2012

I fixed this with "#undef strcasecmp" just after the headers. Apparently one of the x headers is renaming this to xstrcasecmp, I dont' know what the point is...

@dvdhrm
Copy link
Collaborator

dvdhrm commented Mar 31, 2012

That is weird. Could you check /usr/include/xorg/xorg-server.h for the HAVE_STRCASECMP line? It should be 1 right? I have pushed a fix moving the xorg-server.h include to the top. Does that fix your issues?

The xserver installs its config.h header as xorg-server.h system-wide, which is really ugly to deal with. If this doesn't fix your issue, try adding "#define HAVE_STRCASECMP 1" to the top of the file.

Thanks
David

@mmonaco
Copy link
Author

mmonaco commented Mar 31, 2012

Moving the header to the top does the trick (xserver 1.12.1 RC1)

@mmonaco mmonaco closed this as completed Mar 31, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants