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 3 [4] 5 6

Author Topic: interface hangs after completing big files  (Read 34611 times)

Kanniball

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 107
Re: interface hangs after completing big files
« Reply #45 on: January 26, 2004, 02:33:18 PM »

still no lucky! after compiling wxgtk and wxbase as in the how-to (only prefix difers from /usr to /usr/local) amule gives erros on compiling.... (amule 1.2.4 and cvs)


./configure --disable-debug --enable-optimise

.....


checking for wx-config... /usr/local/bin/wx-config
checking for wxWindows version >= 2.4.0... yes (version 2.4.2)
checking for wxbase-2.4-config... /usr/local/bin/wxbase-2.4-config
checking for wxWindows base version >= 2.4.0... yes (version 2.4.2)
checking for curl >= 7.9.7... yes (version 7.10.8)
checking if wxWindows was linked with GTK2... no
checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.2.0... yes
checking if wxWindows version >=2.5.0 ... no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes

...........


/usr/local/include/wx/window.h:1079: non-member function `const wxEventTable*
   GetEventTable()' cannot have `const' method qualifier
/usr/local/include/wx/window.h:1080: syntax error before `}' token
/usr/local/include/wx/window.h:1155: no `wxWindow*
   wxWindowBase::GetGrandParent() const' member function declared in class `
   wxWindowBase'
/usr/local/include/wx/window.h: In member function `wxWindow*
   wxWindowBase::GetGrandParent() const':
/usr/local/include/wx/window.h:1156: invalid use of undefined type `struct
   wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
In file included from /usr/local/include/wx/iconbndl.h:21,
                 from /usr/local/include/wx/toplevel.h:26,
                 from /usr/local/include/wx/dialog.h:21,
                 from /usr/local/include/wx/generic/textdlgg.h:21,
                 from /usr/local/include/wx/textdlg.h:4,
                 from TextClient.h:25,
                 from TextClient.cpp:27:
/usr/local/include/wx/gdicmn.h: At global scope:
/usr/local/include/wx/gdicmn.h:203: `struct NewControlId()::wxSize' used prior
   to declaration
/usr/local/include/wx/gdicmn.h:234: confused by earlier errors, bailing out
make[2]: *** [amulecmdDLG-TextClient.o] Error 1
make[2]: Leaving directory `/home/kanniball/programs/amule/aMule-1.2.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/kanniball/programs/amule/aMule-1.2.4'
make: *** [all] Error 2
Logged

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: interface hangs after completing big files
« Reply #46 on: January 26, 2004, 02:59:58 PM »

ls -l /usr/bin/wx*
ls -l /usr/local/bin/wx*

plz ;)


btw ..

Quote
02:56pm I whant to inform the room that after a bit of tinkering about I maneged to get it runing smoothly
02:57pm what I did was -->
02:57pm USE=" -unicode -gtk2" ACCEPT_KEYWORDS="~x86" emerge wxGTK
02:58pm USE=" -unicode -gtk2" ACCEPT_KEYWORDS="~x86" emerge amule
02:58pm good likes and thanks for a n exlent program
02:58pm !!!!!

Kanniball

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 107
Re: interface hangs after completing big files
« Reply #47 on: January 26, 2004, 04:00:24 PM »

ls -l /usr/bin/wx*
ls: /usr/bin/wx*: No such file or directory
kanniball aMule-1.2.4 #  ls -l /usr/bin/wx*
ls: /usr/bin/wx*: No such file or directory
kanniball aMule-1.2.4 # ls -l /usr/local/bin/wx*
lrwxrwxrwx    1 root     root           17 Jan 26 13:09 /usr/local/bin/wx-config -> wxbase-2.4-config
-rwxr-xr-x    1 root     root         4871 Jan 26 13:09 /usr/local/bin/wxbase-2.4-config
-rwxr-xr-x    1 root     root         5063 Jan 26 13:03 /usr/local/bin/wxgtk-2.4-config
kanniball aMule-1.2.4 #

Anyway I'm gonna try what wolf_99 says in the quote...

I have zlib-1.1.4-r2, should I need to update it in order to run amule?
« Last Edit: January 26, 2004, 04:04:46 PM by Kanniball »
Logged

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: interface hangs after completing big files
« Reply #48 on: January 26, 2004, 04:42:39 PM »

