[<<] [<] Page 1 of 1 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Bugfix: Segmentation fault in exception handler
From: Herbert Straub ####@####.#### Date: 27 Apr 2003 20:48:56 -0000 Message-Id: <3EAC3D2E.6010701@aon.at> In error sitations (example non reachable nntp server in newscache.conf) an uninitialized sockerr variable (err) in the socket++ library can lead to a segmentation fault, because the exception handler calls the sockerr method errstr () and here a invalid address will accessed (example sys_errlist[1073890052]). This error was intruduced with the "named socket" extension in the socket++ library. The symptoms: o) updatenews $ > updatenews Segmentation fault o) newscache in the news.err file: Apr 27 21:41:09 kottan NewsCache[5119]: 5121 caught signal 11 after the installation of socket++-1.12.10 Apr 27 21:52:56 kottan NewsCache[5192]: sstream::connectTo can't connect to schrammel.test nntp sockerr code: 113 sockerr operation: sockbuf::connect(upstream server socket) sockerrtext: No route to host I think this problem is in relation with the error on FreeBSD reported by Tilman (http://www.linuxhacker.org/cgi-bin/ezmlm-cgi?9:mss:34:200304:lmnkojojammfahkganad) I recommend an upgrade of the socket++ library to socket++-1.12.10, which is available on my homepage: http://members.aon.at/hstraub/socket++/ TAR: 1636c25b9192bf92c3b0dcb69c907f2a socket++-1.12.10.tar.gz RPM RedHat 8.0: c138285b8413c21c425e7b99e9239d10 socket++-1.12.10-1.i386.rpm e1d57d0e6bc79a06872d3ea37a5e4019 socket++-1.12.10-1.src.rpm Debian (sid): a9c3c1cc8f56b81f5cb79e8870fefbc2 socket++-dev_1.12.10-1_i386.deb a9c3c1cc8f56b81f5cb79e8870fefbc2 socket++-dev_1.12.10-1_i386.deb ba3d3c9a4208668fc0692f3340facd19 socket++_1.12.10.orig.tar.gz e41eccbcb22e26bb52f2e8b73aabc45b socket++_1.12.10-1.diff.gz Installation: 1) get the tar, rpm, deb files 2) Installation 3) Restart newscache Herbert | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: Bugfix: Segmentation fault in exception handler
From: Peter Vereshagin ####@####.#### Date: 28 Apr 2003 05:06:00 -0000 Message-Id: <20030428045204.844201DB2@least.beast> On Mon, 28 Apr 2003 00:15:00 +0200 Carles Arjona ####@####.#### wrote: CA> The correct URL is http://members.aon.at/hstraub/linux/socket++/ Thanks Carles. And, Herbert! the bookmark for SRPM file is incorrect too. For some strangeness it appeared in the binary RPMS directory... | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: Bugfix: Segmentation fault in exception handler
From: Herbert Straub ####@####.#### Date: 29 Apr 2003 05:49:13 -0000 Message-Id: <3EAE0D4B.3080702@aon.at> Carles Arjona wrote: >Herbert, I guess that your bookmarks have some bug that should also be >fixed ;-) This time you forgot "linux". > Carles, bookmarks(!) i should use such a technology... :-) Herbert | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 1 [>] [>>] |