[IRCServices] services segfaults -- libc problem?
"
"
Wed Oct 18 02:19:23 PDT 2000
Hi everybody,
as this is my first post to this list, I'd like to take the opportunity to
a) say "Hi" to everybody else and b) thank Andy Church and TheShadow for
giving us this great irc services package. You're my heroes!
Okay, so here's my problem:
I've been running 4.4.7 for a while, and it was working great until my
machine died a horrible death at the hands of a few mysql threads gone
haywire. After the reboot everything was back to normal, *except* services
wouldn't start up (and segfaulted instead).
I have pretty amateurish (or rather non-existant) debugging skills, but I've
managed to squeeze this bit of info out of gdb:
---cut---
(gdb) run
Starting program: /home/ircserv/services
Program received signal SIGSEGV, Segmentation fault.
0x400b636b in strtok () from /lib/libc.so.6
(gdb) next
Single stepping until exit from function strtok,
which has no line number information.
Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
---cut---
Now, since that started happening I've tried everything from different (old
and new) versions of ircservices, using new data files, writing a new
services.conf, and so on and so on and so on, all to no effect -- whatever
version I compiled would segfault on me, just like described above.
So it seems logical that it must have something to do with libc.so.6, but if
that's the case, why isn't more stuff on the machine broken? I'm confused.
In case you're wondering about versions, here's my libc.so.6 from /lib:
---cut---
-rwxr-xr-x 1 root root 1057576 Oct 13 18:45 libc-2.1.95.so
lrwxrwxrwx 1 root root 14 Oct 16 09:53 libc.so.6 ->
libc-2.1.95.so
---cut---
Granted, I know nothing about debugging, so there's probably a better way to
find the culprit that I'm not aware of. Or is this just a compatibility
issue between ircservices and libc-2.1.95? After all, services was running
for a *long* time, and I've done various upgrades to my Debian systems since
then.
Any help would be highly appreciated!
Thanks & take care,
Hendrik
---------------------------------------------------------------
To unsubscribe, send email to majordomo at snow.shadowfire.org
with "unsubscribe ircservices" in the body, without the quotes.