Bug#397312: this bug: #397312/xchat: segfault on amd64 (japanese po/ja.po)

2006-12-19 Thread Justin Pryzby
Thanks to Masami for his work tracking down this bug. I'm concerned about the patch applied to resolve this bug; the code should not segfault just because of bad datafiles; as long as the API is followed, errors should be detected (indeed, this will help detect invalid datafiles in a nicer way).

Bug#397312: xchat: segfault on amd64

2006-11-07 Thread Masami Ichikawa
tags 397312 patch thanks Hello. I am sorry sent lots of email. I attached patch file. this patch fix this bug. this is simple patch. --- xchat.old/xchat-2.6.8/po/ja.po 2006-10-16 23:53:56.0 +0900 +++ xchat.new/xchat-2.6.8/po/ja.po 2006-11-07 23:47:01.0 +0900 @@ -1082,7

Bug#397312: xchat: segfault on amd64

2006-11-07 Thread Masami Ichikawa
Hello again. in text.c:pevent_make_pntevts() I think line 1145 is cause of core dump. 1141:/* make-te.c sets this 128 flag (DON'T call gettext() flag) */ 1142:if (te[i].num_args & 128) 1143:pntevts_text[i] = strdup (te[i].def); 1144:else 1145:pntevts_text[i] = strdup (_(te[i].def)

Bug#397312: xchat: segfault on amd64

2006-11-07 Thread Masami Ichikawa
on 11/07/06 16:03, Bart Martens wrote: > Hi Masami, > > Can you find which "event text failed to build"? Any easy workaround by > changing some "event text"? in short. in text.c:pevent_make_pntevts(). when i is 104 pevt_build_string() return 1. this is the arguments of pevt_build_string(). pevt_b

Bug#397312: xchat: segfault on amd64

2006-11-06 Thread Bart Martens
Hi Masami, Can you find which "event text failed to build"? Any easy workaround by changing some "event text"? Also, could you please rebuild version 2.6.4-2.1 on unstable and see whether this produces the same problem with that version? Unfortunately I have no access to an amd64. I'm in the da

Bug#397312: xchat: segfault on amd64

2006-11-06 Thread Masami Ichikawa
Hello. on 11/07/06 03:12, Bart Martens wrote: > Do you also have this if you rename ~/.xchat2 to something else and then > start xchat? > I did. I removed ~/.xchat2 and purge xchat, xchat-common packages. then I installed version 2.6.8-0.1. but it still doesn't work. > If the answer to the questi

Bug#397312: xchat: segfault on amd64

2006-11-06 Thread Bart Martens
On Mon, 2006-11-06 at 22:41 +0900, Masami Ichikawa wrote: > Package: xchat > Version: 2.6.8-0.1 > Severity: grave > Justification: renders package unusable > > Hello. > > xchat always core dumped when I start it. > > [EMAIL PROTECTED]:~]% /usr/bin/xchat > XChat CRITICAL *** default event text fa