Segmentation fault (core dumped)

These are old archives. They are kept for historic purposes only.
Post Reply
pallanium
Posts: 2
Joined: Sun Mar 28, 2010 2:34 pm

Segmentation fault (core dumped)

Post by pallanium »

Hello!
I am trying to launch Unreal IRC I get the following error.

Code: Select all

 _   _                      _ ___________  _____     _
| | | |                    | |_   _| ___ \/  __ \   | |
| | | |_ __  _ __ ___  __ _| | | | | |_/ /| /  \/ __| |
| | | | '_ \| '__/ _ \/ _` | | | | |    / | |    / _` |
| |_| | | | | | |  __/ (_| | |_| |_| |\ \ | \__/\ (_| |
 \___/|_| |_|_|  \___|\__,_|_|\___/\_| \_| \____/\__,_|
                           v3.2.8.1
                     using TRE 0.7.5 (LGPL)

Segmentation fault (core dumped)
And when I run ./unreal I get the following error. I tried recompiling and using new configuration files. I modified the server client limit in both the irc setting and the server settings.

Code: Select all

./unreal: line 136:  7449 Segmentation fault      (core dumped) /var/games/IRC/ircd -v

Please help me! I am really lost at the moment, I have no idea what to do and google doesnt help :-(
pallanium
Posts: 2
Joined: Sun Mar 28, 2010 2:34 pm

Re: Segmentation fault (core dumped)

Post by pallanium »

Please help me! If I use a precompiled version, everything is alright, but if I try to compile on my VPS it fails. Im get this error. But I need to make my IRC into a leaf and I need to recompile. Please help !
Syzop
UnrealIRCd head coder
Posts: 2179
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Re: Segmentation fault (core dumped)

Post by Syzop »

If you think you've found a bug (which a crash usually is), please report it at http://bugs.unrealircd.org/. Be sure to include the output of './unreal backtrace'.

As for having to recompile as a leaf, it's not very useful as the only thing that changes is a serverflag and nothing else, but ah well..
katsklaw
Posts: 1124
Joined: Sun Apr 18, 2004 5:06 pm
Contact:

Re: Segmentation fault (core dumped)

Post by katsklaw »

You might want to try compiling in a standard non-root user directory as a standard non-root user. Unreal ircd has no business running as root or from a system directory like /var anyway. Yes, you *can* run it as root ... yes, you *can* run it as a global application in the system directory structure, but it's really not any more or less advantageous and Unreal is aimed at running from a users directory by default. so why not follow the path of least resistance?

1> create user account
2> upload the unreal tarball as the user you just created
3> from shell untar unreal as the user you created
4> cd Unreal32
5> ./Config
6> make
7> copy example.conf to Unreal32
8> rename example.conf to unrealircd.conf
9> edit unrealircd.conf
10> ./unreal start

As far as leaf vs hub, hub should always be selected so you don't have to re-compile later. Leaf only connections are controlled in connect blocks anyway. Leaf should really only e used if your ircd shell provider doesn't allow hubs. Since you have a VPS, that's not likely the case.

If you still get a segfault, we would need the output of a backtrace for us to help accurately.
Post Reply