Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Sep 1998 14:17:18 +0200
From:      Christian Perrier <perrier@onera.fr>
To:        freebsd-stable@FreeBSD.ORG
Subject:   rc5des software crash under 2.2.7-RELEASE
Message-ID:  <19980929141718.A26543@kernighan.onera>

next in thread | raw e-mail | index | archive | help

Hello,

I have been advised to send this report to this list, so here it is. My
apologies if the report is not appropriate to the list (which I'm not
subscribed to).

Context : 486-DX2/66 w/ 16Mb RAM, 430Mo IDE (:-( ) HD, NE2000 network card.
FreeBSD 2.2.7-RELEASE scratch install (Express mode, no additional software, no
kernel recompilation...nothing...).

This machine was supposed to be my very first FreeBSD machine (I'm afraid
I'm quite penguinized....).

After an installation w/o any problem, I just wanted to have the machine do
something. Then I grabbed the latest rc5des binary distribution from
http://www.distributed.net, installed it in /usr/local/lib/rc5des (owned by
root).

After configuration, root tried to launch rc5des (I know...that's a Very Bad
Thing To Do) :

maroussia# ./rc5des
rc5des in free(): warning: junk pointer, too high to make sense.
Segmentation fault (core dumped)

OK....Let's ktrace all this :

The last lines of 'kdump' are then :

.../... (lot of stuff deleted)
   200 rc5des   RET   read 1006/0x3ee
   200 rc5des   CALL  read(0x4,0x98000,0x2000)
   200 rc5des   GIO   fd 4 read 0 bytes
       ""
   200 rc5des   RET   read 0
   200 rc5des   CALL  close(0x4)
   200 rc5des   RET   close 0
   200 rc5des   CALL  connect(0x3,0xefbfd9e4,0x10)
   200 rc5des   RET   connect 0
   200 rc5des   CALL  fcntl(0x3,0x4,0x4)
   200 rc5des   RET   fcntl 0
   200 rc5des   CALL  write(0x2,0xefbfddc2,0x6)
   200 rc5des   GIO   fd 2 wrote 6 bytes
       "rc5des"
   200 rc5des   RET   write 6
   200 rc5des   CALL  write(0x2,0x58007,0xb)
   200 rc5des   GIO   fd 2 wrote 11 bytes
       " in free():"
   200 rc5des   RET   write 11/0xb
   200 rc5des   CALL  write(0x2,0x56b05,0xa)
   200 rc5des   GIO   fd 2 wrote 10 bytes
       " warning: "
   200 rc5des   RET   write 10/0xa
   200 rc5des   CALL  write(0x2,0x576c3,0x26)
   200 rc5des   GIO   fd 2 wrote 38 bytes
       "junk pointer, too high to make sense.
       "
   200 rc5des   RET   write 38/0x26
   200 rc5des   PSIG  SIGSEGV SIG_DFL
   200 rc5des   NAMI  "rc5des.core"

I've been told (I have the names if needed...) that all this could help the
stable distribution maintainers..... I hope that's true. If some futher
investigation is required (strange commands, magic incantations, throwing
Jack Daniels all around the PC...), feel free to ask...

-- 
Christian Perrier

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980929141718.A26543>