Official eMule-Board: Encountered An Improper Argument - Official eMule-Board

Jump to content

Page 1 of 1

Encountered An Improper Argument

#1 User is offline   PatrickD 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 9
  • Joined: 06-September 18

Post icon  Posted 19 June 2022 - 02:11 PM

Hi Folks,
Running eMule 0.60d on Windows 11 (21H2)

Since a few weeks, eMule burps an "Encountered an improper argument" several times a day
I have seen it crashing sometimes after OKing the error message, but this is not systematic

Any clue about what/where to look for (like logs or anything else useful)?
Thanks a bunch

#2 User is offline   fox88 

  • Golden eMule
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 4928
  • Joined: 13-May 07

Posted 21 June 2022 - 09:45 AM

The error text could be found in an MFC dll.
eMule uses statically linked MFC (thus, no dlls), and has no such message text.

Please try to check (and repair if necessary)
disk with chkdsk
Windows OS with:

It might be added that some time ago I had strange messages from eMule, and it turned out to be due to RAM errors, which were caused by slowly failing motherboard.

#3 User is offline   BuyukBang 

  • Member
  • PipPip
  • Group: Members
  • Posts: 15
  • Joined: 04-May 23

Posted 28 May 2023 - 10:05 AM


I got this error while using 0.60d binary downloaded on the main page. I was just scrolling down fast in download list. Then I debugged this with VS and noticed that two lines of DownloadListCtrl.cpp including "VERIFY(pCtrlItem->status.CreateBitmap(1, 1, 1, 8, NULL))" causes this error. I can reproduce it with a filled download list and scolling down up fast and in a couple of minutes an message box appears and lots of assert from these two "CreateBitmap" lines printed into "eMule CRT Debug Log" file. I tried to use try catch blocks covering both case 5 blocks, this helped a little, didn't instantly crashed this time, instead it showed nothing in the progressbar column. I continued to scroll up and down fast, then emule crashed again in a few minutes. Right now I couldn't find a solution. I just wanted to share my progress with you. May be you could see the root cause.

This post has been edited by BuyukBang: 28 May 2023 - 10:28 AM


  • Member Options

Page 1 of 1

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users