aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Close the amule, Assertion failed: ..\..\..\..\src\SafeFile.cpp:CFileDataIO  (Read 89 times)

kuaile

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 4

Close the amule, Assertion failed: ..\..\..\..\src\SafeFile.cpp:CFileDataIO::WriteStringCore:361: Assertion 'Assert failure' failed. String is too long to be saved
This error has a certain chance of occurring.I met several times,It happens every time when aMule is turned off。

 Pop up a window
 
Microsoft Visual C++ Runtime Libray

    Assertion failed!
   
   Program:D:\aMule\amule-2.32-wx3031-b160\aMule.exe
   File:..\..\..\..\src\SafeFile.cpp

   Expression: Assert failure in CFileDataIO::WriteStringCore : String
        is too long to be saved
   
   For information on how your program can cause an assertion
   failure, see the Visual C++ documentaion on asserts
   
   (press Retry to debug the application - JIT must be enabled)
   
   
                               stop终止    retry重试    ignore忽略
click ignore

 2017-08-22 21:13:20: Initialising aMule 2.3.2 compiled with wxMSW VC v3.0.3 and Boost 1.60
 2017-08-22 21:13:20: Checking if there is an instance already running...
 2017-08-22 21:13:20: No other instances are running.
 2017-08-22 21:13:21: Creditfile loaded, 6583 clients are known
 2017-08-22 21:13:21: External connections disabled in config file
 2017-08-22 21:13:21: Created Server UDP-Socket at port 60609
 2017-08-22 21:13:21: ListenSocket: Ok.
 2017-08-22 21:13:21: Created Client UDP-Socket at port 60616
 
 2017-08-22 21:13:21:  - This is aMule 2.3.2 compiled with wxMSW VC v3.0.3 and Boost 1.60 based on eMule.
 2017-08-22 21:13:21:    Running on Windows 7 (build 7601, Service Pack 1), 64-bit edition
 2017-08-22 21:13:21:  - Visit http://www.amule.org to check if a new version is available.
 
 ... ...
!2017-08-22 21:14:04: Connected to Kad (ok)
 2017-08-22 21:30:39: Wrote 200 Kad contacts
