Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Anope 1.7.22 glibc error  (Read 3823 times)

0 Members and 1 Guest are viewing this topic.

capitaine

  • Anope User
  • Offline Offline
  • Posts: 39
    • http://www.coolsmile.net
Anope 1.7.22 glibc error
« on: September 21, 2008, 03:51:14 PM »

I tried the last version but couldn't start it.

[Sep 21 05:02:26.076008 2008] MySQL: has been enabled.
[Sep 21 05:02:26.076039 2008] MySQL: client version 5.0.32.
[Sep 21 05:02:26.082288 2008] debug: MySQL: SELECT RAND()
[Sep 21 05:02:26.433000 2008] debug: Loaded NickServ database (1/7)
[Sep 21 05:02:26.434572 2008] debug: Loaded HostServ database (2/7)
[Sep 21 05:02:26.434932 2008] debug: Loaded BotServ database (3/7)
[Sep 21 05:02:26.629839 2008] debug: Loaded ChanServ database (4/7)
[Sep 21 05:02:26.632347 2008] debug: Loaded OperServ database (5/7)
[Sep 21 05:02:26.632634 2008] debug: Loaded news database (6/7)
[Sep 21 05:02:26.632866 2008] debug: Loaded exception database (7/7)
[Sep 21 05:02:26.633024 2008] Databases loaded
[Sep 21 05:02:26.633172 2008] Info: Reflecting database records.
[Sep 21 05:02:26.633291 2008] debug: Emitting event "db_saving" (1 args)
[Sep 21 05:02:26.633390 2008] debug: Saving FFF databases
[Sep 21 05:02:26.810661 2008] debug: Saving RDB databases
[Sep 21 05:02:26.810987 2008] debug: MySQL: UPDATE anope_ns_core SET active = 0
[Sep 21 05:02:26.974002 2008] debug: MySQL: UPDATE anope_ns_alias SET active = 0
[Sep 21 05:02:27.244274 2008] debug: MySQL: UPDATE anope_ns_access SET active = 0
[Sep 21 05:02:27.364243 2008] debug: MySQL: UPDATE anope_ms_info SET active = 0 WHERE serv='NICK'
*** glibc detected *** free(): invalid pointer: 0x0000000000993a00 ***
Segmentation fault


This was done normally, and also with no modules (anope -support)

I've tried on another server, and it's working fine... so don't know what's wrong on the first  ???
Logged

Trystan Scott Lee

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 343
Re: Anope 1.7.22 glibc error
« Reply #1 on: September 21, 2008, 05:27:28 PM »

Get a backtrace of the crash, this is more helpful than what was posted. See the wiki for a how to
Logged
my God my tourniquet, return to me salvation

capitaine

  • Anope User
  • Offline Offline
  • Posts: 39
    • http://www.coolsmile.net
Re: Anope 1.7.22 glibc error
« Reply #2 on: September 22, 2008, 05:25:15 AM »

Ok  :)

[Sep 22 06:13:38.045249 2008] Databases loaded
[Sep 22 06:13:38.045384 2008] Info: Reflecting database records.
[Sep 22 06:13:38.045493 2008] debug: Emitting event "db_saving" (1 args)
[Sep 22 06:13:38.045607 2008] debug: Saving FFF databases
[Sep 22 06:13:38.132623 2008] debug: Saving RDB databases
[Sep 22 06:13:38.132941 2008] debug: MySQL: UPDATE anope_ns_core SET active = 0
[Sep 22 06:13:38.389281 2008] debug: MySQL: UPDATE anope_ns_alias SET active = 0
[Sep 22 06:13:38.753226 2008] debug: MySQL: UPDATE anope_ns_access SET active = 0
[Sep 22 06:13:38.858153 2008] debug: MySQL: UPDATE anope_ms_info SET active = 0 WHERE serv='NICK'
[Sep 22 06:13:38.874901 2008] debug: MySQL: UPDATE anope_ns_core SET pass = 'foopass', email = 'foo@hotmail.fr', greet = '', icq = 0, url = '', flags = 1203, language = 6, accesscount = 1, memocount = 0,     memomax = 20, channelcount = 0, channelmax = 10, active = 1 WHERE display = 'foonick'
[Sep 22 06:13:38.875752 2008] debug: MySQL: UPDATE anope_ns_access SET access = '*reg@---632C1A29' WHERE display = 'foonick'
[Sep 22 06:13:38.876463 2008] debug: MySQL: INSERT DELAYED INTO anope_ns_access (display, access) VALUES ('foonick','*reg@---632C1A29')
*** glibc detected *** free(): invalid pointer: 0x000000000099da00 ***

Program received signal SIGABRT, Aborted.
[Switching to Thread 47348466504000 (LWP 29448)]
0x00002b102c17c07b in raise () from /lib/libc.so.6
(gdb) bt
#0  0x00002b102c17c07b in raise () from /lib/libc.so.6
#1  0x00002b102c17d84e in abort () from /lib/libc.so.6
#2  0x00002b102c1b25f9 in __fsetlocking () from /lib/libc.so.6
#3  0x00002b102c1b9163 in mallopt () from /lib/libc.so.6
#4  0x00002b102c1b91ee in free () from /lib/libc.so.6
#5  0x000000000044951b in db_mysql_save_ns_core (nc=0x99fc00) at mysql.c:332
#6  0x0000000000438b85 in save_ns_rdb_dbase () at nickserv.c:884
#7  0x000000000042d0df in save_databases () at main.c:181
#8  0x0000000000427446 in init_secondary (ac=<value optimized out>, av=dwarf2_read_address: Corrupted DWARF expression.
) at init.c:711
#9  0x000000000042d583 in main (ac=3, av=0x7fff7ef959d8, envp=0x7fff7ef959f8) at main.c:591
(gdb)
Logged

Trystan Scott Lee

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 343
Re: Anope 1.7.22 glibc error
« Reply #3 on: September 22, 2008, 01:21:14 PM »

Now take all this wonderful data and place in the bug tracker, there is clearly a bug when attempting to free q_pass

btw what encrypt mod are you using? make sure you list this in the bug report.
Logged
my God my tourniquet, return to me salvation
Pages: [1]   Go Up