aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2

Author Topic: 2 Bugs in aMule 1.2.5  (Read 11081 times)

Galizah

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 35
2 Bugs in aMule 1.2.5
« on: February 13, 2004, 03:39:59 PM »

Hi folks,

there are two massive bugs in the new version.
I dunno if this apllies only for me, but I thought I should tell you about it...

My System:
Software:
Gentoo Linux 1.4 (Stage 2 install)
GTK 1.2
wxWindows 2.4

Hardware:
Pentium 4 2,66 Ghz (800 FSB)
1 GB RAM
200 GB HDD (aMule on 20 GB ReiserFS, Incoming, Temp, Shared on 170 GB FAT32)

1. CPU time
After a while aMule takes nearly 80% CPU time. All preferrences which you told on this board I have made. Without any success. I tried it with the source version (1.2.5) and the CVS version. There was no difference.

2. MET Files
When aMule and/or X crashed all MET and MET.BAK files are only zero byte files. So all downloads are gone. Tried to backup (before it crashes) and copy in the files again, but they aren't accepted.
In the Changelog of the 1.2.5 version you told that this problem was fixed, but it seems to be not.

If you need more information, please tell me!

Hope someone can help me...  :(

Greetings

Galizah
Logged
aMule online signature:
IMG

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: 2 Bugs in aMule 1.2.5
« Reply #1 on: February 13, 2004, 03:47:12 PM »

1. tell me your tweaks preferences -> refresh dl/up list

try to set it to realtime and be sure your wxgtk isn't linked against gtk2

2. hum, strange .. i let my amule crash smth if we need some bt's but the met files r always ok (amule & temp on reiser).. seems to be a vfat problem

greets

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: 2 Bugs in aMule 1.2.5
« Reply #2 on: February 13, 2004, 03:48:58 PM »

Weird.

1) Did you ompile wx yourself or use a packages? wx packages seem to be bugged on some distros

2) even more weird. a .BAK file is NEVER modified if .met is 0 size. the problem cold be the linux buffer before it writes to disk...
Logged

Galizah

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 35
Re: 2 Bugs in aMule 1.2.5
« Reply #3 on: February 13, 2004, 04:00:26 PM »

Woow this was a fast answer...  :baby:

Here's mine:

@deltaHF:
1)
It is set to realtime.
Client queue --> 2000.
File buffersize --> 240000 bytes.
Verbose --> off
Server update interval --> off
Max. connections every 5 sek. --> 20

2)
Hmm.. maybe a fat problem. I will test it.

@Kry:
1)
I use Gentoo stage 2 install, there is _EVERYTHING_ self compiled!  :D

2)
Same as for deltaHF. I will test it.

---

Tanks for great/fast help...

Are there any other suggestions?

Greetings

Galizah
Logged
aMule online signature:
IMG

Galizah

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 35
Re: 2 Bugs in aMule 1.2.5
« Reply #4 on: February 13, 2004, 04:01:55 PM »

Woops... wxWindows is linked against GTK 1.2!
Logged
aMule online signature:
IMG

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: 2 Bugs in aMule 1.2.5
« Reply #5 on: February 13, 2004, 04:02:12 PM »

wxgtk linked against...?

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: 2 Bugs in aMule 1.2.5
« Reply #6 on: February 13, 2004, 04:02:52 PM »

Quote
Originally posted by Galizah
Woops... wxWindows is linked against GTK 1.2!

gtk 1.x is good

Galizah

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 35
Re: 2 Bugs in aMule 1.2.5
« Reply #7 on: February 13, 2004, 04:05:30 PM »

And very fast again... great!

Maybe there is another problem? Perhaps wxWindows itself? I would give wxWindows 2.5 a try but dunno where to find it. Do you know where to get?

Or do you have another idea?

Greetings

Galizah
Logged
aMule online signature:
IMG

thepolish

  • Hero Member
  • *****
  • Karma: 2
  • Offline Offline
  • Posts: 896
Re: 2 Bugs in aMule 1.2.5
« Reply #8 on: February 13, 2004, 04:07:51 PM »

Hello,

Gentoo 1.4 here too, and no such problem ... both 1.2.5 and CVS works good

GTK 1.2 & Curl  from sys, wx & amule self compiled

amule on reiserfs, and only 1 Ghz little Via with 256 mo

and just have:

