29 Oct
2009
29 Oct
'09
5:32 p.m.
I am getting error when server writes to client using asynch_write and data is large with size greater than a particular value. ... outbound_data when of length 131813. I get error with error_code - val = 14 (Bad Address)
I believe that error 14 / bad address means you're pointing to bad memory address - are you sure the memory is good? Are you using shared_ptr to manage the buffer lifetime? (It's hard to manage the memory lifetime otherwise.) The bigger size triggering the error may only mean that the bug doesn't show up until a certain threshold is reached. Cliff