Ticket #45 (new defect)

Opened 6 months ago

Last modified 2 months ago

OutputDebugString("Invalid parameter passed to C runtime function.\n")

Reported by: ClarionCoder Assigned to:
Priority: normal Milestone:
Component: unknown Version: 1.0.0
Severity: normal Keywords:
Cc:

Description

I'm seeing a constant stream of error messages at the rate of 24/second, each of which reads:

[3712] Invalid parameter passed to C runtime function.

[nnnn] is the PID, in this case 3712 is the PID for popfileib.exe

I'm seeing them via DbgView? which displays calls to OutputDebugString? for DbgView?, see http://technet.microsoft.com/en-us/sysinternals/bb896647.aspx (or start with http://sysinternals.com ) and navigate until you find it.

I doubt this matters, but I'm running on Vista Ultimate Popfile version 1.0.0

Attachments

popfile_debugview.jpg (207.2 kB) - added by tooooooooby on 08/01/08 02:42:00.
Outputting debug logs
as.pl (244 bytes) - added by brian on 08/04/08 13:06:56.
Simple Perl script which generates "Invalid parameter" debug msgs
as.pl_dbgview.log (16.7 kB) - added by brian on 08/04/08 13:07:44.
DbgView? log produced by running as.pl Perl script

Change History

08/01/08 02:42:00 changed by tooooooooby

  • attachment popfile_debugview.jpg added.

Outputting debug logs

08/01/08 02:45:36 changed by tooooooooby

Hi, I'm Toby. On My PC, I see same debug logs too.

I attached a screen shot.

Then, I bypass logs by Exclude of Filter settings of "Dbgview.exe".

POPFile: 1.0.1 OS: Windows Vista SP1 32bits

08/01/08 18:29:12 changed by ClarionCoder

Hi Toby,

Thanks for your reply. I'm familiar with adding filters to DbgView?, however that's just ignoring the problems.

1) What is causing the error message to appear.

2) Why are we getting so many of them, even when no pop client is active.

it appears that PopFile? is polling files on disk this is *extremely* inneficient. on Windows a WaitForSingleObject?() is greatly preferred. That way popfile just sits and waits for the operating system to notify it

that a change has been made to the file or folder in question then popfile can go do it's magic.

- Mark

08/04/08 13:06:56 changed by brian

  • attachment as.pl added.

Simple Perl script which generates "Invalid parameter" debug msgs

08/04/08 13:07:44 changed by brian

  • attachment as.pl_dbgview.log added.

DbgView? log produced by running as.pl Perl script

08/04/08 13:08:42 changed by brian

I tried running a simple Perl script (as.pl, attached) and it produced lots of these "Invalid parameter" messages (log file attached).

Brian

08/04/08 13:45:10 changed by brian

I forgot to mention that I used a full Perl installation for my tests. If you only have the minimal Perl installed by the Windows installer, re-run the installer to add XMLRPC support and you should get about 8 "Invalid parameter" messages before the as.pl script comes to an abrupt end.

Brian

08/10/08 16:23:44 changed by amatubu

I've used DbgView on Windows XP SP3 but I don't see the error messages. Is this a problem between Perl and Windows Vista.

Naoki