ps u -C amule
USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
fox       1536 30.0 12.1 44760 27240 pts/0   R    08:10 241:47 /opt/amule-cvs-db
fox       1537  0.0 12.1 44760 27240 pts/0   S    08:10   0:00 /opt/amule-cvs-db
fox       1538  0.0 12.1 44760 27240 pts/0   S    08:10   0:21 /opt/amule-cvs-db

Is wx from gentoo or compiled yourself ?

the polish
Logged
Only after the last tree has been cut down
Only after the last river has been poisoned
Only after the last fish has been caught
Only then you will find out that money cannot be eaten
(Cree Prophecy)

thepolish

  • Hero Member
  • *****
  • Karma: 2
  • Offline Offline
  • Posts: 896
Re: 2 Bugs in aMule 1.2.5
« Reply #9 on: February 13, 2004, 04:11:49 PM »

PS: NOTHING is self compiled in gentoo, because it is gentoo which chooses the configure options ... so could be quite different for wx than in DeltaHF howto ...

Ive 2.4.2 and works well, no need 2.5 ... and could be even more difficult with it

mine are:

  458  CFLAGS="-O2 -march=i686 -msse -mmmx -mfpmath=sse -fomit-frame-pointer -pipe" CXXLAGS="-O2 -march=i686 -msse -mmmx -mfpmath=sse -fomit-frame-pointer -pipe" ./configure --prefix=/opt/wx --enable-shared --disable-gui --enable-soname --with-zlib=sys --enable-std_iostreams --enable-intl

  475  CFLAGS="-O2 -march=i686 -msse -mmmx -mfpmath=sse -fomit-frame-pointer -pipe" CXXLAGS="-O2 -march=i686 -msse -mmmx -mfpmath=sse -fomit-frame-pointer -pipe" ./configure --prefix=/opt/wx --disable-gtk2 --enable-timedate --enable-gui --enable-protocol --enable-http --enable-ftp --enable-resources --enable-prologio --disable-debug --enable-final --enable-timer --with-gtk --disable-profile --enable-soname --enable-dynamic-loader --enable-std_iostreams --enable-intl

the polish
« Last Edit: February 13, 2004, 04:13:39 PM by thepolish »
Logged
Only after the last tree has been cut down
Only after the last river has been poisoned
Only after the last fish has been caught
Only then you will find out that money cannot be eaten
(Cree Prophecy)

Galizah

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 35
Re: 2 Bugs in aMule 1.2.5
« Reply #10 on: February 13, 2004, 04:18:32 PM »

It's self compiled.

Here is my ps output:
Code: [Select]
ps u -C amule
USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
galizah   8150 49.9  15.1 44632 31536 ?       S    07:53  279:40 amule
galizah   8151  0.0  15.1 44632 31536 ?       S    07:53   0:00 amule
galizah   8152  0.0  15.1 44632 31536 ?       S    07:53   0:25 amule

Compiler options:

458 CFLAGS="-O2 -march=pentium4 -msse -mmmx -mfpmath=sse -fomit-frame-pointer -pipe" CXXLAGS="-O2 -march=pentium4 -msse -mmmx -mfpmath=sse -fomit-frame-pointer -pipe" ./configure --prefix=/usr/local/wx --enable-shared --disable-gui --enable-soname --with-zlib=sys --enable-std_iostreams --enable-intl

475 CFLAGS="-O2 -march=pentium4 -msse -mmmx -mfpmath=sse -fomit-frame-pointer -pipe" CXXLAGS="-O2 -march=pentium4 -msse -mmmx -mfpmath=sse -fomit-frame-pointer -pipe" ./configure --prefix=/usr/local/wx --disable-gtk2 --enable-timedate --enable-gui --enable-protocol --enable-http --enable-ftp --enable-resources --enable-prologio --disable-debug --enable-final --enable-timer --with-gtk --disable-profile --enable-soname --enable-dynamic-loader --enable-std_iostreams --enable-intl

It's nearly the same...

Greetings

Galizah
« Last Edit: February 13, 2004, 04:23:02 PM by Galizah »
Logged
aMule online signature:
IMG

Galizah

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 35
Re: 2 Bugs in aMule 1.2.5
« Reply #11 on: February 13, 2004, 04:22:09 PM »

BTW: I don't mean everything is compiled with own options, but every thing is compiled and not installed from binary. It was my wrong diction... sorry about that...
Logged
aMule online signature:
IMG

