aMule Forum
English => Multiplatform => Win32 => Topic started by: Radek on November 21, 2005, 03:07:14 PM
-
Hi, all!
I have a little problem with amulegui / WinXP.
The program just disappears after initial startup of the graphics screen. The graphics contents are shown partially, then the window closes and - nada. I don't see any error messages.
I am using amuled on Debian Sarge, amulecmd and amuleweb on the same Debain machine are working with no problems. All are compiled out of the same snapshot.
Last working combination was CVS 2005-10-26 (didn't try the snapshots between those two).
Any ideas?
-
yes there's a bug while reading amule.conf:
http://bugs.amule.org/view.php?id=420
http://bugs.amule.org/view.php?id=549
-
I have the same issue, but I'm not so sure it's about the bug you listed.
I tried to delete the amule conf files (that are now under Documents and Settings/"user"/Application data/aMule), but aMuleGUI exit without error after trying to draw the screen even when there isn't any configuration file.
-
@Athereal
I agree. I tried deleting remote.conf (not amule.conf, this file does not exist on my WinXP, as I only run amulegui), and it didn't make any difference.
Not even temporarily renaming the whole directory "...\aMule" made a difference.
-
same here. Is there a working version meanwhile?
-
should work again, try tomorrow svn
-
CVS-20051222 starts much faster than it's predecessors but crashes after some 40 seconds of "Loading...". My idea about these problems are, that the starting page "Servers" may not be the best choice. This page has a lot of data to load and display. Maybe that is the point of failure. If the program would start with some sort of neutral menu page, or so, it might be easier to handle.
This idea comes to my mind because in some of the previous versions I could observe a memory problem. After starting amule-gui it ate up all available memory (several hundred MB) and crashed some seconds later.
The message box of the current crash says something like (original text is in German)The instruction at address 0x00411e40 references memory at 0x00000024. The operation "Read" was not possible...
Same thing as CVS-20051212
I'll try it with debug enabled..
Tested build is with current Mingw, wx-Widgets-2.6.2 under WinXP Pro with all patches applied.
EDIT
ReadPacket: error [The socket is non-blocking and the operation would block] in socket
is what the debug version says. Otherwise the same message box and behaviour.
-
well try with wx-cvs, since when kry fixed it there was some huge problems aso in wx-cvs, which got fixed on the same day...
I run it here and both amule and amulegui work fine with wx-cvs!!
-
Tried with wxCVS and had the same crash as before. This is what was output at the MingW bash
$ 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 (Snapshot: Thu Dec 22 07:02:03 CET 2005) 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: error [The socket is non-blocking and the operation would block] in socket
I'll try the new snapshots...
-
hmm fuck
it definetly works here
$ 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: rev. 6185) 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:
Shutting down aMule...
aMule dialog destroyed
so I could send you a amulegui.exe from me, if ya want...just pm me your email address.
btw you had the same snapshot running on linux right?
-
Hi, Stefanero!
I tried the binary you sent me and it has the same behaviour! So it has to be sth different on my WinXP or in the configuration (or whatever) of amuled on my Debian Sarge.
At the moment I'm unable to link with wxCVS-unicode due to unresolved references in wx-corelib. Right now I'm compiling wxCVS with '--disable-unicode' again. That did work with yesterday's wxWidgets snapshot.
If that works with the current CVS, I'll make another debug build of amulegui and try to dig a little deeper into the problems.
-
well I am really clueless sorry, since it really works here without a big deal....
also at krys box
if you could provide some debug infos of any kind we would be really happy, alos maybe some infos what happens on your linux bos for example....
-
As I mentioned before, I had my problems with amulegui. Sometimes it worked, sometimes it didn't - with the same binary.
There have been issues with the memory management, as it ate up all free memory. After that, it either just disappeared or stayed and did business as usual.
That's the reason, why I am suspicious about the loading of the server list. This is the part of amulegui, which is displayed, when starting. And the crash appears after showing "Loading..." (bottom, left side) for about 40 seconds, so my guess is, that sth in EC is responsible.
On my linux box I can't see anything out of the order. The log tells me sth about an external client
2005-12-27 09:15:08: Neue externe Verbindung akzeptiert
2005-12-27 09:15:08: Verbinde zu Client: amule-remote 0x0001
2005-12-27 09:15:08: Zugang gewährt.
2005-12-27 09:15:48: Externe Verbindung getrennt.
The client has the same reproducible crash at the same address (varying with each new build, of course) , reading the same memory location 0x34 (which in fact is just an offset, the real address being 0).
I'll try to get GNU Debugger for MingW, so that I can produce one of your much loved backtraces 8)
The other possibility would be, if one of you developers could point me to some code parts, where to implement some debug prints (or send me a patch), which can be helpful to corner the evil bug, before shooting it. Would it help to have a debug build of amuled running on my linux box?
Meanwhile I'll fetch the new snapshots and try if sth has changed.
-
Back with gdb comments 8)
Program received signal SIGSEGV, Segmentation fault.
0x0088f956 in CECPacket::GetOpCode() const (this=0x0) at ECPacket.h:251
251 ec_opcode_t GetOpCode(void) const { return m_opCode; }
and the backtrace
(gdb) backtrace full
#0 0x0088f956 in CECPacket::GetOpCode() const (this=0x0) at ECPacket.h:251
No locals.
#1 0x00407a4d in CSharedFilesRem::HandlePacket(CECPacket const*) (
this=0x4c35d78, packet=0x0) at amule-remote-gui.cpp:851
No locals.
#2 0x004f0037 in CRemoteConnect::OnPacketReceived(CECPacket const*) (
this=0x4c0e818, packet=0x0) at RemoteConnect.cpp:149
handler = (class CECPacketHandlerBase *) 0x4c35d78
next_packet = (CECPacket *) 0x0
#3 0x004f7b0a in CECSocket::OnInput() (this=0x4c0e818) at ECSocket.cpp:410
packet = (const class {...} *) 0x0
reply = (const class {...} *) 0x1
bytes_rx = 0
#4 0x004f65dc in CECSocketHandler::SocketHandler(wxSocketEvent&) (
this=0x99ee70, event=@0x4c2f7c0) at ECSocket.cpp:205
socket = (CECSocket *) 0x4c0e818
#5 0x006d6168 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) ()
IDCCANCEL = 10085
IDCOK = 10084
IDCREF = 10088
IDC_3DDEP = 10253
IDC_3DDEPTH = 10254
IDC_ADDITEM = 10371
IDC_ADDNEWFILESPAUSED = 10195
IDC_AICHTRUST = 10194
IDC_AUTOCONNECT = 10178
IDC_AUTOCONNECTSTATICONLY = 10191
IDC_AUTOIPFILTER = 10336
IDC_AUTOSERVER = 10184
IDC_AUTOSORT = 10260
IDC_AUTO_DROP_TIMER = 10269
IDC_BROWSE = 10291
IDC_BROWSER = 10150
IDC_BROWSERSELF = 10152
IDC_BROWSERTABS = 10154
IDC_BROWSEV = 10215
IDC_BTN_BROWSE_WAV = 10231
IDC_BUTTONSTRIP = 10077
IDC_C0 = 10108
IDC_C0_2 = 10110
IDC_C0_3 = 10109
IDC_C1 = 10112
IDC_C1_2 = 10114
IDC_C1_3 = 10113
IDC_CANCELS = 10025
IDC_CATCOLOR = 10296
IDC_CB_TBN_IMPORTATNT = 10237
IDC_CB_TBN_ONCHAT = 10233
IDC_CB_TBN_ONDOWNLOAD = 10235
IDC_CB_TBN_ONLOG = 10232
IDC_CB_TBN_ONNEWVERSION = 10236
IDC_CB_TBN_POP_ALWAYS = 10234
IDC_CB_TBN_USESOUND = 10229
IDC_CCLOSE = 10041
IDC_CDIDENT = 10137
IDC_CHATSELECTOR = 10038
IDC_CHECKDISKSPACE = 10203
IDC_CLEAR_RESULTS = 10027
IDC_CLIENTVERSIONS = 10228
IDC_CMESSAGE = 10039
IDC_CMSTATUS = 10087
IDC_CMTBT = 10080
IDC_CMT_TEXT = 10081
IDC_COLORSELECTOR = 10224
IDC_COLOR_BUTTON = 10225
IDC_COMMENT = 10288
IDC_COMPLSIZE = 10067
IDC_CONVREMOVE = 10373
IDC_CONV_PB_CURRENT = 10369
IDC_CONV_PB_LABEL = 10367
IDC_CONV_PROZENT = 10368
IDC_CSEND = 10040
IDC_DAP = 10196
IDC_DATARATE = 10063
IDC_DCAP_LBL = 10162
IDC_DLIMIT_LBL = 10155
IDC_DOWNLOADSIZE = 10091
IDC_DOWNLOAD_CAP = 10163
IDC_ED2KDISCONNECT = 10308
IDC_EDITADR = 10185
IDC_EDITSEARCHEXTENSION = 10014
IDC_EDIT_TBN_WAVFILE = 10230
IDC_EMAIL = 10240
IDC_ENABLETRAYICON = 10146
IDC_ENABLE_AUTO_FQS = 10266
IDC_ENABLE_AUTO_HQRS = 10267
IDC_ENABLE_WEB = 10270
IDC_ENABLE_WEB_LOW = 10274
IDC_EXIT = 10145
IDC_EXTCATINFO = 10262
IDC_EXTENDEDSEARCHCHECK = 10010
IDC_EXT_CONN_ACCEPT = 10278
IDC_EXT_CONN_IP = 10279
IDC_EXT_CONN_PASSWD = 10281
IDC_EXT_CONN_TCP_PORT = 10280
IDC_FC_CLEAR = 10082
IDC_FD_LSTATS1 = 10069
IDC_FD_LSTATS2 = 10071
IDC_FD_LSTATS3 = 10073
IDC_FD_STATS1 = 10070
IDC_FD_STATS2 = 10072
IDC_FD_STATS3 = 10074
IDC_FD_X1 = 10042
IDC_FD_X10 = 10056
IDC_FD_X11 = 10060
IDC_FD_X12 = 10066
IDC_FD_X13 = 10062
IDC_FD_X14 = 10064
IDC_FD_X15 = 10052
IDC_FD_X2 = 10044
IDC_FD_X3 = 10046
IDC_FD_X4 = 10048
IDC_FD_X5 = 10050
IDC_FD_X7 = 10054
IDC_FD_X9 = 10058
IDC_FED2KLH = 10261
IDC_FHASH = 10047
IDC_FILEBUFFERSIZE = 10246
IDC_FILEBUFFERSIZE_STATIC = 10245
IDC_FILENAME = 10078
IDC_FILTER = 10340
IDC_FILTERCHECK = 10011
IDC_FLAT = 10255
IDC_FNAME = 10043
IDC_FSIZE = 10049
IDC_FULLCHUNKTRANS = 10199
IDC_HQR_VALUE = 10268
IDC_ICH = 10193
IDC_INCFILES = 10208
IDC_INCOMING = 10290
IDC_IPADDRESS = 10305
IDC_IPFILTERUPDATE = 10338
IDC_IPFILTERURL = 10337
IDC_IPFONOFF = 10334
IDC_IPFRELOAD = 10335
IDC_JOBLIST = 10370
IDC_KBS1 = 10157
IDC_KBS2 = 10164
IDC_KBS3 = 10167
IDC_KBS4 = 10160
IDC_LANGUAGE = 10142
IDC_LASTSEENCOMPL = 10053
IDC_LISTCTRLFILENAMES = 10075
IDC_LST = 10086
IDC_MANUALSERVERHIGHPRIO = 10192
IDC_MAXCON = 10175
IDC_MAXCON5SEC = 10244
IDC_MAXCON5SECLABEL = 10243
IDC_MAXCONLABEL = 10174
IDC_MAXDOWN = 10156
IDC_MAXSOURCEPERFILE = 10173
IDC_MAXSRCHARD_LBL = 10172
IDC_MAXUP = 10159
IDC_METFILE = 10045
IDC_MINDISKSPACE = 10205
IDC_MINTRAY = 10147
IDC_MSGFILTER = 10346
IDC_MSGFILTER_ALL = 10347
IDC_MSGFILTER_NONFRIENDS = 10348
IDC_MSGFILTER_NONSECURE = 10349
IDC_MSGFILTER_WORD = 10350
IDC_MSGWORD = 10351
IDC_NETWORKED2K = 10176
IDC_NETWORKKAD = 10177
IDC_NEWVERSION = 10143
IDC_NICK = 10141
IDC_NNS_HANDLING = 10265
IDC_NODESLISTURL = 10315
IDC_ONLINESIG = 10342
IDC_OSDIR = 10344
IDC_OSUPDATE = 10343
IDC_PARTAVAILABLE = 10061
IDC_PARTCOUNT = 10059
IDC_PERCENT = 10251
IDC_PFSTATUS = 10051
IDC_PORT = 10168
IDC_PREFCOLORS = 10223
IDC_PREVIEWPRIO = 10197
IDC_PRIOCOMBO = 10293
IDC_PROCCOMPL = 10068
IDC_PROGBAR = 10252
IDC_QUEUESIZE = 10248
IDC_QUEUESIZE_STATIC = 10247
IDC_RATELIST = 10083
IDC_RECONN = 10179
IDC_REMOVEDEAD = 10181
IDC_RENAME = 10079
IDC_RETRIES_LBL = 10183
IDC_RETRY = 10372
IDC_ROUND = 10256
IDC_S0 = 10117
IDC_S1 = 10119
IDC_S3 = 10116
IDC_SACCEPTED = 10103
IDC_SACCEPTED2 = 10104
IDC_SAFESERVERCONNECT = 10190
IDC_SCORE = 10188
IDC_SDOWNLOAD = 10026
IDC_SEARCHMAXSIZE = 10018
IDC_SEARCHMINSIZE = 10016
IDC_SEARCHNAME = 10007
IDC_SEARCH_RESET = 10008
IDC_SECIDENT = 10341
IDC_SEESHARES = 10327
IDC_SELBROWSER = 10153
IDC_SELINCDIR = 10209
IDC_SELOSDIR = 10345
IDC_SELSKINFILE = 10259
IDC_SELTEMPDIR = 10211
IDC_SENDMAIL = 10238
IDC_SERVERKEEPALIVE = 10250
IDC_SERVERKEEPALIVE_LABEL = 10249
IDC_SERVERLISTURL = 10303
IDC_SERVERNAME = 10304
IDC_SERVERRETRIES = 10182
IDC_SHAREHIDDENFILES = 10213
IDC_SHARESELECTOR = 10212
IDC_SHOWOVERHEAD = 10180
IDC_SHOWRATEONTITLE = 10263
IDC_SHOWSTATUSTEXT = 10002
IDC_SKINFILE = 10258
IDC_SLIDER = 10218
IDC_SLIDER2 = 10227
IDC_SLIDER3 = 10220
IDC_SLIDER4 = 10222
IDC_SLIDERINFO = 10217
IDC_SLIDERINFO2 = 10226
IDC_SLIDERINFO3 = 10219
IDC_SLIDERINFO4 = 10221
IDC_SLOTALLOC = 10161
IDC_SMARTIDCHECK = 10189
IDC_SMTP = 10239
IDC_SOURCECOUNT = 10055
IDC_SOURCECOUNT2 = 10057
IDC_SPINSEARCHAVAIBILITY = 10019
IDC_SPINSEARCHMAX = 10017
IDC_SPINSEARCHMIN = 10015
IDC_SPIN_PERM_DG = 10332
IDC_SPIN_PERM_DO = 10333
IDC_SPIN_PERM_DU = 10331
IDC_SPIN_PERM_FG = 10329
IDC_SPIN_PERM_FO = 10330
IDC_SPIN_PERM_FU = 10328
IDC_SPORT = 10306
IDC_SRCSEEDS = 10202
IDC_SREQUESTED = 10100
IDC_SREQUESTED2 = 10102
IDC_STARTMIN = 10144
IDC_STARTNEXTFILE = 10200
IDC_STARTNEXTFILE_SAME = 10201
IDC_STARTS = 10024
IDC_STATIC = 10242
IDC_STATIC_COLOR = 10294
IDC_STATIC_COMMENT = 10287
IDC_STATIC_INCOMING = 10289
IDC_STATIC_PRIO = 10292
IDC_STATIC_TITLE = 10285
IDC_STRANSFERED = 10105
IDC_STRANSFERED2 = 10106
IDC_TAKEOVER = 10076
IDC_TEMPFILES = 10210
IDC_TITLE = 10286
IDC_TOOLTIPDELAY = 10149
IDC_TOOLTIPDELAY_LBL = 10148
IDC_TRANSFERED = 10065
IDC_TypeSearch = 10012
IDC_UAP = 10198
IDC_UCAP_LBL = 10165
IDC_UDPDISABLE = 10170
IDC_UDPPORT = 10169
IDC_ULIMIT_LBL = 10158
IDC_UPDATESERVERCLIENT = 10187
IDC_UPDATESERVERCONNECT = 10186
IDC_UPLOAD_CAP = 10166
IDC_USESKIN = 10257
IDC_VERTTOOLBAR = 10264
IDC_VIDEOBACKUP = 10216
IDC_VIDEOPLAYER = 10214
IDC_WARNING = 10241
IDC_WEBTEMPLATE = 10277
IDC_WEB_GZIP = 10273
IDC_WEB_PASSWD = 10275
IDC_WEB_PASSWD_LOW = 10276
IDC_WEB_PORT = 10271
IDC_WEB_REFRESH_TIMEOUT = 10272
ID_ABOUT = 10386
ID_ACTIVEC = 10118
ID_ADDFRIEND = 10096
ID_ADDTOLIST = 10307
ID_ANIMATE = 10089
ID_AUTOCATASSIGN = 10013
ID_BOX_CATCOLOR = 10295
ID_BTNCLRCOMPL = 10030
ID_BTNRELSHARED = 10098
ID_BTNSWITCHUP = 10034
ID_BTN_RESET = 10301
ID_BTN_RESET_SERVER = 10299
ID_BUTTONCONNECT = 10377
ID_BUTTONIMPORT = 10385
ID_BUTTONMESSAGES = 10382
ID_BUTTONNETWORKS = 10378
ID_BUTTONNEWPREFERENCES = 10384
ID_BUTTONSEARCH = 10379
ID_BUTTONSHARED = 10381
ID_BUTTONSTATISTICS = 10383
ID_BUTTONTRANSFER = 10380
ID_BUTTON_FAST = 10001
ID_CATEGORIES = 10031
ID_CLIENTCOUNT = 10035
ID_CLIENTLIST = 10036
ID_CLIENTTOGGLE = 10033
ID_CLOSEDLG = 10097
ID_CLOSEWND = 10140
ID_CLOSEWNDFD = 5100
ID_CUSTOMBROWSETEXT = 10151
ID_DAVDR = 10130
ID_DAVUR = 10131
ID_DDOWN = 10132
ID_DDOWNLOADING = 10129
ID_DDOWNTOTAL = 10134
ID_DDUP = 10133
ID_DEBUGCATS = 10366
ID_DHASH = 10122
ID_DID = 10126
ID_DIP = 10125
ID_DLOADLIST = 10032
ID_DLOADSCOPE = 10107
ID_DNAME = 10121
ID_DRATING = 10138
ID_DRATIO = 10136
ID_DSCORE = 10139
ID_DSIP = 10127
ID_DSNAME = 10128
ID_DSOFT = 10123
ID_DUPTOTAL = 10135
ID_DVERSION = 10124
ID_EC_LOGIN = 10362
ID_EC_PASSWD = 10363
ID_EC_SAVE = 10364
ID_ED2KINFO = 10326
ID_FILTER = 10021
ID_FILTER_INVERT = 10022
ID_FILTER_KNOWN = 10023
ID_FILTER_TEXT = 10020
ID_FRIENDLIST = 10037
ID_GAUGE = 10101
ID_HTTPCANCEL = 5101
ID_HTTPDOWNLOADPROGRESS = 10090
ID_IPADDRESS = 10092
ID_IPFILTERLEVEL = 10339
ID_IPORT = 10093
ID_KADDISCONNECT = 10324
ID_KADINFO = 10375
ID_KADSCOPE = 10316
ID_KNOWNNODECONNECT = 10323
ID_LINE = 10004
ID_LOCALENEVERAGAIN = 10313
ID_LOCALETEXT = 10311
ID_LOGVIEW = 10300
ID_MINDISKTEXT = 10204
ID_NETNOTEBOOK = 10376
ID_NODECONNECT = 10322
ID_NODE_IP1 = 10317
ID_NODE_IP2 = 10318
ID_NODE_IP3 = 10319
ID_NODE_IP4 = 10320
ID_NODE_PORT = 10321
ID_NOTEBOOK = 10028
ID_OK = 10312
ID_ONCMPLT = 10206
ID_ONCMPLT_TEXT = 10207
ID_OTHERS = 10115
ID_PREFSLISTCTRL = 10282
ID_PREFS_CANCEL_TOP = 10284
ID_PREFS_OK_TOP = 10283
ID_PROXY_AUTO_SERVER_CONNECT_WITHOUT_PROXY = 10359
ID_PROXY_ENABLE_PASSWORD = 10356
ID_PROXY_ENABLE_PROXY = 10352
ID_PROXY_NAME = 10354
ID_PROXY_PASSWORD = 10358
ID_PROXY_PORT = 10355
ID_PROXY_TYPE = 10353
ID_PROXY_USER = 10357
ID_REMOTE_HOST = 10360
ID_REMOTE_PORT = 10361
ID_SEARCHPROGRESS = 10029
ID_SEARCHTYPE = 10009
ID_SERVERINFO = 10298
ID_SERVERLIST = 10309
ID_SHFILELIST = 10099
ID_SPLATTER = 10297
ID_SRVLOG_NOTEBOOK = 10310
ID_SRV_SPLITTER = 10006
ID_STATICBITMAP = 10005
ID_STATICETXT = 10374
ID_STATICTEXT = 10325
ID_TEXT = 10003
ID_TEXTCTRL = 10000
ID_TEXT_CLIENT_UDP_PORT = 10171
ID_TREECTRL = 10120
ID_ULOADSCOPE = 10111
ID_UPDATEKADLIST = 10314
ID_UPDATELIST = 10302
ID_USERHASH = 10095
ID_USERNAME = 10094
ID_VERBOSEDEBUG = 10365
wxIMAGE_ALPHA_OPAQUE = 255 'ÿ'
wxIMAGE_ALPHA_THRESHOLD = 128 '\200'
wxIMAGE_ALPHA_TRANSPARENT = 0 '\0'
wxInvalidOffset = -1
wxInvalidTextCoord = -2
wxOutOfRangeTextCoord = -1
wxTREE_HITTEST_ABOVE = 1
wxTREE_HITTEST_BELOW = 2
wxTREE_HITTEST_NOWHERE = 4
wxTREE_HITTEST_ONITEM = 80
wxTREE_HITTEST_ONITEMBUTTON = 8
wxTREE_HITTEST_ONITEMICON = 16
wxTREE_HITTEST_ONITEMINDENT = 32
wxTREE_HITTEST_ONITEMLABEL = 64
wxTREE_HITTEST_ONITEMLOWERPART = 4096
wxTREE_HITTEST_ONITEMRIGHT = 128
wxTREE_HITTEST_ONITEMSTATEICON = 256
wxTREE_HITTEST_ONITEMUPPERPART = 2048
wxTREE_HITTEST_TOLEFT = 512
wxTREE_HITTEST_TORIGHT = 1024
CFileDetailListCtrl::sm_eventHashTable = {m_table = @0x9233b0,
m_rebuildHash = true, m_size = 31, m_eventTypeTable = 0x3ec280,
static sm_first = 0x99b064, m_previous = 0x99fe20, m_next = 0x99ff30}
CFileDetailListCtrl::sm_eventTable = {baseTable = 0x9222b0,
entries = 0x99fec0}
CFileDetailListCtrl::sm_eventTableEntries = {
{ = {m_id = 10075, m_lastId = -1, m_fn = {__pfn = (
void ( struct wxObject::*)(struct wxEvent &)) 728295, __delta = 0},
m_callbackUserData = 0x0}, m_eventType = @0x9a1fdc},
{ = {m_id = 0, m_lastId = 0, m_fn = {__pfn = (gdb) invalid pointer to member function
All of this is from yesterday's snapshot. I am currently compiling today's snapshot of amuled with debug enabled to see what's happening on my linux box.
-
Radek: is there anything printed on console ? Error/Debug/Log messages ?
#1 0x00407a4d in CSharedFilesRem::HandlePacket(CECPacket const*) (
this=0x4c35d78, packet=0x0) at amule-remote-gui.cpp:851
When such thing (packet=0x0) happen, I would expect some error message printed before.
-
@Ifroen
In MingW bash only thisReadPacket: error [The socket is non-blocking and the operation would block] in socket
Full output in this post above (http://forum.amule.org/thread.php?postid=46718#post46718). 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.
-
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.
-
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 followsProgram 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"(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...Continuing.
Program received signal SIGSEGV, Segmentation fault.
0x6fbc1200 in __mingwthr_run_key_dtors ()
(gdb) cont
Continuing.
Program exited with code 030000000005.
(gdb)
-
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).$ 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
-
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$ 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
-
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
-
hey radek,
nice to hear that :)
funny no big changes were made to EC or amule-remote-gui but ok 8)
-
@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 (http://ed2k://|file|aMule-Win32-CVS20060109.zip|5236924|EBCC6A37091103A9064CEA7FF7D78536|/) . 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.
-
Thank you Radek. It's working without any problems now. :D
-
I tried again with today's snapshot (after a little patching, see here (http://forum.amule.org/thread.php?threadid=8769&sid=) and here (http://forum.amule.org/thread.php?threadid=8768&sid=)). 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 (http://ftp://kieselei.de/aMule-Win32/) and ed2k (http://ed2k://|file|aMule-Win32-CVS20060112.zip|5326093|D25584ECE02D5C94C342CA4C48C3711D|/|sources,62.143.40.154:4883|/), too. I will continue to do so for the versions I compile here.