mimi133
-
Posts
21 -
Joined
-
Last visited
Never -
Donations
0.00 GBP
Content Type
Profiles
Bug Tracker
Wiki
Release Notes
Forums
Downloads
Blogs
Events
Posts posted by mimi133
-
-
MaNGOS/0.12.0 2008-12-22 00:00:21 Revision 6928
SD2 : 812
*** glibc detected *** free(): invalid pointer: 0x0ec90258 *** Program received signal SIGABRT, Aborted. [switching to Thread -1399854160 (LWP 13061)] 0xffffe410 in __kernel_vsyscall ()
-
look the sha number of the rev via github,
then "git reset --hard shanumber"
-
Update your Mangos Sources and SD2 Sources,
and try to compile again.
-
you must have 512MB RAM.
-
Try the DBC 3.0.3
-
try to update the sources with newer or older rev
and try autoreconf -if and ../configure
-
@greda : 3.0.3
@Anathema : wich rev of mangos and wich os do you use ?
@KingofBananas : do you have all of the packets ? libtool, g++, etc
@freebullets : did you install openssl ?
-
Core : 6872 - 7b7c91283498ed71f84ce24b046bd7750349e98a
SD2 : 812
UDB : 364
+ Patchs from KAPATEJIb
#0 0xffffe410 in __kernel_vsyscall ()No symbol table info available.
#1 0xb77e7b0e in epoll_wait () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#2 0xb7c9c906 in ACE_Dev_Poll_Reactor::work_pending_i (this=0xb7d80934, max_wait_time=0xabf7b39c)
at ../../../../dep/ACE_wrappers/ace/Dev_Poll_Reactor.cpp:975
timer_buf = {static zero = {static zero = <same as static member of an already seen type>, static max_time = {
static zero = <same as static member of an already seen type>, static max_time = <same as static member of an already seen type>, tv_ = {
tv_sec = 2147483647, tv_usec = 999999}}, tv_ = {tv_sec = 0, tv_usec = 0}}, static max_time = <same as static member of an already seen type>,
tv_ = {tv_sec = 0, tv_usec = 9999}}
this_timeout = (ACE_Time_Value *) 0x400
timers_pending = 0
timeout = <value optimized out>
nfds = <value optimized out>
#3 0xb7c9d222 in ACE_Dev_Poll_Reactor::handle_events_i (this=0xc4e2370, max_wait_time=0xabf7b39c, guard=@0xabf7b324)
at ../../../../dep/ACE_wrappers/ace/Dev_Poll_Reactor.cpp:1052
result = <value optimized out>
#4 0xb7c9e0e1 in ACE_Dev_Poll_Reactor::handle_events (this=0xc4e2370, max_wait_time=0xabf7b39c)
at ../../../../dep/ACE_wrappers/ace/Dev_Poll_Reactor.cpp:1033
countdown = {max_wait_time_ = 0xabf7b39c, start_time_ = {static zero = {static zero = <same as static member of an already seen type>,
static max_time = {static zero = <same as static member of an already seen type>, static max_time = <same as static member of an already seen type>,
tv_ = {tv_sec = 2147483647, tv_usec = 999999}}, tv_ = {tv_sec = 0, tv_usec = 0}},
static max_time = <same as static member of an already seen type>, tv_ = {tv_sec = 1230920389, tv_usec = 904548}}, stopped_ = false}
guard = {token_ = @0xc4e2390, owner_ = 1}
result = -1
#5 0xb7c9b798 in ACE_Dev_Poll_Reactor::handle_events (this=0xc4e2370, max_wait_time=@0xabf7b39c)
at ../../../../dep/ACE_wrappers/ace/Dev_Poll_Reactor.cpp:1336
No locals.
#6 0xb7cfa66b in ACE_Reactor::run_reactor_event_loop (this=0xc458598, tv=@0xabf7b39c, eh=0) at ../../../../dep/ACE_wrappers/ace/Reactor.cpp:271
result = 205880136
#7 0x0836bbef in ReactorRunnable::svc (this=0xc457aec) at ../../../src/game/WorldSocketMgr.cpp:167
interval = {static zero = {static zero = <same as static member of an already seen type>, static max_time = {
static zero = <same as static member of an already seen type>, static max_time = <same as static member of an already seen type>, tv_ = {
tv_sec = 2147483647, tv_usec = 999999}}, tv_ = {tv_sec = 0, tv_usec = 0}}, static max_time = <same as static member of an already seen type>,
tv_ = {tv_sec = 0, tv_usec = 9999}}
#8 0xb7d213b0 in ACE_Task_Base::svc_run (args=0xc457aec) at ../../../../dep/ACE_wrappers/ace/Task.cpp:275
svc_status = <value optimized out>
#9 0xb7d22068 in ACE_Thread_Adapter::invoke_i (this=0xc4ea978) at ../../../../dep/ACE_wrappers/ace/Thread_Adapter.cpp:149
hook = (class ACE_Thread_Hook *) 0x400
func = (ACE_THR_FUNC) 0xb7d21360 <ACE_Task_Base::svc_run(void*)>
arg = (void *) 0xc457aec
status = (ACE_THR_FUNC_RETURN) 0xfffffffc
#10 0xb7d22246 in ACE_Thread_Adapter::invoke (this=0xc4ea978) at ../../../../dep/ACE_wrappers/ace/Thread_Adapter.cpp:98
exit_hook_instance = (ACE_Thread_Exit *) 0xc4eecb8
exit_hook_maybe = {instance_ = 0x0}
exit_hook_ptr = <value optimized out>
#11 0xb7c83461 in ace_thread_adapter (args=0xc4ea978) at ../../../../dep/ACE_wrappers/ace/Base_Thread_Adapter.cpp:124
status = (ACE_THR_FUNC_RETURN) 0xfffffffc
#12 0xb7967240 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#13 0xb77e749e in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
-
-
Mangos is in /opt/mangos
-
it's the same but with an other directory.
-
after "cd mangos"
you must do this : "git pull origin 303-willcrashforsure"
-
You must be in root,
you can try to clean the directory where you will install mangos before make install
-
To use git and not use gitfm, you must use this :
update-alternatives --config git
You must enter the digit which match with :
/usr/bin/git-scm
You must not enter /usr/bin/git-scm
-
instead of
Oo
you must download ScriptDev2 in src/bindings/ScriptDev2
-
autoreconf --install --force aclocal autoheader autoconf automake --add-missing automake src/bindings/ScriptDev2/Makefile mkdir objdir cd objdir ../configure --prefix=/opt/mangos --sysconfdir=/opt/mangos/etc --enable-cli --enable-ra --datadir=/opt/mangos make make install make clean cd .. rm -r objdir
You need to use these commands each time you are compiling mangos.
@Athlon64 : try to update your sources.
@travis : I dont know Fedora, but when I start with Mangos on linux, I had the choice between fedora and opensuse, after 2days, I'm going on openSuse,
but it's hardly too, to find the good packets, I thinks the debians are the best OS for mangos.
-
To apply a patch you can use the patch command.
-
I think that we can't to get a mangos version number, we must get the last ...
-
Thx to the "sticky" for my tuto
-
To begin, I am French, this is a translation from my French tutorial into English,
If you find a language error within this tutorial, please pm me.
You must install :
* GCC 4.1.X ( gcc / g++ / cpp / fort77 / g77 / gpp)* automake
* autoconf
* glibc & glibc-dev(glibc headers) [ libc6 ]
* make
* mysql-server 4.1 ou mysql-server 5.0 && libmysql++-dev
* libtool
* OpenSSL (libssl-dev)
* subversion et patch
* git
* zlibc
You can do this using the terminal:
apt-get install build-essential binutils gcc g++ cpp automake autoconf make libmysql++-dev libtool libssl-dev subversion patch zlibc libc6 git-coreYou must download the files from the git repository, git will create your mangos sources directory for you.
git clone git://github.com/mangos/mangos.gitcd mangos
You must download and patch ScriptDev2.
git clone git://github.com/scriptdev2/scriptdev2.git src/bindings/ScriptDev2
git apply src/bindings/ScriptDev2/patches/MaNGOS-2008-12-22-ScriptDev2.patch
You can use
git am src/bindings/ScriptDev2/patches/MaNGOS-2008-12-22-ScriptDev2.patch
to commit the patch, which is the way it was intended to be. git-apply just applies changes, while git-am commits patches. Please note that you cannot commit a diff (= the thing you now call "patch"), but you can commit a git patch (which is in fact "portable commit in a file") created using git-format-patch.
If you want to apply only changes to stash them later, use git-apply, if you want to commit the sd2 patch, use git-am and you don't have to manually call git-commit.
Once you have patched mangos, you compile it.
autoreconf --install --forceautomake src/bindings/ScriptDev2/Makefile
mkdir objdir
cd objdir
../configure --prefix=/opt/mangos --sysconfdir=/opt/mangos/etc --enable-cli --enable-ra --datadir=/opt/mangos
make
make install
make clean
cd ..
rm -r objdir
You can replace ../configure --prefix=/opt/mangos --sysconfdir=/opt/mangos/etc --enable-cli --enable-ra --datadir=/opt/mangos
by ../configure --prefix=[working path] --sysconfdir=[working path]/etc --enable-cli --enable-ra --datadir=[working path]
with your [working path]
Good Luck
Thx to seodavid, for his help with English and his suggests.
Thx to freghar, for his help with Git. (Text in blue).
Edit by Schmoozerd: SD2 to Git updated
How to compile MaNGOS on Linux ( Using GIT )
in OldInstallation, configuration & upgrades
Posted
Do git pull