Server crash on startup

These are old archives. They are kept for historic purposes only.
Post Reply
DamageInc
Posts: 1
Joined: Sun Jan 20, 2008 12:01 pm

Server crash on startup

Post by DamageInc »

Hello i have some trouble starting up the irc server...

Got this error msg:
I am running OpenSUSE 10.3 (x86-64)

Code: Select all

* Loading IRCd configuration ..
./unreal: line 134: 25035 Segmenteringsfel        (core dumped) /home/ares/Unreal3.2.7/src/ircd
Possible error encountered (IRCd seemingly not started)
=====================================================
Check above for possible errors, and this output of
ircd.log. If you cannot solve the problem, read
Unreal.nfo on where to get support
=====================================================
Stealth
Head of Support
Posts: 2085
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Re: Server crash on startup

Post by Stealth »

Run ./unreal backtrace and paste what it says to paste here.
Fnor
Posts: 1
Joined: Sat Jan 26, 2008 4:22 pm

Re: Server crash on startup

Post by Fnor »

I have a similar error:

Code: Select all

* Loading IRCd configuration ..
* unrealircd.conf:131 Ignoring extra end comment
./unreal: line 134: 28839 Segmentation fault      (core dumped) /home/fnor/Unreal3.2.7/src/ircd
Possible error encountered (IRCd seemingly not started)
Here's my backtrace:

Code: Select all

BACKTRACE:
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/home/fnor/Unreal3.2.7/src/ircd'.
Program terminated with signal 11, Segmentation fault.
#0  0x0000000000435b62 in unreal_encodespace (s=0x0) at s_misc.c:1076
1076            for (i = s, o = buf; (*i) && (o < buf+509); i++)
#0  0x0000000000435b62 in unreal_encodespace (s=0x0) at s_misc.c:1076
#1  0x0000000000429503 in init_conf (rootconf=0x45b827 "unrealircd.conf", 
    rehash=0) at s_conf.c:1563
#2  0x000000000041c252 in main (argc=0, argv=<value optimized out>)
    at ircd.c:1293

#0  0x0000000000435b62 in unreal_encodespace (s=0x0) at s_misc.c:1076
1076            for (i = s, o = buf; (*i) && (o < buf+509); i++)

0x727220 <backupbuf>:    ""

#0  0x0000000000435b62 in unreal_encodespace (s=0x0) at s_misc.c:1076
        buf = '\0' <repeats 511 times>
        i = 0x0
        o = 0x70dba0 ""
#1  0x0000000000429503 in init_conf (rootconf=0x45b827 "unrealircd.conf", 
    rehash=0) at s_conf.c:1563
No locals.
#2  0x000000000041c252 in main (argc=0, argv=<value optimized out>)
---Type <return> to continue, or q <return> to quit---
    at ircd.c:1293
        type = <value optimized out>
        result = <value optimized out>
        p = 0x7fffd3f46cc8 "\003@"
        uid = 1000
        euid = 1000
        gid = 100
        egid = 100
        delay = <value optimized out>
        corelim = {rlim_cur = 18446744073709551615, 
  rlim_max = 18446744073709551615}
        nextfdlistcheck = <value optimized out>
        alllasttime = 0
GCC: gcc version 4.2.1 (SUSE Linux)
UNAME: Linux BendenWeyr 2.6.22.15-54-default #1 SMP 2008/01/03 20:29:58 UTC x86_64 x86_64 x86_64 GNU/Linux
UNREAL: Unreal3.2.7 build 1.1.1.1.2.1.2.1.2.2234.2.676 2007/07/13 10:43:04
CORE: -rw------- 1 fnor users 1650688 2008-01-26 10:15 core
Stealth
Head of Support
Posts: 2085
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Re: Server crash on startup

Post by Stealth »

Fnor, looks like somethings wrong with your conf.

What you should do (other than fix the conf) is go to http://bugs.unrealircd.org and post a report. Please include:
Copied and pasted backtrace
Lines 129-133 of your unrealircd.conf

There is no need to mark the bug private, as this isn't something users can do to crash it. (also it makes it harder for me to look into it, because I don't have access to view private reports)
Post Reply