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.9.5 crash on start 'ConvertException'  (Read 5806 times)

0 Members and 1 Guest are viewing this topic.

Michael

  • Anope User
  • Offline Offline
  • Posts: 10
Anope 1.9.5 crash on start 'ConvertException'
« on: January 10, 2012, 12:09:37 AM »

Hello,
I have the same problem with Anope1.9.5-p1.

We currently have Anope-1.9.4-g13915d8-is-both-the-chicken-and-the-egg run.
We have no problems.

Now we want to Anope-1.9.5-git-g8b51904-p1 (21) change, and get the services with the "anope.db" of 1.9.4 no longer linked.

Error message:

terminate called after throwing an instance of 'ConvertException'
   what (): std:: exception
canceled

If I rename anope.db in anope.db.old and then restart the services, they connect to server, but without disturbing the existing data.

Anyone have any idea what might not agree with the database?

This is a test environment, so I hide the password and user keys not :-)
Log ( -noforge -debug )  http://www.staff-chat.net/anope.txt

-.- Google Translation - you can feel free to reply in German :-)


[German]
Hallo,
ich habe das selbe Problem mit Anope1.9.5-p1.

Aktuell haben wir Anope-1.9.4-g13915d8-is-both-the-chicken-and-the-egg laufen.
Damit haben wir auch keine Probleme.

Nun wollen wir auf Anope-1.9.5-g8b51904-p1-git (21) wechseln, und bekommen die Services mit der "anope.db" von 1.9.4 nicht mehr gelinkt.

Fehlermeldung:

terminate called after throwing an instance of 'ConvertException'
  what():  std::exception
Abgebrochen

Wenn ich anope.db umbenenne in anope.db.old und dann die Services starte, verbinden diese zum server, jedoch ohne die vorhandenen daten.

Jemand eine Idee was mit der Datenbank nicht stimmen koennte ?
Das ist eine Testumgebung, deswegen loesche ich die Passworte und Userkeys nicht :-)

Log ( -noforge -debug )  http://www.staff-chat.net/anope.txt
Logged

Adam

  • Team
  • *
  • Offline Offline
  • Posts: 463
Re: Anope 1.9.5 crash on start 'ConvertException'
« Reply #1 on: January 10, 2012, 02:35:18 AM »

Thats odd, if you can get a backtrace in GDB you can find out what exactly in the database is causing the problem. To do that use:

gdb#: (1) From the directory that you would do ./services from, do the following instead: gdb ./services
          (2) Do: r -support (3) Upon crash, do: bt full (4) Pastebin everything from step 1 to step 3. (Alternatively, if that output is too long, just
          pastebin everything from when Anope crashed to the end of the output of bt full.)
Logged

Michael

  • Anope User
  • Offline Offline
  • Posts: 10
Re: Anope 1.9.5 crash on start 'ConvertException'
« Reply #3 on: January 12, 2012, 02:36:23 AM »

An idea what it could be?  ???
Logged

Adam

  • Team
  • *
  • Offline Offline
  • Posts: 463
Re: Anope 1.9.5 crash on start 'ConvertException'
« Reply #4 on: January 12, 2012, 02:40:03 AM »

mv anope.db anope.db.old && grep -v "^OS EXCEPTION" anope.db.old > anope.db
Logged

Michael

  • Anope User
  • Offline Offline
  • Posts: 10
Re: Anope 1.9.5 crash on start 'ConvertException'
« Reply #5 on: January 12, 2012, 01:11:08 PM »

"Binary file anope.db.old matches"


Hello Adam,
the search for OS EXCEPTION has made ​​me suspicious.
So I looked into the current exception list times, and this thing cleaned up.
Database is stored, and copied to the test environment.

Now the link works with the current git branch 1.9 ( Anope-1.9.6-ga52ed70-with-bacon-and-eggs (142) )

Thank you for your effort
Logged
Pages: [1]   Go Up