Package: slrn
Version: 0.9.8.1pl1-26
Severity: important

I've upgraded my sid-based notebook last week and I'm running into problems
caused by the charset fallback patch. I'm regularly using "x" to remove
all non-tagged read articles from the article list and slrn segfaults
every 5-7th time.

One article which can reproduce this all the time is an article from
debian-release about glibc time zone changes. I'm attaching a backtrace:

(gdb) bt
#0  0xb7d0192d in free () from /lib/tls/libc.so.6
#1  0xb7efcb11 in SLfree () from /lib/libslang.so.2
#2  0x08050069 in free_header (h=0x86213a8) at art.c:477
#3  0x08055317 in art_xpunge () at art.c:6881
#4  0x0807a7c2 in main (argc=1, argv=0xbfcd39e4) at slrn.c:1786
(gdb) up
#1  0xb7efcb11 in SLfree () from /lib/libslang.so.2
(gdb) up
#2  0x08050069 in free_header (h=0x86213a8) at art.c:477
477        slrn_free (h->from);
(gdb) print h->from
$1 = 0x8623560 "Aurelien Jarno <[EMAIL PROTECTED]>"
(gdb)

I've read through the patches and the fact that h->from caused the crash made
me wonder, if the change from Bas in 0.9.8.1pl1-25 may be the cause:

|  * Added fallback charset patch from Bas Zoetekouw and documented the new
|    feature in NEWS.Debian. (closes: #403781, #406210)

So I backed out patch 302 and after that I no longer see crashes.

I suppose it's some kind of memory corruption. I don't have prior
experience with the slrn code base and lack the time to dig further
for the cause. Bas, could you have a look? I'd be happy to test patches.

The segfaults are very frequent for my usage pattern (every few minutes)
and quite annoying. I'm running an X-less environment with a plain
fbcon console. (Which could make a difference, I'm not sure)

Cheers,
        Moritz

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=C, [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages slrn depends on:
ii  debconf [debconf-2.0]       1.5.11       Debian configuration management sy
ii  debianutils                 2.17.5       Miscellaneous utilities specific t
ii  libc6                       2.3.6.ds1-10 GNU C Library: Shared libraries
ii  libcanlock2                 2b-4         library for creating and verifying
ii  libgnutls13                 1.4.4-3      the GNU TLS library - runtime libr
ii  libslang2                   2.0.6-4      The S-Lang programming library - r

slrn recommends no packages.

-- debconf information:
  slrn/getdescs_now: false
* shared/mailname: inutil.org
  slrn/manual_getdescs:
* shared/news/server: localhost
  slrn/getdescs: cron job
  slrn/lost_slrnpull:


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to