[IRCServices Coding] Bug: Socket not connected/Bus error, IRCServices 5.0.20, UnrealIRCd 3.2-Beta17, FreeBSD 5.1

Jeffrey A. Kent jeff.kent at myrealbox.com
Wed Jun 25 11:37:04 PDT 2003


Happened after an upgrade from IRCServices 5.0.19.

I've tried to get the services to dump a core so I could get you a 
backtrace, but even after ./configure -dumpcore and ./ircservices 
-debug, no core file was dropped.  I checked the syslog just to be sure, 
and it didn't even attempt...

So, the ./ircservices -debug log output is all I can provide.  I'd be 
glad to modify/apply a patch to force a dump...

[Jun 25 13:27:10.120686 2003] IRC Services 5.0.20 starting up (options: 
debug)
[Jun 25 13:27:10.121090 2003] debug: Loading language 0 from file 
`languages/en_us'
[Jun 25 13:27:10.165071 2003] debug: Loading language 10 from file 
`languages/nl'
[Jun 25 13:27:10.209443 2003] debug: Loading language 6 from file 
`languages/fr'
[Jun 25 13:27:10.254186 2003] debug: Loading language 9 from file 
`languages/de'
[Jun 25 13:27:10.298960 2003] debug: Loading language 11 from file 
`languages/hu'
[Jun 25 13:27:10.343411 2003] debug: Loading language 8 from file 
`languages/it'
[Jun 25 13:27:10.360265 2003] debug: Loading language 2 from file 
`languages/ja_euc'
[Jun 25 13:27:10.403532 2003] debug: Loading language 3 from file 
`languages/ja_sjis'
[Jun 25 13:27:10.446849 2003] debug: Loading language 5 from file 
`languages/pt'
[Jun 25 13:27:10.471159 2003] debug: Loading language 4 from file 
`languages/es'
[Jun 25 13:27:10.515700 2003] debug: Loading language 7 from file 
`languages/tr'
[Jun 25 13:27:10.559361 2003] debug: Loaded languages
[Jun 25 13:27:10.559531 2003] debug: Loading module `protocol/unreal'
[Jun 25 13:27:10.562006 2003] debug: Successfully loaded module 
`protocol/unreal'
[Jun 25 13:27:10.562200 2003] debug: Loading module `encryption/md5'
[Jun 25 13:27:10.563386 2003] debug: Successfully loaded module 
`encryption/md5'
[Jun 25 13:27:10.563555 2003] debug: Loading module `database/version4'
[Jun 25 13:27:10.565182 2003] debug: Successfully loaded module 
`database/version4'
[Jun 25 13:27:10.565321 2003] debug: Loading module `mail/main'
[Jun 25 13:27:10.565886 2003] debug: Successfully loaded module `mail/main'
[Jun 25 13:27:10.565998 2003] debug: Loading module `mail/smtp'
[Jun 25 13:27:10.566600 2003] debug: Successfully loaded module `mail/smtp'
[Jun 25 13:27:10.566712 2003] debug: Loading module `operserv/main'
[Jun 25 13:27:10.568051 2003] debug: Successfully loaded module 
`operserv/main'
[Jun 25 13:27:10.568191 2003] debug: Loading module `operserv/akill'
[Jun 25 13:27:10.569081 2003] debug: Successfully loaded module 
`operserv/akill'
[Jun 25 13:27:10.569285 2003] debug: Loading module `operserv/news'
[Jun 25 13:27:10.570094 2003] debug: Successfully loaded module 
`operserv/news'
[Jun 25 13:27:10.570217 2003] debug: Loading module `operserv/sessions'
[Jun 25 13:27:10.571125 2003] debug: Successfully loaded module 
`operserv/sessions'
[Jun 25 13:27:10.571247 2003] debug: Loading module `operserv/sline'
[Jun 25 13:27:10.572163 2003] debug: Successfully loaded module 
`operserv/sline'
[Jun 25 13:27:10.572288 2003] debug: Loading module `nickserv/main'
[Jun 25 13:27:10.574355 2003] debug: Successfully loaded module 
`nickserv/main'
[Jun 25 13:27:10.574531 2003] debug: Loading module `nickserv/access'
[Jun 25 13:27:10.575374 2003] debug: Successfully loaded module 
`nickserv/access'
[Jun 25 13:27:10.575521 2003] debug: Loading module `nickserv/autojoin'
[Jun 25 13:27:10.576321 2003] debug: Successfully loaded module 
`nickserv/autojoin'
[Jun 25 13:27:10.576467 2003] debug: Loading module `nickserv/link'
[Jun 25 13:27:10.577361 2003] debug: Successfully loaded module 
`nickserv/link'
[Jun 25 13:27:10.577510 2003] debug: Loading module `nickserv/mail-auth'
[Jun 25 13:27:10.578414 2003] debug: Successfully loaded module 
`nickserv/mail-auth'
[Jun 25 13:27:10.578562 2003] debug: Loading module `chanserv/main'
[Jun 25 13:27:10.580860 2003] debug: Successfully loaded module 
`chanserv/main'
[Jun 25 13:27:10.581009 2003] debug: Loading module `chanserv/access-levels'
[Jun 25 13:27:10.582262 2003] debug: Successfully loaded module 
`chanserv/access-levels'
[Jun 25 13:27:10.582385 2003] debug: Loading module `memoserv/main'
[Jun 25 13:27:10.583605 2003] debug: Successfully loaded module 
`memoserv/main'
[Jun 25 13:27:10.583733 2003] debug: Loading module `memoserv/forward'
[Jun 25 13:27:10.584712 2003] debug: Successfully loaded module 
`memoserv/forward'
[Jun 25 13:27:10.584832 2003] debug: Loading module `memoserv/ignore'
[Jun 25 13:27:10.585836 2003] debug: Successfully loaded module 
`memoserv/ignore'
[Jun 25 13:27:10.585957 2003] debug: Loading module `statserv/main'
[Jun 25 13:27:10.587225 2003] debug: Successfully loaded module 
`statserv/main'
[Jun 25 13:27:10.587352 2003] debug: Loading module `httpd/main'
[Jun 25 13:27:10.588752 2003] httpd/main: Listening on :8080
[Jun 25 13:27:10.588905 2003] debug: Successfully loaded module `httpd/main'
[Jun 25 13:27:10.589006 2003] debug: Loading module `httpd/auth-ip'
[Jun 25 13:27:10.590039 2003] debug: Successfully loaded module 
`httpd/auth-ip'
[Jun 25 13:27:10.590163 2003] debug: Loading module `httpd/auth-password'
[Jun 25 13:27:10.591195 2003] debug: Successfully loaded module 
`httpd/auth-password'
[Jun 25 13:27:10.591315 2003] debug: Loading module `httpd/dbaccess'
[Jun 25 13:27:10.592712 2003] debug: Successfully loaded module 
`httpd/dbaccess'
[Jun 25 13:27:10.592847 2003] debug: Loading module `httpd/debug'
[Jun 25 13:27:10.593900 2003] debug: Successfully loaded module 
`httpd/debug'
[Jun 25 13:27:10.594018 2003] debug: Loading module `httpd/redirect'
[Jun 25 13:27:10.595108 2003] debug: Successfully loaded module 
`httpd/redirect'
[Jun 25 13:27:10.595229 2003] debug: Loading module `httpd/top-page'
[Jun 25 13:27:10.596254 2003] debug: Successfully loaded module 
`httpd/top-page'
[Jun 25 13:27:10.596372 2003] debug: Loaded modules
[Jun 25 13:27:10.603249 2003] Initiated connection to 127.0.0.1:7000
[Jun 25 13:27:10.603561 2003] sockets: flush_write_buffer(0): Socket is 
not connected
[Jun 25 13:27:10.603807 2003] Services terminating: Bus error
[Jun 25 13:27:10.603905 2003] debug: Unloading module `httpd/top-page'
[Jun 25 13:27:10.604211 2003] debug: Unloading module `httpd/redirect'
[Jun 25 13:27:10.604380 2003] debug: Unloading module `httpd/debug'
[Jun 25 13:27:10.604561 2003] debug: Unloading module `httpd/dbaccess'
[Jun 25 13:27:10.604727 2003] debug: Unloading module `httpd/auth-password'
[Jun 25 13:27:10.604883 2003] debug: Unloading module `httpd/auth-ip'
[Jun 25 13:27:10.605038 2003] debug: Unloading module `httpd/main'
[Jun 25 13:27:10.605225 2003] debug: Unloading module `statserv/main'
[Jun 25 13:27:10.605531 2003] debug: Unloading module `memoserv/ignore'
[Jun 25 13:27:10.605734 2003] debug: Unloading module `memoserv/forward'
[Jun 25 13:27:10.605890 2003] debug: Unloading module `memoserv/main'
[Jun 25 13:27:10.606075 2003] debug: Unloading module 
`chanserv/access-levels'
[Jun 25 13:27:10.606238 2003] debug: Unloading module `chanserv/main'
[Jun 25 13:27:10.606537 2003] debug: Unloading module `nickserv/mail-auth'
[Jun 25 13:27:10.606717 2003] debug: Unloading module `nickserv/link'
[Jun 25 13:27:10.606872 2003] debug: Unloading module `nickserv/autojoin'
[Jun 25 13:27:10.607017 2003] debug: Unloading module `nickserv/access'
[Jun 25 13:27:10.607170 2003] debug: Unloading module `nickserv/main'
[Jun 25 13:27:10.607411 2003] debug: Unloading module `operserv/sline'
[Jun 25 13:27:10.607636 2003] debug: Unloading module `operserv/sessions'
[Jun 25 13:27:10.607804 2003] debug: Unloading module `operserv/news'
[Jun 25 13:27:10.607956 2003] debug: Unloading module `operserv/akill'
[Jun 25 13:27:10.608114 2003] debug: Unloading module `operserv/main'
[Jun 25 13:27:10.608280 2003] debug: Unloading module `mail/smtp'
[Jun 25 13:27:10.608460 2003] debug: Unloading module `mail/main'
[Jun 25 13:27:10.608613 2003] debug: Unloading module `database/version4'
[Jun 25 13:27:10.608790 2003] debug: Unloading module `encryption/md5'
[Jun 25 13:27:10.608948 2003] debug: Unloading module `protocol/unreal'