• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1885
  • Last Modified:

error: outpubuffer too small for block


in my application I sometimes get an error "outpubuffer too small for block".
I can't find this error message somewhere in the code, i think it comes from one of the components i use (mysql, supercom, ...)
How can i find out where this error comes from?

1 Solution
Hi cleaverX,
Try seeing if you can get the error in debug mode, and then check that stack when you get the error.

Otherwise you can add error logging to your code, and then check the error logs.

David Maisonave :-)
cleaverXAuthor Commented:

debug mode is out of the question: error only happens once in a while...
logging would be a sollution, but the error can be anywhere, and the program has a lot of code.  Logging everything to find the error means a lot of work...
Isn't there a way to search this errormessage somehow in the components directly?
do a grep among your library files for that error message, that will at least narrow it down to ONE library.

or maybe this will help:

Q. Importing gives Error message "COMx could not be opened" or "Output buffer too small for block".
A. One or more of the following:

   1. The VC3000 is not turned on or is unplugged.
   2. The USB port drivers are not loaded yet. Wait about 5 seconds after plugging the VC3000 in and turning it on before attempting to import.
   3. The port number for the virtual serial port has changed. Use Options to select the correct port for the USB serial port (usually the last one in the list) or select Auto.
   4. PDA synchronization software such as "Hot Sync" is running and controlling the serial port. Close the PDA software and try again.
   5. USB serial converter drivers not installed correctly. The latest drivers are available in the downloads section of our web site. Unplug the VC3000. Uninstall the USB drivers (USB Serial Port Uninstall). Plug the VC3000 USB port in again and follow the installation procedure USB Serial Port installation.
   6. Open Control Panel/System/Device Manager and check COM ports. "USB serial port (COMx) should be listed. If it is not, check other devices and reinstall drivers if USB serial port has a question mark.

Q. When importing it gives error message “Wrong response reading file count”
You generally could increase size of all buffers used for communication, I/O and database - say to 4k. If the error is gone then, it's ok. If not, increasing buffer size couldn't be bad.

Where does the message arise? Somewhere at console output?

I googled for the message text "Output buffer too small for block" using double quotes and got only three valid hints to products: COMX, BACST and Hypertrader. if you are using none of them, either the exact message is different or the message you got never showed before...

Regards, Alex
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.
I will leave the following recommendation for this question in the Cleanup topic area:

Delete - No refund

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

EE Cleanup Volunteer
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now