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: [solved] amulegui just disappears again while starting...  (Read 17233 times)

Radek

  • Full Member
  • ***
  • Karma: 5
  • Offline Offline
  • Posts: 149
Re: [solved] amulegui just disappears again while starting...
« Reply #15 on: December 27, 2005, 04:12:09 PM »

@Ifroen
In MingW bash only this
Code: [Select]
ReadPacket: error [The socket is non-blocking and the operation would block] in socketFull output in this post above. The whole output is visible only after closing of amulegui.exe. Buffered output, I think.  So I can't really tell, if the error message on console is produced at the time the exception happens.

BTW: Today's snapshots have the same behaviour.
Logged
There are 10 kinds of people - those who are able to understand binary numbers and those who aren't...

lfroen

  • Guest
Re: [solved] amulegui just disappears again while starting...
« Reply #16 on: December 27, 2005, 04:21:56 PM »

I see. The thing is, that "The socket is non-blocking and the operation would block" should not be considered as error.
Thnx for report, I will check the code.
Logged

Radek

  • Full Member
  • ***
  • Karma: 5
  • Offline Offline
  • Posts: 149
Re: [solved] amulegui just disappears again while starting...
« Reply #17 on: December 31, 2005, 03:31:38 PM »

Tried today's (CVS-20051231) snapshot with wxCVS. Compilation without any problems.

amulegui is even starting and running without a crash (most of the time) but is not fully functional. After a few seconds the server list is displayed and scrollable, but in the status line the "Loading..." and "Not connected" strings don't change. Up- and download is 0, too.

Any other tabs or pages of the gui are there and display well, but don't have any content besides the static one like frames, buttons, texts, etc.

The settings window seems to be fully functional.

Every time I click on , amulegui crashes. Absolutely no output on the Mingw bash, not even the standard banner.
Backtrace in gdb as follows
Code: [Select]
Program received signal SIGSEGV, Segmentation fault.
0x7c97df51 in _libkernel32_a_iname ()
(gdb) bt
#0  0x7c97df51 in _libkernel32_a_iname ()
#1  0x003e0000 in ?? ()
#2  0x7c95a5d0 in _libkernel32_a_iname ()
#3  0x7c9368ad in _libkernel32_a_iname ()
#4  0x77bfc2de in _libkernel32_a_iname ()
#5  0x007c5035 in operator delete(void*) ()
#6  0x007f2067 in CQueuedData::~CQueuedData() (this=0x6413110) at ECSocket.h:57
#7  0x004f8c4b in CECSocket::OnInput() (this=0x4c429f0) at ECSocket.cpp:385
#8  0x004f796c in CECSocketHandler::SocketHandler(wxSocketEvent&) (
    this=0x9b7e50, event=@0x6415828) at ECSocket.cpp:205
#9  0x006d75a8 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) ()
#10 0x006d796c in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) ()
#11 0x006d89a9 in wxEvtHandler::ProcessEvent(wxEvent&) ()
#12 0x006d87e6 in wxEvtHandler::ProcessPendingEvents() ()
#13 0x006d3f34 in wxAppConsole::ProcessPendingEvents() ()
#14 0x0083e5e4 in _ZN18wxIdleWakeUpModule11MsgHookProcEijl@12 ()
#15 0x77d1eaf2 in _libkernel32_a_iname ()
#16 0x77d1ea9e in _libkernel32_a_iname ()
#17 0x77d1ebf3 in _libkernel32_a_iname ()
#18 0x7c91eae3 in _libkernel32_a_iname ()
#19 0x77d19402 in _libkernel32_a_iname ()
#20 0x77d2e1a9 in _libkernel32_a_iname ()
#21 0x77d261c6 in _libkernel32_a_iname ()
#22 0x77d3a92e in _libkernel32_a_iname ()
#23 0x77d3a294 in _libkernel32_a_iname ()
#24 0x77d65fbb in _libkernel32_a_iname ()
#25 0x77d50553 in _libkernel32_a_iname ()
#26 0x77d66137 in _libkernel32_a_iname ()
#27 0x00598b3d in wxApp::OnExceptionInMainLoop() ()
#28 0x00649ba3 in wxEventLoop::Run() ()
#29 0x005b2f6e in wxAppBase::MainLoop() ()
#30 0x00768347 in wxEntryReal(int&, wchar_t**) ()
#31 0x005b583a in wxEntry(HINSTANCE__*, HINSTANCE__*, char*, int) ()
#32 0x004028f0 in WinMain (hInstance=0x400000, hPrevInstance=0x0,
    lpCmdLine=0x251f13 "", nCmdShow=10) at amule-remote-gui.cpp:297
#33 0x007d2c0a in main ()
(gdb)
after "cont"
Code: [Select]
(gdb) cont
Continuing.

Program received signal SIGSEGV, Segmentation fault.
[Switching to thread 3500.0xd2c]
0x6fbc1200 in __mingwthr_run_key_dtors ()
(gdb) bt
#0  0x6fbc1200 in __mingwthr_run_key_dtors ()
#1  0x6fbc13a6 in DllMain@12 ()
#2  0x6fbc102b in lab ()
#3  0x7c9111a7 in _libkernel32_a_iname ()
#4  0x7c929213 in _libkernel32_a_iname ()
#5  0x7c80cce7 in _libkernel32_a_iname ()
#6  0x7c80cebf in _libkernel32_a_iname ()
#7  0x719bd650 in _libkernel32_a_iname ()
#8  0x7c80b50b in _libkernel32_a_iname ()
(gdb)
more "cont"s...
Code: [Select]
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x6fbc1200 in __mingwthr_run_key_dtors ()
(gdb) cont
Continuing.

Program exited with code 030000000005.
(gdb)
« Last Edit: December 31, 2005, 03:35:33 PM by Radek »
Logged
There are 10 kinds of people - those who are able to understand binary numbers and those who aren't...

Radek

  • Full Member
  • ***
  • Karma: 5
  • Offline Offline
  • Posts: 149
aMule 2.1.0
« Reply #18 on: January 02, 2006, 03:49:06 PM »

Next try with release 2.1.0

amulegui starts and keeps running w/o crashes (mostly - 1 of 8 tries did crash at the statistics page).

But - same as above. I can see the gui and I can see the server list, but all of the rest is w/o content. The kad tab in the server list only shows an empty diagram, same as statistics page, shared files are empty, ...

Status line shows "Loading..." and "not connected".

Once I got some error message on the console (this did not crash, btw).
Code: [Select]
$ src/amulegui.exe
Connecting...
Going to event loop...
Remote GUI EC event handler
LOG: Succeeded! Connection established to aMule 2.1.0
LOG:
LOG:  - This is aMule 2.1.0 using wxMSW v2.7.0 (Unicoded) based on eMule.
LOG:    Running on Windows XP (build 2600, Service Pack 2)
LOG:  - Visit [URL]http://www.amule.org[/URL] to check if a new version is available.
LOG:
ReadPacket: packet have invalid flags b67e6763CECSocket error: Invalid socket (uninitialized)
CECSocket error: Invalid socket (uninitialized)
Shutting down aMule...
aMule dialog destroyed
« Last Edit: January 02, 2006, 03:49:41 PM by Radek »
Logged
There are 10 kinds of people - those who are able to understand binary numbers and those who aren't...

Radek

  • Full Member
  • ***
  • Karma: 5
  • Offline Offline
  • Posts: 149
amulgui.exe from CVS 20060108 seems to work at last
« Reply #19 on: January 08, 2006, 03:16:17 PM »

Hi!

I just tried today's snapshot amuleCVS-20060108 and for the first time in months I could connect from WinXP to my Debian box without any problems!

The overall process of connecting and displaying the window with the server list is significantly faster now (maybe 2s versus >40s for older versions). And now I actually see servers :-)

I don't see statistics, though. These graphs and the graph on the Kad tab are empty except for the grid. Some other informaions are missing, too. But I think these things just aren't implemented yet. Or for the graphs maybe I am missing some library. I'll check later.