thepolish

  • Hero Member
  • *****
  • Karma: 2
  • Offline Offline
  • Posts: 896
Re: 2 Bugs in aMule 1.2.5
« Reply #12 on: February 13, 2004, 04:24:59 PM »

very stange so, with your p4, u should have nearly 5% 10% ...

Code: [Select]
bash-2.05b$ ldd /opt/amule-cvs-dbg/bin/amule
        libwx_gtk-2.4.so.0 => /opt/wx-2.4.2/lib/libwx_gtk-2.4.so.0 (0x4001d000)
        libgtk-1.2.so.0 => /usr/lib/libgtk-1.2.so.0 (0x40501000)
        libgdk-1.2.so.0 => /usr/lib/libgdk-1.2.so.0 (0x4065a000)
        libgmodule-1.2.so.0 => /usr/lib/libgmodule-1.2.so.0 (0x40693000)
        libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0x40696000)
        libdl.so.2 => /lib/libdl.so.2 (0x406bc000)
        libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x406bf000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x406c7000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x406d5000)
        libz.so.1 => /lib/libz.so.1 (0x407b3000)
        libcurl.so.2 => /usr/lib/libcurl.so.2 (0x407c4000)
        libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0x407ef000)
        libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0x40820000)
        libstdc++.so.5 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libstdc++.so.
5 (0x4091f000)
        libm.so.6 => /lib/libm.so.6 (0x409d5000)
        libgcc_s.so.1 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc_s.so.1
(0x409f7000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x40a00000)
        libc.so.6 => /lib/libc.so.6 (0x40a52000)
        libgthread-1.2.so.0 => /usr/lib/libgthread-1.2.so.0 (0x40b82000)
        libpng.so.3 => /usr/lib/libpng.so.3 (0x40b85000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40bb1000)
        libtiff.so.3 => /usr/lib/libtiff.so.3 (0x40bcf000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

the polish
Logged
Only after the last tree has been cut down
Only after the last river has been poisoned
Only after the last fish has been caught
Only then you will find out that money cannot be eaten
(Cree Prophecy)

Galizah

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 35
Re: 2 Bugs in aMule 1.2.5
« Reply #13 on: February 13, 2004, 04:28:16 PM »

Here's mine LDD:

Code: [Select]
ldd /usr/local/bin/amule
        libwx_gtk-2.4.so => /usr/lib/libwx_gtk-2.4.so (0x40020000)
        libgtk-1.2.so.0 => /usr/lib/libgtk-1.2.so.0 (0x404eb000)
        libgdk-1.2.so.0 => /usr/lib/libgdk-1.2.so.0 (0x4064c000)
        libgmodule-1.2.so.0 => /usr/lib/libgmodule-1.2.so.0 (0x4068d000)
        libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0x40690000)
        libdl.so.2 => /lib/libdl.so.2 (0x406b5000)
        libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x406b8000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x406c1000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x406d1000)
        libz.so.1 => /usr/lib/libz.so.1 (0x407b3000)
        libcurl.so.2 => /usr/lib/libcurl.so.2 (0x407c4000)
        libssl.so.0.9.6 => /usr/lib/libssl.so.0.9.6 (0x407f1000)
        libcrypto.so.0.9.6 => /usr/lib/libcrypto.so.0.9.6 (0x40820000)
        libstdc++.so.5 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/libstdc++.so.5 (0x408f2000)
        libm.so.6 => /lib/libm.so.6 (0x409bd000)
        libgcc_s.so.1 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/libgcc_s.so.1 (0x409df000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x409e8000)
        libc.so.6 => /lib/libc.so.6 (0x40a37000)
        libgthread-1.2.so.0 => /usr/lib/libgthread-1.2.so.0 (0x40b5e000)
        libpng.so.3 => /usr/lib/libpng.so.3 (0x40b62000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40b8e000)
        libtiff.so.3 => /usr/lib/libtiff.so.3 (0x40bb8000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

I don't know why it uses so damn much cpu time...  ?(

Greetings

Galizah
Logged
aMule online signature:
IMG

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: 2 Bugs in aMule 1.2.5
« Reply #14 on: February 13, 2004, 04:32:01 PM »

try to play a bit with refresh dl/up lists .. disable, enable etc etc

whats your sources hard limit ?
Pages: [1] 2