anope segmentation fault on start

The UnrealIRCd team does not officially provide support for any services packages that you may be using or want to use. This forum is provided so the community can help each other with services issues.

Moderator: Supporters

Locked
nix
Posts: 2
Joined: Sun Sep 25, 2005 8:16 am

anope segmentation fault on start

Post by nix »

I'm using the latest release of unrealircd and anope on amd64, when I try to start services I get a segmentation fault instantly. I've tried both the latest 1.6.x and 1.7.x versions of Anope, also.
nick@nix ~/services $ ./services -debug -nofork
[Sep 25 03:33:10.367339 2005] Segmentation fault
I tried running it under gdb, but it doesn't recognize it:
(gdb) run
Starting program: /home/nick/services/services

Program exited normally.
That happens instantly as I enter run, so it seg faults right away and exits.
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

Try:

gdb services

r -debug -nofork

;)
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
nix
Posts: 2
Joined: Sun Sep 25, 2005 8:16 am

Post by nix »

Okay, well this is the output and backtrace if it's of any use:
(gdb) r -debug -nofork
Starting program: /home/nick/.ircd/services/services -debug -nofork
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 19680)]
[Sep 25 06:28:52.208937 2005]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 19680)]
0x00002aaaaafdcc20 in strlen () from /lib/libc.so.6
(gdb) bt
#0 0x00002aaaaafdcc20 in strlen () from /lib/libc.so.6
#1 0x00002aaaaafb3638 in vfprintf () from /lib/libc.so.6
#2 0x00002aaaaafb00e4 in cuserid () from /lib/libc.so.6
#3 0x00002aaaaafb026b in vfprintf () from /lib/libc.so.6
#4 0x0000000000427661 in alog (
fmt=0x4448b0 "Loading IRCD Protocol Module: [%s]") at log.c:162
#5 0x000000000042f94e in protocol_module_init () at modules.c:127
#6 0x0000000000423540 in init (ac=3, av=0x7fffffc34798) at init.c:449
#7 0x0000000000428e0f in main (ac=3, av=0x7fffffc34798, envp=0x7fffffc347b8)
at main.c:495
Trystan
Posts: 29
Joined: Sun Mar 07, 2004 4:20 pm
Location: UTAH
Contact:

Post by Trystan »

"They never stop thinking of ways of harming America, and neither do we." - U.S. President George W. Bush
Locked