Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Feb 2001 09:30:02 -0800 (PST)
From:      schilling@fokus.gmd.de
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/25286: mkisofs-1.13 core dump.
Message-ID:  <200102221730.f1MHU2k21715@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.
 >> 
 >> <de>Das kommt davon wenn man nicht-oeffentliche Funktionen benutzt
 >>     *seufz*</de>
 
 >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




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