Anope IRC Services
Anope Support => 2.0.x/1.9.x Support => Topic started by: someone on June 20, 2010, 07:42:13 PM
-
While trying to convert my DB, the tool dies.
last lines in anope.db
NC <nick> <pass> en -1 0
MD ACCESS <EOF>
if i delete nick.db, it works... but thats not really an option ;)
it seems that this happens only with the one nick.
maybe he/she set some weird settings?
ps: sorry, I cannot reproduce it with test-data and i cannot give out production data.
ircd = unreal.
-
Try running it in gdb:
gdb ./db-convert
r
and when it crashes type
bt full
and pastebin all of the output.
-
sry my fail - i thaught it was obvious if i said db-convert.exe...
this is a windows laptop.
The full windows segfault message would be:
Die Anweisung in "0x00401c36" verweist auf den Speicher in "0x00000000". Der Vorgang "read" konnte nicht ausgeführt werden.
meaning something like: the Command @ 0x00401c36 tries to read 0x0000...
-
Are the databases you are converting from 1.8 or 1.9?
-
1.8.0 to 1.9.2
-
Could you please try http://adam.anope.org/anope-1.9.2-p1-unofficial.exe and tell me how it works?
-
crash with same nick.
i tried to drop that nick and then it crashed one nick later... (after the same amount of nicks processed.)
maybe just a random coincidence, since the converter wrote again
NC <nick> <pass> en -1 0
MD ACCESS
and EOF
seems like some problem with dumping the MD ACCESS - Line?
-
Would you mind sending me your databases so I can debug this further? Or can you build 1.9.2 on linux and reproduce it or build a debug version on Windows and get a stack trace?
-
thats the problem... i do not want to give out the data...
like i hoped it was some obvious nullpointer field in the converter or something...
As I suck with autotools and ebuilds, I requested a gentoo ebuild update, so hopefully they will get 1.9.2 into the tree and then ill send you gdb traces (if it is not a windows related thing)
-
Can't you build 1.9.2 from the source and test it out?
-
I kinda failed it...
srv252 anope # cmake src
CMake Error at CMakeLists.txt:6 (remove_item_from_list):
Unknown CMake command "remove_item_from_list".
-- Configuring incomplete, errors occurred!
-
You should be using Config to run cmake.
-
same problem...
Beginning Services configuration.
Using defaults from config.cache. To ignore, ./Config -nocache
Note: press Return for the default, or enter a new value.
Are you using configure or cmake?
[cmake]
In what directory do you want the binaries to be installed?
[/root/services]
Which group should all Services data files be owned by? (If Services
should not force files to be owned by a particular group, just press
Return.)
[]
What should the default umask for data files be (in octal)?
(077 = only accessible by owner; 007 = accessible by owner and group)
[077]
Would you like to build a debug version of Anope?
[y]
You can optionally have the build run through run-cc.pl, which will
cause warnings and errors (if any) to be colored yellow and red,
respectively. This relies on Perl being installed, so if you say yes
to this without Perl, the option will be ignored.
NOTE: If you are using MinGW, it is NOT recommended to say yes to
this, it may fail.
Would you like to utilize run-cc.pl?
[n]
Are there any extra arguments you wish to pass to cmake?
(You may only need to do this if cmake is unable to locate
missing dependencies without hints)
[]
Saving configuration results in config.cache... done.
cmake -DINSTDIR:STRING=/root/services -DDEFUMASK:STRING=077 -DCMAKE_BUILD_TYPE:STRING=DEBUG -DUSE_RUN_CC_PL:BOOLEAN=OFF ..
CMake Error at CMakeLists.txt:6 (remove_item_from_list):
Unknown CMake command "remove_item_from_list".
-- Configuring incomplete, errors occurred!
Now cd build, then run make to build Anope.
-
Sounds to me like an incomplete source you have. Is there an Anope.cmake file in the root source folder that you extracted the source tarball to?
-
srv252 anope # ls -al
total 528
drwxrwxrwx 9 root root 4096 Jun 26 00:15 .
drwx------ 9 root root 4096 Jun 26 00:09 ..
-rwxrwxrwx 1 root root 699 Jun 18 08:55 .BANNER
-rwxrwxrwx 1 root root 24529 Jun 18 08:55 Anope.cmake
-rw-r--r-- 1 root root 11119 Jun 26 00:10 CMakeCache.txt
drwxrwxrwx 5 root root 4096 Jun 26 00:06 CMakeFiles
-rwxrwxrwx 1 root root 23167 Jun 18 08:55 CMakeLists.txt
-rwxrwxrwx 1 root root 9737 Jun 18 08:55 Config
-rwxrwxrwx 1 root root 54 Jun 18 08:55 Config.bat
-rwxrwxrwx 1 root root 3149 Jun 18 08:55 Makefile.in
-rwxrwxrwx 1 root root 22776 Jun 18 08:55 NSIS.template.in
-rwxrwxrwx 1 root root 193 Jun 18 08:55 ReadFile.cmake
-rwxrwxrwx 1 root root 34245 Jun 18 08:55 aclocal.m4
-rwxrwxrwx 1 root root 40 Jun 18 08:55 anope.bat
-rwxrwxrwx 1 root root 1629 Jun 18 08:55 anope.m4
-rwxrwxrwx 1 root root 248 Jun 18 08:55 autogen.sh
drwxr-xr-x 2 root root 6 Jun 26 00:10 build
-rw-r--r-- 1 root root 120 Jun 26 00:15 config.cache
-rwxrwxrwx 1 root root 44892 Jun 18 08:55 config.guess
-rwxrwxrwx 1 root root 33531 Jun 18 08:55 config.sub
-rwxrwxrwx 1 root root 220256 Jun 18 08:55 configure
-rwxrwxrwx 1 root root 6685 Jun 18 08:55 configure.in
drwxrwxrwx 3 root root 93 Jun 25 23:33 data
drwxrwxrwx 2 root root 4096 Jun 25 23:33 docs
-rwxrwxrwx 1 root root 0 Jun 18 08:55 empty.c
drwxrwxrwx 2 root root 4096 Jun 25 23:33 include
-rwxrwxrwx 1 root root 609 Jun 18 08:55 install-script
-rwxrwxrwx 1 root root 8528 Jun 18 08:55 install.js
drwxrwxrwx 2 root root 4096 Jun 25 23:33 lang
-rwxrwxrwx 1 root root 6074 Jun 18 08:55 run-cc.pl
drwxrwxrwx 7 root root 4096 Jun 25 23:34 src
-rwxrwxrwx 1 root root 214 Jun 18 08:55 version.log
-rwxrwxrwx 1 root root 2337 Jun 18 08:55 vsvars32.bat