--- Ethan Blanton wrote: > Nadim Shaikli spake unto us the following wisdom: > > Ideally it would be wonderful to simply run fvwm and this code > > under a debugger and single step around for a better feel for > > what is causing it to go into the weeds. > > How about running your debugger/fvwm in a screen session? You can > then connect to that screen session once X is started up and work > from there, and if it bombs out you can restart X and connect to > the crashed session for some post-mortem analysis.
**AND** --- Mikhael Goikhman wrote: > If you don't want your windows to go down, just verify that X does > not go down. This may be achieved if you start fvwm in the background > using "&" and xterm in the foreground in ~/.xinitrc, so that you may > recompile and launch another fvwm from this (or another) xterm. With both suggestions in-hand, I tried to run a debugger on fvwm while running it (I've never done such a thing) and needless to say it was a major pain with lots of freezing and rebooting, etc. In short, I didn't get anywhere. I do have a possible idea of what is happening. Mikhael/Olivier, this might make sense to you guys more than others :-) so let me know if you want further detail off the list. I added a continuous assignment to a Form-B glyph right above the first '#if 0' in the FBidiJoin.c file (say to 0xFED3) and that failed. Which leads me to believe that unicode conversion within fvwm is failing (this would also explain why the same code doesn't fail outside fvwm). Does this make sense or ring any bells ? In other words, a glyph value of 0x0641 is fine where as 0xFED3 seems to trigger memory stomping - the difference there is how UTF-8 is represnted and converted (are all UTF-8's within fvwm represented as 4-bytes since that could be the max size ? The difference in the example noted above it 2-bytes vs. 3-bytes). Am I barking up the wrong tree :-) ? BTW: for those not familiar with UTF-8, here's a bit of light reading. http://www.joconner.com/javai18n/articles/UTF8.html Thanks - Nadim (do please CC replies for faster responses) __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- Visit the official FVWM web page at <URL:http://www.fvwm.org/>. To unsubscribe from the list, send "unsubscribe fvwm-workers" in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]