no, i didn't read enough my howto.. u forgot to link wx-config & wxbase-config ...! :(

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: interface hangs after completing big files
« Reply #49 on: January 26, 2004, 04:44:36 PM »

Quote
kanniball aMule-1.2.4 # ls -l /usr/local/bin/wx*
lrwxrwxrwx 1 root root 17 Jan 26 13:09 /usr/local/bin/wx-config -> wxbase-2.4-config
-rwxr-xr-x 1 root root 4871 Jan 26 13:09 /usr/local/bin/wxbase-2.4-config
-rwxr-xr-x 1 root root 5063 Jan 26 13:03 /usr/local/bin/wxgtk-2.4-config
kanniball aMule-1.2.4 #

Quote
as root:

make install
ln -sf /usr/bin/wxgtk-2.4-config /usr/bin/wx-config
ln -sf /usr/bin/wxbase-2.4-config /usr/bin/wxbase-config
ldconfig

u must then ->

ln -sf /usr/local/bin/wxgtk-2.4-config /usr/local/bin/wx-config
ln -sf /usr/local/bin/wxbase-2.4-config /usr/local/bin/wxbase-config
ldconfig

now rerun ./configure ..


edit: zlib 1.2.0 would be better, yap

GhePeU

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 240
Re: interface hangs after completing big files
« Reply #50 on: January 26, 2004, 08:11:39 PM »

i can confirm same problem in amule CVS

i'll try recompiling wxGTK
Logged
When they kick at your front door
how you gonna come?
with your hands on your head
or on the trigger of your gun

Kanniball

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 107
Re: interface hangs after completing big files
« Reply #51 on: January 26, 2004, 09:38:46 PM »

02:56pm I whant to inform the room that after a bit of tinkering about I maneged to get it runing smoothly
02:57pm what I did was -->
02:57pm USE=" -unicode -gtk2" ACCEPT_KEYWORDS="~x86" emerge wxGTK
02:58pm USE=" -unicode -gtk2" ACCEPT_KEYWORDS="~x86" emerge amule
02:58pm good likes and thanks for a n exlent program
02:58pm !!!!!

I've tried this but it stills hangs.... I really don't know what to do.... I think the problem is in amule, but only in the interface, since it downloads & uploads...
Logged

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: interface hangs after completing big files
« Reply #52 on: January 26, 2004, 10:24:41 PM »

well, if it's amule problem then everyone should have it.. and it isn't so..
did u read my last post? u forgot to link smth, thats why u can't compile the src

greets

Kanniball

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 107
Re: interface hangs after completing big files
« Reply #53 on: January 27, 2004, 12:06:51 AM »

for now I'm gonna wait for finnishing some downloads, because even with the interface hanged I can download... when I need to close amule I will do it...
Anyway there are any changes to have amule working with wxwindows in the future (next release)?
Logged

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: interface hangs after completing big files
« Reply #54 on: January 27, 2004, 12:10:31 AM »

in the future we plane some changes, yes..

i won't say maybe it's a bit more gentoo related (GhePeU & you), but it looks like..

ps. did u the symlinks now ?

werner

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 47
hang, maybe after completing
« Reply #55 on: January 27, 2004, 12:42:18 AM »

Today, I had a hang shortly after completing a file, too.
Last output:

completing->PerformFileComplete(NULL); !!!
FE...mumble...87: Suspending uploads of file.
FE...mumble...87: Resuming uploads of file.

