Hello to everyone.
 
I have installed XFree86 on a mipsel machine.  Compilation and installation occurred without incident.
 
But any application that actually opens a window crashes---always at the same point.
 
The difficulty seems to lie in Quarks.c, part of the X11 lib files.
 
In particular, the code that causes all the tripping is inside the procedure _XrmInternalStringToQuark.  The flow of control encounters the following line:
rehash = REHASHVAL(sig);
 
REHASHVAL is a macro that uses a global static variable called quarkRehash.  This variable is neither set nor initialized.  quarkRehash is used to do a modulus computation within REHASHVAL.  Since its value is never set, the default intialization of 0 is used, and that causes the crash. 
 
I checked the X.org source code and Quarks.c seems to be identical.
 
The only hypothesis that I have now is that something is going is going badly in the procedure code, and that the offending line is one should not be reached early in the game.
 
Since the surrounding code is rather convoluted, I was hoping for a suggestion from anyone who might have seen this before.
 
Many thanks.

Reply via email to