Re: slrn hangs on X-Face header

Wolfgang Kaufmann <[email protected]>
Newsgroups gmane.network.slrn.user
Organization <http://www.datentyp.org/>
Message-ID <[email protected]>
* Thus spoke Thomas Wiegner <[email protected]>:

Hallo,

> * Wolfgang Kaufmann ([email protected]) wrote [Tue, 070807 13:51]:
> 
> > > Could you try to rename the header line in your spool from X-face:
> > > to X-test: or something similar and see if slrn still has problems.
> 
> > I have tried that - no effect at all - slrn stays hungry.
> 
> Could you provide some more data? Are you running in an UTF-8
> environment? 

I'm sorry about that. Yeah, I'm running slrn within an UTF-8 environment
(uxterm). І'm not sure about what kind of further information would be valuable
here so please tell me exactly what I shall provide.

> Does slrn crash on every post from "Klaus Becker" with that x-face header
> or just with some of them?

As I have said I'm not sure if it's (only) caused by bad X-Face headers.

In the second example I've mentioned it actually seems to be related to the
body of the message.
(http://groups.google.com/group/mozilla.dev.extensions/msg/53b48c42793b2070?dmode=source)

> Could you perhaps try to run slrn in a debugger, hit the "stop"
> button when slrn starts eating memory and provide a backtrace?

Well, I send it a SIGTERM signal instead of pressing a stop button but here it
is:

 | Program received signal SIGTERM, Terminated.
 | 0x00002b42a64bf602 in ?? () from /lib/libc.so.6
 | (gdb) bt
 | #0  0x00002b42a64bf602 in ?? () from /lib/libc.so.6
 | #1  0x00002b42a64c0c93 in malloc () from /lib/libc.so.6
 | #2  0x00002b42a5d539a8 in SLmalloc () from /lib/libslang.so.2
 | #3  0x00002b42a5d1c4f0 in SLmake_nstring () from /lib/libslang.so.2
 | #4  0x000000000042f8c8 in slrn_strnmalloc (s=0x4 <Address 0x4 out of bounds>, 
 |     len=0, do_error=1806626704) at util.c:493
 | #5  0x0000000000433d9a in _slrn_art_wrap_article (a=0xebfc70) at art_misc.c:625
 | #6  0x000000000040c685 in art_winch () at art.c:352
 | #7  0x000000000040c6ec in init_article_window_struct () at art.c:554
 | #8  0x000000000040e8a1 in select_header (h=0xebfdf0, 
 |     kill_refs=<value optimized out>) at art.c:2535
 | #9  0x000000000040e9c2 in select_article (check_mime=0) at art.c:4985
 | #10 0x000000000040f437 in slrn_art_linedn_n (n=1) at art.c:1398
 | #11 0x000000000042c6fd in main (argc=<value optimized out>, 
 |     argv=<value optimized out>) at slrn.c:1745



Thanks,
                          Wolfgang
-- 
    "Maybe this world is another planet's hell."   -- Aldous Huxley

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.