?

Log in

No account? Create an account
cvs version bug - LogJam [entries|archive|friends|userinfo]
LogJam

[ website | LogJam ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

cvs version bug [Feb. 21st, 2003|12:25 am]
LogJam

logjam

[substitute]
Using debian sid, the cvs version occasionally crashes abruptly, leaving no core file. The only hint of a problem is that this error comes out on stderror a lot as the program is running:

(logjam:1080): GLib-CRITICAL **: file gstrfuncs.c: line 1733 (g_ascii_strcasecmp): assertion `s2 != NULL' failed

The crashes almost always occur on submitting my entry and may not be related to that error at all. Hope this is helpful!
LinkReply

Comments:
[User Picture]From: feebdaed
2003-02-21 10:13 am (UTC)
I had a similar problem. Two rather, one produced that error message repeatedly, the other caused logjam to crash when the post has a mood. It looks like its related to the missing mood-id 50.

I sent evan a patch for this a few days ago, but I don't know if he recived it.

An easy fix is to edit ~/.logjam/servers/LiveJournal.com/conf.xml and take out the line with mood id 50. Logjam overwrites this file on exit so don't do it with logjam running.
(Reply) (Thread)
From: evan
2003-02-21 12:32 pm (UTC)
I did receive it, but I've been a bit swamped. I think the proper solution is to filter that bad mood out when the file loads and when they're retrieved from the server, rather than checking the mood list when it's actually used, but you had the right idea.
The workaround you suggested is good, too.
(Reply) (Parent) (Thread)
[User Picture]From: feebdaed
2003-02-21 02:06 pm (UTC)
Actually I think both are needed. Every function should check for valid input so things like this don't happen.
(Reply) (Parent) (Thread)