aMule Forum
English => aMule crashes => Topic started by: Ajayu on February 27, 2006, 10:45:25 PM
-
----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMuled 2.1.0 using wxGTK2 v2.6.2
Running on: Linux 2.6.10-1.771_FC2 i686
[2] CamuleApp::OnFatalException() in amule.cpp:1142
[3] wxFatalSignalHandler in /usr/lib/libwx_base-2.6.so.0[0x7393ae]
[4] ?? in /lib/tls/libpthread.so.0 [0xa78688]
[5] __libc_free in /lib/tls/libc.so.6[0x97372b]
[6] operator delete(void*) in /usr/lib/libstdc++.so.5[0xdcfdd3]
[7] std::__default_alloc_template::deallocate(void*, unsigned) in /usr/lib/libstdc++.so.5[0xdbd84c]
[8] std::__simple_alloc >::deallocate(unsigned*, unsigned) in stl_alloc.h:242
[9] std::_Vector_alloc_base, true>::_M_deallocate(unsigned*, unsigned) in stl_vector.h:130
[10] std::vector >::_M_fill_insert(__gnu_cxx::__normal_iterator > >, unsigned, unsigned const&) in vector.tcc:354
[11] std::vector >::insert(__gnu_cxx::__normal_iterator > >, unsigned, unsigned const&) in stl_vector.h:671
[12] std::vector >::resize(unsigned, unsigned const&) in stl_vector.h:438
[13] std::vector >::resize(unsigned) in stl_vector.h:452
[14] CPartFile_Encoder::Encode(CECTag*) in ExternalConn.cpp:845
[15] Get_EC_Response_GetDownloadQueue(CECPacket const*, CFileEncoderMap&) in ExternalConn.cpp:467
[16] ExternalConn::ProcessRequest2(CECPacket const*, CFileEncoderMap&, CFileEncoderMap&, CObjTagMap&) in ExternalConn.cpp:1044
[17] CECServerSocket::OnPacketReceived(CECPacket const*) in ExternalConn.cpp:95
[18] CECSocket::OnInput() in ECSocket.cpp:410
[19] CECSocketHandler::SocketHandler(wxSocketEvent&) in ECSocket.cpp:205
[20] wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const in /usr/lib/libwx_base-2.6.so.0[0x698474]
[21] wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) in /usr/lib/libwx_base-2.6.so.0[0x733c1c]
[22] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) in /usr/lib/libwx_base-2.6.so.0[0x733101]
[23] wxEvtHandler::ProcessEvent(wxEvent&) in /usr/lib/libwx_base-2.6.so.0[0x733d94]
[24] wxEvtHandler::ProcessPendingEvents() in /usr/lib/libwx_base-2.6.so.0[0x733b6f]
[25] wxAppConsole::ProcessPendingEvents() in /usr/lib/libwx_base-2.6.so.0[0x6983f5]
[26] CamuleDaemonApp::OnRun() in amuled.cpp:421
[27] wxEntry(int&, char**) in /usr/lib/libwx_base-2.6.so.0[0x6d823e]
[28] main in amuled.cpp:124
[29] __libc_start_main in /lib/tls/libc.so.6[0x925ad4]
[30] wxEvtHandler::ProcessEvent(wxEvent&) in :0
This error happend in some hours of use of aMule and thne crash.
-
I think I might have the same problem, except I do not get a backtrace. How do I get this? I'm running amuled with the "-f" option (#amuled -f).
Running on Debian 3.1 (Sarge) on a vserver. Could it be that there is a memory problem? Because when I install software (with amuled running in the background), I get errors, saying that there was not enough memory. When amuled is not running everything is fine.
Also, when I try compiling the source on that machine, I get:
(output of make after ./configure ...)
virtual memory exhausted: Cannot allocate memory
make[5]: *** [libec_noevt_a-ECSpecialTags.o] Error 1
make[5]: Leaving directory `/home/amule/src/aMule-2.1.1/src/libs/ec'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/amule/src/aMule-2.1.1/src/libs/ec'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/amule/src/aMule-2.1.1/src/libs'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/amule/src/aMule-2.1.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/amule/src/aMule-2.1.1'
make: *** [all] Error 2
So, that's why I installed from apt-get (sources.list: deb http://amule-debian.dyndns.org/ debian/).
-
Ajayu,
Upgrade aMule and wxWidgets and then test it again.
geek.de.nz,
Maybe you have no swap enabled?
Cheers!
-
Yes, I think that's the case, because if I do:
#mount
I get
/dev/vzfs on / type reiserfs (rw,usrquota,grpquota)
proc on /proc type proc (rw,nodiratime)
devpts on /dev/pts type devpts (rw)
tmpfs on /dev/shm type tmpfs (rw)
But how do I enable swap if I have no swap partition and I cannot create one because it's a vserver and I do not have physical access to it? The partitions are fixed. I thought tmpfs was the swap partition.
-
OK, I tried to follow http://www.redhat.com/docs/manuals/linux/RHL-8.0-Manual/custom-guide/s1-swap-adding.html
To add a swap file:
1.
Determine the size of the new swap file and multiple by 1024 to determine the block size. For example, the block size of a 64 MB swap file is 65536.
2.
At a shell prompt as root, type the following command with count being equal to the desired block size:
dd if=/dev/zero of=/swapfile bs=1024 count=65536
3.
Setup the swap file with the command:
mkswap /swapfile
4.
To enable the swap file immediately but not automatically at boot time:
swapon /swapfile
5.
To enable it at boot time, edit /etc/fstab to include:
/swapfile swap swap defaults 0 0
The next time the system boots, it will enable the new swap file.
6.
After adding the new swap file and enabling it, make sure it is enabled by viewing the output of the command cat /proc/swaps or free.
But after doing
#swapon /swapfile
I get
swapon: /swapfile: Operation not permitted
although I'm root. Is this maybe what they setup so that you cannot enable swap space?
But when I do
#free
I get
total used free shared buffers cached
Mem: 6216412 6206012 10400 0 84968 1255300
-/+ buffers/cache: 4865744 1350668
Swap: 8225200 6261632 1963568
I thought this would mean that I do have swap space (8225200) which I thought would be 8GB and that should be enough shouldn't it?
-
Swap partitions aren't shown om mount. I don't have that much experience with vservers, but messing around with partitions (and the swapfile is basically a loopback device IIRC) might not be allowed (for good reasons). your free output shows that there *is* swap space, but I think that is for the whole (physical) computer, all vservers included. And the management software will most certainly limit you to use not more than a limited ammount of that memory.
-
To be sure, do:
[me@mymachine]$ swapon -s
Filename Type Size Used Priority
/dev/hda2 partition 4096564 894912 -1
or
[me@mymachine]$ cat /proc/swaps
Filename Type Size Used Priority
/dev/hda2 partition 4096564 894912 -1
Good luck!