fatal.cc File Reference
#include "squid.h"
#include "Debug.h"
#include "fatal.h"
#include "globals.h"
#include "store/Disks.h"
#include "tools.h"
Include dependency graph for fatal.cc:

Go to the source code of this file.

Functions

static void fatal_common (const char *message)
 
void fatal (const char *message)
 
static void fatalvf (const char *fmt, va_list args)
 
void fatalf (const char *fmt,...)
 
void fatal_dump (const char *message)
 

Function Documentation

void fatal ( const char *  message)

Definition at line 28 of file fatal.cc.

Referenced by accessLogInit(), AuthenticateAcl(), Store::Disks::callback(), Log::TcpLogger::canFit(), Ftp::Gateway::checkAuth(), esiChoose::checkValidSource(), clientOpenListenSockets(), ACLSquidErrorData::clone(), ACLIntRange::clone(), ACLASN::clone(), configDoConfigure(), Auth::UserRequest::connLastHeader(), Rock::SwapDir::createError(), DelayIdComposite::delayRead(), diskHandleWrite(), Comm::TcpAcceptor::doAccept(), ESIVariableProcessor::doFunction(), esiBufferRecipient(), ESIVarState::extractChar(), CommonPool::Factory(), fatalvf(), MemStoreRr::finalizeConfig(), Downloader::handleReply(), heap_guessType(), htcpIncomingConnectionOpened(), htcpOpenPorts(), httpHeaderGetEntry(), httpHeaderGetList(), httpHeaderHas(), httpHeaderPutContRange(), httpHeaderPutStr(), icpIncomingConnectionOpened(), icpLogFromICPCode(), icpOpenPorts(), SharedMemory::init(), Dns::Init(), Store::Disks::init(), Fs::Ufs::UFSSwapDir::init(), DiskdIOStrategy::init(), Rock::SwapDir::init(), MimeIcon::load(), logfile_mod_daemon_open(), logfileHandleWrite(), mainHandleCommandLineOption(), esiComment::makeUsable(), esiRemove::makeUsable(), ACL::matchForCache(), ESIParser::NewParser(), Fs::Ufs::UFSSwapDir::openLog(), ACL::operator delete(), ACLIP::operator delete(), Auth::UserRequest::operator delete(), ACL::operator new(), ACLIP::operator new(), Auth::UserRequest::operator new(), SplayConstIterator< V >::operator*(), Security::PeerOptions::parse(), Security::PeerOptions::parseFlags(), Rock::SwapDir::parseSize(), Fs::Ufs::UFSSwapDir::parseSizeL1L2(), peerDigestHandleReply(), ConnStateData::postHttpsAccept(), esiSequence::processOne(), ESIInclude::render(), repl_guessType(), Ftp::Server::replyDataWritingCheckpoint(), ESIContext::send(), setEffectiveUser(), EventLoop::setPrimaryEngine(), snmpOpenPorts(), Http::Stream::socketState(), squidaio_init(), squidaio_poll_queues(), squidaio_queue_request(), squidaio_thread_loop(), ESIInclude::subRequestDone(), tlsAttemptHandshake(), unlinkdInit(), Rock::SwapDir::validateOptions(), StoreEntry::vappendf(), wccp2ConnectionOpen(), wccpConnectionOpen(), and Http::Stream::writeComplete().

static void fatal_common ( const char *  message)
static

Definition at line 17 of file fatal.cc.

References DBG_CRITICAL, debugs, dumpMallocStats(), ForceAlert(), PrintRusage(), and version_string.

Referenced by fatal(), and fatal_dump().

void fatalf ( const char *  fmt,
  ... 
)

Definition at line 68 of file fatal.cc.

References fatalvf().

Referenced by accessLogLogTo(), Ipc::Mem::Segment::checkSupport(), Fs::Ufs::UFSSwapDir::closeTmpSwapLog(), configDoConfigure(), Ipc::Mem::Segment::create(), Security::PeerOptions::createBlankContext(), MimeIcon::created(), Fs::Ufs::UFSSwapDir::createDirectory(), createRemovalPolicy(), Security::ServerOptions::createSigningContexts(), ConfigParser::destruct(), Comm::TcpAcceptor::doAccept(), EvalBoolExpr(), Rock::Rebuild::failure(), fd_open(), fdAdjustReserved(), Auth::SchemeConfig::GetParsed(), helperServerFree(), helperStatefulServerFree(), DiskdIOStrategy::init(), Ssl::InitClientContext(), Ssl::Initialize(), Security::ServerOptions::initServerContexts(), Rock::SwapDir::ioCompletedNotification(), leave_suid(), logfile_mod_daemon_flush(), logfile_mod_stdio_open(), logfile_mod_stdio_rotate(), logfile_mod_udp_open(), logfileOpen(), logfileWriteWrapper(), mainHandleCommandLineOption(), mainSetCwd(), CommIO::NotifyIOCompleted(), Ipc::Mem::Segment::open(), Log::TcpLogger::Open(), OpenedHttpSocket(), Fs::Ufs::UFSSwapDir::openTmpSwapLog(), ACLHierCodeData::parse(), Security::PeerOptions::parse(), Format::Token::parse(), Notes::parse(), parse_peer(), parse_wccp2_service_flags(), parse_wccp2_service_info(), parse_wccp2_service_ports(), ACL::ParseAclLine(), Ssl::ParseErrorString(), Security::PeerOptions::parseFlags(), Notes::parseKvPair(), parseManyConfigFiles(), parseOneConfigFile(), Security::PeerOptions::parseOptions(), parsePortProtocol(), Adaptation::Config::parseService(), helper::prepSubmit(), requirePathnameExists(), Comm::SelectLoopInit(), snmpPortOpened(), storeCleanup(), Ipc::Strand::timedout(), Notes::validateKey(), watch_child(), wccp2AssignBuckets(), wccp2HandleUdp(), wccp2HereIam(), and wccp2Init().

static void fatalvf ( const char *  fmt,
va_list  args 
)
static

Definition at line 59 of file fatal.cc.

References BUFSIZ, and fatal().

Referenced by fatalf().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors