aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: amuled (20050228) crashes after changing priority  (Read 1891 times)

Mr Faber

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 229
amuled (20050228) crashes after changing priority
« on: March 01, 2005, 08:42:23 PM »

amuled (20050228) without unicode crashes after changing priority in webinterface.
All files have per default priority auto. To change priority I have to press down to get Very High and click it again to have High and so on. If file has auto priority and I click up in webinterface amuled crashes. Maybe if I have very low and click down it crashes too.
I use wxWidgets 2.5.4.
Backtrace:
Code: [Select]
(gdb) bt
#0  0x0000002a956780f9 in raise () from /lib/libpthread.so.0
#1  0x0000002a957d0689 in DoShowAssertDialog (msg=@0x7484)
    at ./src/common/appbase.cpp:683
#2  0x0000002a957d069c in wxAppTraitsBase::ShowAssertDialog(wxString const&) (
    this=0x7484, msg=@0x7484) at ./src/common/appbase.cpp:529
#3  0x0000002a957d06b9 in wxConsoleAppTraitsBase::ShowAssertDialog(wxString const&) (this=0x7484, msg=@0x7484) at ./src/common/appbase.cpp:494
#4  0x0000002a957d088f in ShowAssertDialog (
    szFile=0x515700 "DownloadQueue.cpp", nLine=795, szCond=0x5220ac "0",
    szMsg=0x0, traits=0x8ae010) at ./src/common/appbase.cpp:746
#5  0x0000002a957d08fa in wxOnAssert(char const*, int, char const*, char const*) (szFile=0x2220747265737361
,
    nLine=29828, szCond=0x5
,
    szMsg=0xffffffffffffffff
)
    at app.h:297
#6  0x000000000043db48 in CDownloadQueue::ProcessLocalRequests() (
    this=0xbcdc90) at DownloadQueue.cpp:795
#7  0x00000000004410fa in CDownloadQueue::Process() (this=0xbcdc90)
    at DownloadQueue.cpp:286
#8  0x00000000004cd7ed in CamuleApp::OnCoreTimer(wxEvent&) (this=0x8ac110)
    at amule.cpp:1551
#9  0x00000000004d0e84 in CamuleDaemonApp::OnRun() (this=0x8ac110)
    at amuled.cpp:155
#10 0x0000002a95809f99 in wxEntry(int&, char**) (argc=@0x6b85c8,
    argv=0x7fbffff4e8) at app.h:297
#11 0x00000000004d0cd2 in main (argc=1, argv=0x7484) at amuled.cpp:117
(gdb) bt full
#0  0x0000002a956780f9 in raise () from /lib/libpthread.so.0
No symbol table info available.
#1  0x0000002a957d0689 in DoShowAssertDialog (msg=@0x7484)
    at ./src/common/appbase.cpp:683
No locals.
#2  0x0000002a957d069c in wxAppTraitsBase::ShowAssertDialog(wxString const&) (
    this=0x7484, msg=@0x7484) at ./src/common/appbase.cpp:529
No locals.
#3  0x0000002a957d06b9 in wxConsoleAppTraitsBase::ShowAssertDialog(wxString const&) (this=0x7484, msg=@0x7484) at ./src/common/appbase.cpp:494
No locals.
#4  0x0000002a957d088f in ShowAssertDialog (
    szFile=0x515700 "DownloadQueue.cpp", nLine=795, szCond=0x5220ac "0",
    szMsg=0x0, traits=0x8ae010) at ./src/common/appbase.cpp:746
s_bNoAsserts = false
msg = { = {static npos = 18446744073709551615,
    m_pchData = 0xcc4898 "DownloadQueue.cpp(795): assert \"0\" failed."}, }
#5  0x0000002a957d08fa in wxOnAssert(char const*, int, char const*, char const*) (szFile=0x2220747265737361
,
    nLine=29828, szCond=0x5
,
    szMsg=0xffffffffffffffff
)
    at app.h:297
s_bInAssert = true
#6  0x000000000043db48 in CDownloadQueue::ProcessLocalRequests() (
    this=0xbcdc90) at DownloadQueue.cpp:795
nPriority = 0 '\0'
cur_file = (class CPartFile *) 0xc64720
dwBestWaitTime = 0
posNextRequest = {_M_node = 0xce5060}
it = {_M_node = 0x20e2fa0}
dataTcpFrame = { = { = {_vptr.CFile = 0x51dfd0,
      m_fd = -1, m_error = false, fFilePath = { = {
          static npos = 18446744073709551615,
          m_pchData = 0x2a9586ab58 ""}, }}, m_GrowBytes = 22,
    m_position = 0, m_BufferSize = 0, m_FileSize = 0, m_delete = true,
    m_buffer = 0x0}, = {
    _vptr.CFileDataIO = 0x51e0e8}, }
iFiles = 0
iSize = 0
#7  0x00000000004410fa in CDownloadQueue::Process() (this=0xbcdc90)
    at DownloadQueue.cpp:286
downspeed = 0
cur_datarate = 3221222176
#8  0x00000000004cd7ed in CamuleApp::OnCoreTimer(wxEvent&) (this=0x8ac110)
    at amule.cpp:1551
msPrevSave = 83700171
msPrev1 = 83718068
msPrev5 = 83714005
msCur = 83718169
msPrevHist = 83718000
#9  0x00000000004d0e84 in CamuleDaemonApp::OnRun() (this=0x8ac110)
    at amuled.cpp:155
msRun = 1604176043
locker = {m_isOk = true, m_mutex = @0x8ac3c8}
msWait = 1604176043
#10 0x0000002a95809f99 in wxEntry(int&, char**) (argc=@0x6b85c8,
    argv=0x7fbffff4e8) at app.h:297
callOnExit = {}
cleanupOnExit = {}
#11 0x00000000004d0cd2 in main (argc=1, argv=0x7484) at amuled.cpp:117
No locals.

cu
Mr Faber
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: amuled (20050228) crashes after changing priority
« Reply #1 on: March 01, 2005, 08:51:13 PM »

Try the new one.
Logged

Mr Faber

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 229
Re: amuled (20050228) crashes after changing priority
« Reply #2 on: March 01, 2005, 09:39:11 PM »

Yes, you are right. After trying the today CVS it works.
By the way I am now using the unicode version and I have seen no problem until now. Old problems like ipfilter list seems to be fixed  :baby:.

cu
Mr Faber
Logged