Assertion failed: ..\..\..\..\src\SafeFile.cpp:CFileDataIO::WriteStringCore:361: Assertion 'Assert failure' failed. String is too long to be saved
Backtrace follows:
  • wxDefaultAssertHandler () at d:\amuleroot\wxwidgets30\src\common\appbase.cpp:1093
  • [1] wxOnAssert () at d:\amuleroot\wxwidgets30\src\common\appbase.cpp:1178
    [2] CFileDataIO::WriteStringCore () at d:\amuleroot\amule-2.3.2\src\safefile.cpp:361
    [3] CFileDataIO::WriteString () at d:\amuleroot\amule-2.3.2\src\safefile.cpp:328
    [4] CFileDataIO::WriteTag () at d:\amuleroot\amule-2.3.2\src\safefile.cpp:518
    [5] Kademlia::CEntry::WriteTagListInc () at d:\amuleroot\amule-2.3.2\src\kademlia\kademlia\entry.cpp:158
    [6] Kademlia::CIndexed::~CIndexed () at d:\amuleroot\amule-2.3.2\src\kademlia\kademlia\indexed.cpp:341
    [7] Kademlia::CKademlia::Stop () at d:\amuleroot\amule-2.3.2\src\kademlia\kademlia\kademlia.cpp:154
    [8] CamuleApp::ShutDown () at d:\amuleroot\amule-2.3.2\src\amule.cpp:1390
    [9] CamuleDlg::OnClose () at d:\amuleroot\amule-2.3.2\src\amuledlg.cpp:926
    [10] wxAppConsoleBase::HandleEvent () at d:\amuleroot\wxwidgets30\src\common\appbase.cpp:612
    [11] wxAppConsoleBase::CallEventHandler () at d:\amuleroot\wxwidgets30\src\common\appbase.cpp:623
    [12] wxEvtHandler::ProcessEventIfMatchesId () at d:\amuleroot\wxwidgets30\src\common\event.cpp:1392
    [13] wxEventHashTable::HandleEvent () at d:\amuleroot\wxwidgets30\src\common\event.cpp:996
    [14] wxEvtHandler::TryHereOnly () at d:\amuleroot\wxwidgets30\src\common\event.cpp:1587
    [15] wxEvtHandler::ProcessEvent () at d:\amuleroot\wxwidgets30\src\common\event.cpp:1493
    [16] wxEvtHandler::SafelyProcessEvent () at d:\amuleroot\wxwidgets30\src\common\event.cpp:1645
    [17] wxWindowBase::Close () at d:\amuleroot\wxwidgets30\src\common\wincmn.cpp:589
    [18] wxFrame::MSWWindowProc () at d:\amuleroot\wxwidgets30\src\msw\frame.cpp:848
    [19] wxWndProc () at d:\amuleroot\wxwidgets30\src\msw\window.cpp:2746
    [20] gapfnScSendMessage () (Unknown file/line)
    [21] GetThreadDesktop () (Unknown file/line)
    [22] GetThreadDesktop () (Unknown file/line)
    [23] GetThreadDesktop () (Unknown file/line)
    [24] KiUserCallbackDispatcher () (Unknown file/line)
    [25] gapfnScSendMessage () (Unknown file/line)
    [26] GetThemeBool () (Unknown file/line)
    [27] SetWindowThemeAttribute () (Unknown file/line)
    [28] 0x710a0b0d (Unknown file/line)
    [29] 0x710a0b96 (Unknown file/line)
    [30] GetPropW () (Unknown file/line)
    [31] wxWindow::MSWDefWindowProc () at d:\amuleroot\wxwidgets30\src\msw\window.cpp:2307
    [32] wxWindow::MSWWindowProc () at d:\amuleroot\wxwidgets30\src\msw\window.cpp:3687
    [33] wxTopLevelWindowMSW::MSWWindowProc () at d:\amuleroot\wxwidgets30\src\msw\toplevel.cpp:467
    [34] wxFrame::MSWWindowProc () at d:\amuleroot\wxwidgets30\src\msw\frame.cpp:890
    [35] wxWndProc () at d:\amuleroot\wxwidgets30\src\msw\window.cpp:2746
    [36] gapfnScSendMessage () (Unknown file/line)
    [37] GetDC () (Unknown file/line)
    [38] GetThreadDesktop () (Unknown file/line)
    [39] GetThreadDesktop () (Unknown file/line)
    [40] KiUserCallbackDispatcher () (Unknown file/line)
    [41] gapfnScSendMessage () (Unknown file/line)
    [42] GetThemeBool () (Unknown file/line)
    [43] GetCurrentThemeName () (Unknown file/line)
    [44] 0x710a0b0d (Unknown file/line)
    [45] 0x710a0b96 (Unknown file/line)
    [46] GetPropW () (Unknown file/line)
    [47] wxWindow::MSWDefWindowProc () at d:\amuleroot\wxwidgets30\src\msw\window.cpp:2307
    [48] wxWindow::MSWWindowProc () at d:\amuleroot\wxwidgets30\src\msw\window.cpp:3687
    [49] wxTopLevelWindowMSW::MSWWindowProc () at d:\amuleroot\wxwidgets30\src\msw\toplevel.cpp:467
    [50] wxFrame::MSWWindowProc () at d:\amuleroot\wxwidgets30\src\msw\frame.cpp:890
    [51] wxWndProc () at d:\amuleroot\wxwidgets30\src\msw\window.cpp:2746
    [52] gapfnScSendMessage () (Unknown file/line)
    [53] GetThreadDesktop () (Unknown file/line)
    [54] CharPrevW () (Unknown file/line)
    [55] DispatchMessageW () (Unknown file/line)
    [56] wxGUIEventLoop::ProcessMessage () at d:\amuleroot\wxwidgets30\src\msw\evtloop.cpp:170
    [57] wxGUIEventLoop::Dispatch () at d:\amuleroot\wxwidgets30\src\msw\evtloop.cpp:232
    [58] wxEventLoopManual::DoRun () at d:\amuleroot\wxwidgets30\src\common\evtloopcmn.cpp:206
    [59] wxEventLoopBase::Run () at d:\amuleroot\wxwidgets30\src\common\evtloopcmn.cpp:78
    [60] wxAppConsoleBase::MainLoop () at d:\amuleroot\wxwidgets30\src\common\appbase.cpp:334
    [61] wxEntryReal () at d:\amuleroot\wxwidgets30\src\common\init.cpp:506
    [62] wxEntry () at d:\amuleroot\wxwidgets30\src\msw\main.cpp:188
    [63] wxEntry () at d:\amuleroot\wxwidgets30\src\msw\main.cpp:432
    [64] WinMain () at d:\amuleroot\amule-2.3.2\src\amule-gui.cpp:95
    [65] __tmainCRTStartup () at f:\dd\vctools\crt\crtw32\startup\crt0.c:251
    [66] BaseThreadInitThunk () (Unknown file/line)
    [67] RtlInitializeExceptionChain () (Unknown file/line)
    [68] RtlInitializeExceptionChain () (Unknown file/line)

    !2017-08-22 21:31:04: Disconnected from eD2k
    !2017-08-22 21:31:04: Disconnected from Kad
     2017-08-22 21:31:05: aMule dialog destroyed
     2017-08-22 21:31:05: Now, exiting main app...
     2017-08-22 21:31:06: aMule OnExit: Terminating core.
     2017-08-22 21:31:06: Saving PartFile 1 of 165
     ... ...
     2017-08-22 21:31:13: Saving PartFile 165 of 165
     2017-08-22 21:31:13: All PartFiles Saved.
     2017-08-22 21:31:13: aMule shutdown completed.


    Sometimes,
    Click button Disconnect, Assertion failed: ..\..\..\..\src\SafeFile.cpp:CFileDataIO::WriteStringCore:361: Assertion 'Assert failure' failed. String is too long to be saved (This has happened twice).
     
Logged