(There were none of the usual good/bad messages afterwards, so the
hang must have occurred less than half an hour after the completion.
Note that I rarely get more than one completion per day, and hangs
don't happen more often than perhaps 2-3 times a month.)

The file in question was only about 6 MB. aMule was clearly hung,
not redrawing its window. I didn't check the CPU load. In previous
hangs of that kind, *Mule was actually idle.

Beginning of the backtrace (rest in attachment):

Program received signal SIGINT, Interrupt.
0x420751ba in calloc () from /lib/i686/libc.so.6
(gdb) where
#0  0x420751ba in calloc () from /lib/i686/libc.so.6
#1  0x42074827 in calloc () from /lib/i686/libc.so.6
#2  0x42075400 in calloc () from /lib/i686/libc.so.6
#3  0x420741a0 in realloc () from /lib/i686/libc.so.6
#4  0x40471fb4 in wxString::AllocBeforeWrite(unsigned) () from /usr/lib/libwx_gtk-2.4.so
#5  0x40472160 in wxString::GetWriteBuf(unsigned) () from /usr/lib/libwx_gtk-2.4.so
#6  0x4047349c in wxString::PrintfV(char const*, char*) () from /usr/lib/libwx_gtk-2.4.so
#7  0x4047346a in wxString::Printf(char const*, ...) () from /usr/lib/libwx_gtk-2.4.so
#8  0x0807bd1f in CUpDownClient::ReGetClientSoft() (this=0x903bd30) at BaseClient.cpp:1373
...

Putting a breakpoint at ReGetClientSoft and continung the program
did not cause the breakpoint to get triggered. gdb didn't let me put
breakpoints at wx* functions (seems weird - is this normal with
C++ ?), and I didn't have much time, so I gave up there.

- Werner
Logged

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: interface hangs after completing big files
« Reply #56 on: January 27, 2004, 12:45:11 AM »

werner.. plz don't use the attachments everytime .. we have to dl it  :(
post better everything here on forum  :baby:

werner

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 47
Re: interface hangs after completing big files
« Reply #57 on: January 27, 2004, 12:56:48 AM »

Quote
Originally posted by deltaHF
werner.. plz don't use the attachments everytime .. we have to dl it  :(

Ah, sorry, didn't realize that  they're such a pain ;(

- Werner
Logged

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: interface hangs after completing big files
« Reply #58 on: January 27, 2004, 01:00:44 AM »

np, for the future  :))

GhePeU

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 240
Re: interface hangs after completing big files
« Reply #59 on: January 27, 2004, 01:04:30 AM »

same problem with recompiled wxGTK 2.4.2

description:
Code: [Select]
1) download of last chunk ends
2) status bar becames green, status becames "completing", output tells "Sharing /dati/fileSharing/aMule/temp/001.part"
3) computer calculates file hash
4) hashing process ends, output tells "[New Thread 32771 (LWP 22092)] completing->PerformFileComplete(NULL); !!!"
5) output tells "$HASHCODE: Suspending uploads of file." "$HASHCODE: Removed user '$USERNAME'" "$HASHCODE: ReQueued user '$USERNAME'" repeated for every user downloading file, then "$HASHCODE: Resuming uploads of file."
6) status change to complete, interface freeze, no more redraw, dl/up continues


if there aren't users uploading, everything works flawlessy


pressing CTRL+C and giving bt full in gdb gives this backtrace

Code: [Select]
Program received signal SIGINT, Interrupt.
[Switching to Thread 16386 (LWP 21372)]
0x4073b6e4 in __pthread_sigsuspend () from /lib/libpthread.so.0
(gdb) bt
#0  0x4073b6e4 in __pthread_sigsuspend () from /lib/libpthread.so.0
#1  0x411dd940 in ?? ()
#2  0x4073b529 in __pthread_wait_for_restart_signal ()
   from /lib/libpthread.so.0
#3  0x40737f0b in pthread_cond_wait@GLIBC_2.0 () from /lib/libpthread.so.0
#4  0x40542dc9 in wxConditionInternal::Wait() () from /usr/lib/libwx_gtk-2.4.so
(gdb) bt full
#0  0x4073b6e4 in __pthread_sigsuspend () from /lib/libpthread.so.0
No symbol table info available.
#1  0x411dd940 in ?? ()
No symbol table info available.
#2  0x4073b529 in __pthread_wait_for_restart_signal ()
   from /lib/libpthread.so.0
No symbol table info available.
#3  0x40737f0b in pthread_cond_wait@GLIBC_2.0 () from /lib/libpthread.so.0
No symbol table info available.
#4  0x40542dc9 in wxConditionInternal::Wait() () from /usr/lib/libwx_gtk-2.4.so
No symbol table info available.
« Last Edit: January 27, 2004, 01:09:27 AM by GhePeU »
Logged
When they kick at your front door
how you gonna come?
with your hands on your head
or on the trigger of your gun
Pages: 1 2 3 [4] 5 6