[IRCServices] database locked
Andrew G. Buenaventura
andrew at teamyehey.com
Tue Feb 17 19:33:32 PST 2004
My sincerest apologies for sending me previous emails in HTML format. I
have no excuse for that except for my irresponsibility in not choosing
the correct format. Anyway, here are the details of my problem:
1. ircservices version - 5.0.28 (though the problem also occurs in
5.0.23)
2. ircd version - unreal 3.2 RC1 (problem is also present in unreal 3.2
beta19 and the latest CVS copy prior to unreal 3.2 RC1)
3. Series of steps:
1. ./ircservices -debug -nofork
2. /msg operserv update, then I got that database locked error
message telling me to delete .lock file
3. I deleted the .lock file
4. ran /msg operserv update again
5. ircservices core dumps with the following log:
[Feb 18 02:40:49.644650 2004] debug: Sent: :OperServ NOTICE muttdaemon
:Updating databases...
[Feb 18 02:40:49.645391 2004] warning: databases are locked, not
updating
[Feb 18 02:40:49.646259 2004] debug: Sent: :services.yehey.com GLOBOPS
:Warning: Databases are locked, and cannot be updated. Remove the
`/usr/local/ircservices/lib/.lock' file to allow database updates.
[Feb 18 02:40:49.646851 2004] debug: Sent: :OperServ NOTICE muttdaemon
:Database update failed.
[Feb 18 02:40:54.849193 2004] debug: Received: :VJTD3 D #teenchat
[Feb 18 02:40:54.849897 2004] debug: VJTD3 leaves #teenchat
[Feb 18 02:40:55.245086 2004] debug: Received: :VJTD3 , :Finished
Scanning
[Feb 18 02:40:55.245757 2004] debug: VJTD3 quits
[Feb 18 02:40:55.246294 2004] debug: Received: & VJTD3 2 1077071723
VJTD3 ppp203.net267.fl.sprint-hsd.net additional.services.yehey.com 0 +
ppp203.net267.fl.sprint-hsd.net :VJTD3
[Feb 18 02:40:55.247091 2004] debug: new user: VJTD3
[Feb 18 02:40:55.248156 2004] debug: Sent: :services.yehey.com SVSMODE
VJTD3 +d 1930359764
[Feb 18 02:40:55.248686 2004] debug: Changing mode for VJTD3 to +
[Feb 18 02:40:55.249201 2004] debug: Received: :VJTD3 AA
yehey-3D80E17C.net267.fl.sprint-hsd.net
[Feb 18 02:40:55.249983 2004] debug: Received: :VJTD3 | +x
[Feb 18 02:40:55.250590 2004] debug: Changing mode for VJTD3 to +x
[Feb 18 02:40:55.251139 2004] debug: Received: :irc2.yehey.com ~
1069223639 #teenchat :VJTD3
[Feb 18 02:40:55.251656 2004] protocol/unreal: debug: VJTD3 SJOINs
#teenchat
[Feb 18 02:40:55.252651 2004] debug: Sent: :ChanServ NOTICE VJTD3
:(#teenchat) WelCoMe Sa PinaKool Na ChanneL!!! sa YeHey! So stay Cool
And Stay Lng kau d2! hehehehe
[Feb 18 02:41:03.028444 2004] debug: Received: :ice_man ! nickserv
:identify jjkalabaw
[Feb 18 02:41:03.029761 2004] debug: Sent: :NickServ SVSMODE ice_man :+r
[Feb 18 02:41:03.030294 2004] nickserv/main:
ice_man!qbjleqbij at ipdial-179-179.tri-isys.com identified for nick
ice_man
[Feb 18 02:41:03.031295 2004] debug: Sent: :NickServ NOTICE ice_man
:Password accepted -- you are now recognized.
[Feb 18 02:41:15.070640 2004] debug: Sent: :services.yehey.com 433
bitoyski bitoyski :Nickname is registered to someone else
[Feb 18 02:41:15.071292 2004] debug: Sent: :services.yehey.com 433
YeheyTrivia YeheyTrivia :Nickname is registered to someone else
[Feb 18 02:41:15.072139 2004] debug: Sent: :services.yehey.com 433 Gear
Gear :Nickname is registered to someone else
[Feb 18 02:41:18.804424 2004] debug: Received: :muttdaemon ! operserv
:update
[Feb 18 02:41:18.805174 2004] operserv/main: muttdaemon: update
[Feb 18 02:41:18.806265 2004] debug: Sent: :OperServ NOTICE muttdaemon
:Updating databases...
[Feb 18 02:41:18.808463 2004] debug: Saving databases
Memory fault (core dumped)
6. backtrace of the core file:
# gdb ircservices ircservices.core
GNU gdb 4.16.1
Copyright 1996 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "i386-unknown-openbsd3.4"...
ircservices: No such file or directory.
Core was generated by `ircservices'.
Program terminated with signal 11, Segmentation fault.
#0 0x1c020136 in ?? ()
(gdb) bt
#0 0x1c020136 in ?? ()
#1 0x1c014c50 in ?? ()
#2 0x1c00b798 in ?? ()
#3 0x1c008ca3 in ?? ()
#4 0x1c008deb in ?? ()
#5 0x1c001aa1 in ?? ()
#6 0x1c001a17 in ?? ()
#7 0xcfbf10b8 in ?? ()
#8 0x40cf in ?? ()
Cannot access memory at address 0xbf0d8000.
(gdb)