Output in MSys bash
Code: [Select]
$ src/amulegui.exe
Connecting...
Going to event loop...
Remote GUI EC event handler
LOG: Succeeded! Connection established to aMule CVS
LOG:
LOG:  - This is aMule CVS using wxMSW v2.7.0 (Unicoded) (Snapshot: Sun Jan  8 07:02:10 CET 2006) based on eMule.
LOG:    Running on Windows XP (build 2600, Service Pack 2)
LOG:  - Visit [URL]http://www.amule.org[/URL] to check if a new version is available.
LOG:
RLE_Data: decoding error. 1 bytes decoded to 1 instead of 11
RLE_Data: decoding error. 6 bytes decoded to 6 instead of 1537
RLE_Data: decoding error. 2 bytes decoded to 2 instead of 14716
RLE_Data: decoding error. 12 bytes decoded to 12 instead of 31845
RLE_Data: decoding error. 76 bytes decoded to 76 instead of 13874
RLE_Data: decoding error. 1 bytes decoded to 1 instead of 17990
RLE_Data: decoding error. 2 bytes decoded to 2 instead of 10546
RLE_Data: decoding error. 1 bytes decoded to 1 instead of 11
RLE_Data: decoding error. 4 bytes decoded to 6 instead of 1537
RLE_Data: decoding error. 3 bytes decoded to 3 instead of 14716
RLE_Data: decoding error. 3 bytes decoded to 13 instead of 31845
RLE_Data: decoding error. 3 bytes decoded to 77 instead of 13874
...
RLE_Data: decoding error. 3 bytes decoded to 77 instead of 13874
RLE_Data: decoding error. 1 bytes decoded to 1 instead of 17990
RLE_Data: decoding error. 3 bytes decoded to 3 instead of 10546
EC error - packet received, but request fifo is empty
ReadPacket: packet have invalid flags 0c0a1e04CECSocket error: Invalid socket (uninitialized)
CECSocket error: Invalid socket (uninitialized)
CECSocket error: Invalid socket (uninitialized)
CECSocket error: Invalid socket (uninitialized)
CECSocket error: Invalid socket (uninitialized)
CECSocket error: Invalid socket (uninitialized)
CECSocket error: Invalid socket (uninitialized)
CECSocket error: Invalid socket (uninitialized)
CECSocket error: Invalid socket (uninitialized)
CECSocket error: Invalid socket (uninitialized)
CECSocket error: Invalid socket (uninitialized)
CECSocket error: Invalid socket (uninitialized)
CECSocket error: Invalid socket (uninitialized)
CECSocket error: Invalid socket (uninitialized)
CECSocket error: Invalid socket (uninitialized)
CECSocket error: Invalid socket (uninitialized)
CECSocket error: Invalid socket (uninitialized)
CECSocket error: Invalid socket (uninitialized)
CECSocket error: Invalid socket (uninitialized)
CECSocket error: Invalid socket (uninitialized)
CECSocket error: Invalid socket (uninitialized)
CECSocket error: Invalid socket (uninitialized)
Shutting down aMule...
aMule dialog destroyed
Logged
There are 10 kinds of people - those who are able to understand binary numbers and those who aren't...

JanG

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 82
Re: [solved] amulegui just disappears again while starting...
« Reply #20 on: January 08, 2006, 09:14:22 PM »

If I understand you right, you have a compiled remote gui for win32 made of the last cvs snapshot ? could you host it somewhere or mail it to me ? Cause I'm having some little problems too and no clue how to compile windows binaries. thx
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: [solved] amulegui just disappears again while starting...
« Reply #21 on: January 08, 2006, 09:36:34 PM »

hey radek,

nice to hear that :)
funny no big changes were made to EC or amule-remote-gui but ok  8)
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Radek

  • Full Member
  • ***
  • Karma: 5
  • Offline Offline
  • Posts: 149
Re: [solved] amulegui just disappears again while starting...
« Reply #22 on: January 09, 2006, 05:26:29 PM »

@Stefanero
Yes, I'm surprised, too. Maybe it's just coincidence. Or maybe it's sth in wxCVS. But I don't really trust this peace at the front, yet :-)

I'll try the next few snapshots, too, before I consider the case closed ;-)

BTW: I could host the Windows-GUI (and maybe the monolithic app, too) as wishes.  If it's ok, I would start a thread in "Packages in Development versions" for this.

@JanG
I compiled today's snapshot, zipped it and put it on http://ftp://kieselei.de/aMule-Win32/. Also I put it on an aMule-Share .  The archive contains amulegui.exe, amule.exe, amulecmd.exe and the mingwm10.dll.

Today's amulegui.exe crashes on exit, but is functioning otherwise.
amulecmd.exe is working with commandline parameters, but has no dialog. Never tried it before, no idea if this is normal.

All executables have been compiled with optimization enabled and without debug. Also they have been stripped.
« Last Edit: January 09, 2006, 07:57:05 PM by Radek »
Logged
There are 10 kinds of people - those who are able to understand binary numbers and those who aren't...

JanG

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 82
Re: [solved] amulegui just disappears again while starting...
« Reply #23 on: January 09, 2006, 08:21:26 PM »

Thank you Radek. It's working without any problems now.  :D
Logged

Radek

  • Full Member
  • ***
  • Karma: 5
  • Offline Offline
  • Posts: 149
Case closed (I hope)
« Reply #24 on: January 12, 2006, 12:06:58 PM »

I tried again with today's snapshot (after a little patching, see here and here). And it still worked 8)
So I consider the case closed and will change the thread title accordingly.

@JanG
I put today's binaries on FTP and ed2k, too. I will continue to do so for the versions I compile here.
Logged
There are 10 kinds of people - those who are able to understand binary numbers and those who aren't...
Pages: 1 [2]