Bert Wesarg wrote:
> Hello,
>
> Joerg Fischer wrote:
>
>>Hi,
>>
>>I updated my system recently to SUSE 10.2 that comes with openmotif
>>2.3.0 beta2. Since I'm too lazy to build from sources, I checked the
>>2.3.0 release notes, and it seemed that beta2 is identical with the
>>final release.
>>
>>Unfortunately, a middle click on a tab (on the tab bar) lets nedit
>>segfault. I'm certain this didn't happen with 2.2.3. Could someone
>>please check this. The snapshot I have isn't too old:
>
> Definitive a confirmation from me and I encounter this some times ago too,
> but didn't check it:
It has something to do with UTF-8 conversion in lib/Xm/ResEncod.c
processCharsetAndTextUtf8() in line 2527. Convert() appears to be
returning NULL and strlen(text) then SIGSEGVs.
/* Now copy in the text */
if (ctlen > 0) {
char *text = Convert(ctext, ctlen, "UTF-8", tag);
*outc = ctextConcat(*outc, *outlen, text, strlen(text));
*outlen += ctlen;
XtFree(text);
};
There is an error message which may or may not get shown by XmeWarning()
Could not open converter from 'BOLD' to 'UTF-8'
The style of the text in the tab is BOLD. This seems unlikely to be a
coincidence.
--
There's no point in being grown up if you can't be childish sometimes.
-- Dr. Who
--
NEdit Develop mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/develop