Date: Mon, 1 Sep 1997 03:15:34 -0700 (PDT) From: switzel@uni-goettingen.de To: freebsd-gnats-submit@FreeBSD.ORG Subject: bin/4445: segmentation fault in vfprintf Message-ID: <199709011015.DAA18184@hub.freebsd.org> Resent-Message-ID: <199709011020.DAA18324@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 4445 >Category: bin >Synopsis: segmentation fault in vfprintf >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Sep 1 03:20:01 PDT 1997 >Last-Modified: >Originator: Stefan Witzel >Organization: Universitaet Goettingen >Release: 2.2.2-RELEASE >Environment: FreeBSD thrake.zvw.uni-goettingen.de 2.2.2-RELEASE 2.2.2-RELEASE #0 >Description: Running ipmon -F from Darren Reed's ipfilter V3.2beta3 causes a core dump: 8000 bytes flushed from log buffer [....] pid 191 (ipmon) uid 0: exited on signal 11 (core dumped) Segmentation fault (core dumped) Recompiling ipmon with the -g option and running it under gdb gives 0x8061e3a in vfprintf () when processing line 602 in ipmon.c: fprintf(log, "%d bytes flushed from log buffer", flushed); If I replace line 602 by printf("%d\n", flushed); there is any problem. Some more informations: whatis flushed: type = int print flushed: $1 = 8160 Processor: AMD K5-P133 >How-To-Repeat: >Fix: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709011015.DAA18184>