From owner-freebsd-ports Thu Feb 22 9:30: 9 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id ED5FB37B4EC for ; Thu, 22 Feb 2001 09:30:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f1MHU2k21715; Thu, 22 Feb 2001 09:30:02 -0800 (PST) (envelope-from gnats) Date: Thu, 22 Feb 2001 09:30:02 -0800 (PST) Message-Id: <200102221730.f1MHU2k21715@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: schilling@fokus.gmd.de Subject: Re: ports/25286: mkisofs-1.13 core dump. Reply-To: schilling@fokus.gmd.de Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR ports/25286; it has been noted by GNATS. From: schilling@fokus.gmd.de To: roam@orbitel.bg, sec@yoda.fwe.pi.musin.de Cc: FreeBSD-gnats-submit@freebsd.org, dirk@freebsd.org, schilling@fokus.gmd.de Subject: Re: ports/25286: mkisofs-1.13 core dump. Date: Thu, 22 Feb 2001 18:26:54 +0100 (MET) >From roam@ringworld.nanolink.com Thu Feb 22 18:18:40 2001 >On Thu, Feb 22, 2001 at 06:03:35PM +0100, Stefan `Sec` Zehl wrote: >> >> >Number: 25286 >> >Category: ports >> >Synopsis: mkisofs-1.13 core dump. >> >Originator: Stefan `Sec` Zehl >> >Release: FreeBSD 4.2-STABLE i386 >> >> mkisofs-1.13 built on an FreeBSD-4.2 system from the ports >> >> >Description: >> >> mkisofs cores when generating iso's with more than a few bytes. >> >> I traced this down to a segmentation fault in __dtoa. This occures when >> mkisofs tries to ouput the: >> " 2.60% done, estimate finish Thu Feb 22 17:56:16 2001" >> message. >> >> After much debugging, I found out that mkisofs uses a wrong prototype for >> the __dtoa function. After I corrected it, and the two offending calls, >> it now works fine. >> >> Das kommt davon wenn man nicht-oeffentliche Funktionen benutzt >> *seufz* >This sounds like something related to the recent __dtoa() and *printf() >cleanup. It would be best if your patch were applied conditionally, >probably conditional on OSVERSION. Mmm even the recent source does not know what should be the correct way: #ifdef __cplusplus extern "C" double strtod(const char *s00, char **se); extern "C" char *__dtoa(double d, int mode, int ndigits, int *decpt, int *sign, char **rve); #endif Taken from: stdlib/netbsd_strtod.c >Should some recent __FreeBSD_version bump be used (I think the last one >was quite a while ago..), or should we wait for 4.3-RELEASE and use its >new __FreeBSD_version instead? If there is no way to do autoconfiguration for this change, FreeBSD is lost! Jörg EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin js@cs.tu-berlin.de (uni) If you don't have iso-8859-1 schilling@fokus.gmd.de (work) chars I am J"org Schilling URL: http://www.fokus.gmd.de/usr/schilling ftp://ftp.fokus.gmd.de/pub/unix To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message