Article View: news.software.readers
Article #51305slrn core dumps on HP-UX 10.20
From: Quentin Fennessy
Date: Tue, 31 Aug 1999 00:00
Date: Tue, 31 Aug 1999 00:00
62 lines
3294 bytes
3294 bytes
(I've posted this to news.software.readers and cc'ed davis@space.mit.edu)
I recently installed slrn 0.9.5.7 in our corporate toolbox.
I have working versions for Linux (RH6), Solaris 2.5.1, SunOS 4 and AIX 4.
I built the same version of slrn on HP-UX 10.20 and did not see
any compilation errors. (I used egcs 1.1.2)
But when I run slrn 0.9.5.7 on HP-UX 10.20 the slrn process dies
and dumps core. This happens as soon as I type <SPC> to change
from the first (newsgroups) screen to the article-listing screen.
I am able to invoke slrn help or manipulate the list of newsgroups
without problem.
slrn dies in slrn_case_strncmp with args of
slrn_case_strncmp("", "Xref: ", 6);
The first string argument is of length 0, but slrn_case_strncmp()
is invoked with n=6. This may be the problem.
This version of slrn was built with
gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)
Here is the session with error messages and gdb output:
Selecting news.announce.newusers ...
Pid 12585 received a SIGSEGV for stack growth failure.
Possible causes: insufficient memory or swap space,
or stack size exceeded maxssiz.
Program received signal SIGSEGV, Segmentation fault.
slrn_case_strncmp (a=0x7b029ffd "", b=0x109d4 "Xref: ", n=6) at
/tool/pandora-src/slrn/slrn-0.9.5.7-hppa10/src/util.c:156
156 cha = UPPER_CASE(b[diff]);
(gdb) bt
#0 slrn_case_strncmp (a=0x7b029ffd "", b=0x109d4 "Xref: ", n=6)
at /tool/pandora-src/slrn/slrn-0.9.5.7-hppa10/src/util.c:156
#1 0x3ccbc in parse_xover_line (buf=0x7b029ffd "", xov=0x7b03a878)
at /tool/pandora-src/slrn/slrn-0.9.5.7-hppa10/src/xover.c:608
#2 0x3ce24 in slrn_read_xover (xov=0x7b03a878)
at /tool/pandora-src/slrn/slrn-0.9.5.7-hppa10/src/xover.c:650
#3 0x1d1c0 in get_headers (min=4280, max=4296, totalp=0x7b03a7c8)
at /tool/pandora-src/slrn/slrn-0.9.5.7-hppa10/src/art.c:5681
#4 0x1fd30 in slrn_select_article_mode (g=0x10b8, all=17, score=0)
at /tool/pandora-src/slrn/slrn-0.9.5.7-hppa10/src/art.c:7560
#5 0x23040 in slrn_group_select_group ()
at /tool/pandora-src/slrn/slrn-0.9.5.7-hppa10/src/group.c:847
#6 0x23f74 in select_group_cmd ()
at /tool/pandora-src/slrn/slrn-0.9.5.7-hppa10/src/group.c:1392
#7 0x389dc in slrn_do_keymap_key (map=0x4001d048)
at /tool/pandora-src/slrn/slrn-0.9.5.7-hppa10/src/slrn.c:1587
#8 0x38c8c in main (argc=1073759304, argv=0x4001c448)
at /tool/pandora-src/slrn/slrn-0.9.5.7-hppa10/src/slrn.c:1692
--
Quentin Fennessy AMD, Austin Texas
Technical Details
Message-ID:
<slrn7so0f2.k6u.quentin@labodega.amd.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <slrn7so0f2.k6u.quentin@labodega.amd.com> Subject: slrn core dumps on HP-UX 10.20 Date: Tue, 31 Aug 1999 00:00:00 +0000 From: quentin@labodega.amd.com (Quentin Fennessy) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 519368098 X-Complaints-To: usenet@amd.com X-Trace: amdint2.amd.com 936116709 3301 163.181.232.162 (31 Aug 1999 16:25:09 GMT) Organization: AMD User-Agent: slrn/0.9.5.7 (UNIX) Reply-To: quentin.fennessy@amd.com NNTP-Posting-Date: 31 Aug 1999 16:25:09 GMT Newsgroups: news.software.readers