fatal.cc File Reference
#include "squid.h"
#include "debug/Stream.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

◆ fatal()

void fatal ( const char *  message)

Definition at line 28 of file fatal.cc.

References fatal_common(), leave_suid(), releaseServerSockets(), shutting_down, and storeDirWriteCleanLogs().

Referenced by AuthenticateAcl(), Store::Disks::callback(), Log::TcpLogger::canFit(), Ftp::Gateway::checkAuth(), esiChoose::checkValidSource(), clientOpenListenSockets(), 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(), icpIncomingConnectionOpened(), icpLogFromICPCode(), icpOpenPorts(), DiskdIOStrategy::init(), Rock::SwapDir::init(), Fs::Ufs::UFSSwapDir::init(), Store::Disks::init(), SharedMemory::init(), Dns::Init(), MimeIcon::load(), logfile_mod_daemon_open(), logfileHandleWrite(), mainHandleCommandLineOption(), esiComment::makeUsable(), esiRemove::makeUsable(), ACL::matchForCache(), Fs::Ufs::UFSSwapDir::openLog(), ACL::operator delete(), ACLIP::operator delete(), Auth::UserRequest::operator delete(), Auth::UserRequest::operator new(), ACL::operator new(), ACLIP::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(), setEffectiveUser(), EventLoop::setPrimaryEngine(), snmpOpenPorts(), Http::Stream::socketState(), squidaio_init(), squidaio_poll_queues(), squidaio_queue_request(), squidaio_thread_loop(), ESIInclude::subRequestDone(), unlinkdInit(), Rock::SwapDir::validateOptions(), StoreEntry::vappendf(), wccp2ConnectionOpen(), wccpConnectionOpen(), and Http::Stream::writeComplete().

◆ fatal_common()

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().

◆ fatal_dump()

◆ fatalf()

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(), Debug::ConfigureSyslog(), Ipc::Mem::Segment::create(), Security::PeerOptions::createBlankContext(), Fs::Ufs::UFSSwapDir::createDirectory(), createRemovalPolicy(), Security::ServerOptions::createSigningContexts(), ConfigParser::destruct(), Comm::TcpAcceptor::doAccept(), EvalBoolExpr(), Rock::Rebuild::failure(), fdAdjustReserved(), Auth::SchemeConfig::GetParsed(), Helper::Client::handleFewerServers(), DiskdIOStrategy::init(), Ssl::InitClientContext(), Ssl::Initialize(), Security::ServerOptions::initServerContexts(), Rock::SwapDir::ioCompletedNotification(), leave_suid(), MimeIcon::load(), logfile_mod_daemon_flush(), logfile_mod_stdio_open(), logfile_mod_stdio_rotate(), logfile_mod_udp_open(), logfileWriteWrapper(), mainHandleCommandLineOption(), mainSetCwd(), ESIParser::NewParser(), CommIO::NotifyIOCompleted(), Ipc::Mem::Segment::open(), Log::TcpLogger::Open(), OpenedHttpSocket(), Fs::Ufs::UFSSwapDir::openTmpSwapLog(), ACLHierCodeData::parse(), Notes::parse(), Security::PeerOptions::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::Client::prepSubmit(), requirePathnameExists(), Comm::SelectLoopInit(), snmpPortOpened(), storeCleanup(), Ipc::Strand::timedout(), watch_child(), wccp2AssignBuckets(), wccp2HandleUdp(), wccp2HereIam(), and wccp2Init().

◆ fatalvf()

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