WooHoo! I've narrowed down the BUG!
Looking closely at the changes checked in for
11703 the changes made in
XBMC/guilib/GraphicContext.cpp looked most suspect to me - line 26 references Xrandr which appears to have somethign to do with the crash since it occurs during resolution change. I'm NOT sure what's knocking it over but the deleted lines 584-585 and maybe 563 which seem to deal with resolutions could be it? Dunno', am not up to speed on the code or C really.
So anyway since this looked suspicious to me and I had a backup of 11702 that works for me. So I took the GraphicContext.cpp file from 11702, copied it to the test directory after an SVN up overwriting the existing file, compiled with build.sh NOUPDATE, crossed my fingers, got a GOOD build, and it RUNS!
I'm tempted to poke at it more but I don't know the developers intentions with the deletions and additions although it appears to be OSX based additions. Would a Dev please take a look at the changes introduced in this file for 11703 to try and track this down? If I poke at it deleting code and adding code I might munge it enough to work but I don't think that's exactly the best way to go
Thanks!!!
Edit: Okay, lines 584 and 585 are removed, 584 is moved to 552. 585 says
m_Resolution = res; which is defining m_Resolution. One branch of the following IF statements does a compare against m_Resolution but because of 585 not being moved I do not see that variable being defined anywhere. I might try moving that second line up there too to see if that fixes it. I'd appreciate a second set of more skilled eyes though please. Core dump - oh well it was worth a shot