[ace-users] ACE UDP using ACE_Asynch_Write_Dgram

Jojy Varghese Jojy_Varghese at symantec.com
Thu Jun 21 20:51:10 CDT 2007


 
Hi All
	I am getting an error on the asynchronous callback after a UDP
send (aio) using ACE_Asynch_Write_Dgram. I was suspecting some memory
corruption and hence ran valgrind. Here is what the valgrind output
shows me. I was wondering why it says "uninitialized byte". Is there a
bug in ACE UDP ? As you can see, we are using ACE 5.4 on a linux box
(IA32).




==20530== Syscall param socketcall.sendmsg(msg) points to uninitialised
byte(s)
==20530==    at 0x489F50E: sendmsg (in /lib/libc-2.4.so)
==20530==    by 0x41B477B:
ACE_POSIX_AIO_Select_Provider::do_write_dgram(ACE_POSIX_Asynch_Result*)
(in /usr/lib/libACE.so.5.4.0)
==20530==    by 0x41B4C0E:
ACE_POSIX_AIO_Select_Provider::do_write(ACE_POSIX_Asynch_Result*) (in
/usr/lib/libACE.so.5.4.0)
==20530==    by 0x41B51A7:
ACE_POSIX_AIO_Select_Strategy_Base::check(ACE_POSIX_AIO_Select_Strategy_
Base::Handle_Info&) (in /usr/lib/libACE.so.5.4.0)
==20530==    by 0x41B6A0F:
ACE_POSIX_AIO_Select_Strategy::get_next_completed_result(ACE_POSIX_Async
h_Waiting_List&) (in /usr/lib/libACE.so.5.4.0)
==20530==    by 0x41BB1B2:
ACE_POSIX_AIO_Processor::handle_aio_events_i(ACE_Time_Value*) (in
/usr/lib/libACE.so.5.4.0)
==20530==    by 0x41BB2E6:
ACE_POSIX_AIO_Processor::handle_aio_events(ACE_Time_Value*) (in
/usr/lib/libACE.so.5.4.0)
==20530==    by 0x41BFCC2:
ACE_POSIX_AIO_Dispatcher::handle_aio_events(ACE_Time_Value*,
ACE_POSIX_AIO_Processor*, Thread_Dispatcher&) (in
/usr/lib/libACE.so.5.4.0)
==20530==    by 0x41C15D0:
ACE_POSIX_AIO_Dispatcher::handle_events(ACE_Time_Value*) (in
/usr/lib/libACE.so.5.4.0)
==20530==    by 0x41A8C61:
ACE_POSIX_Proactor::handle_events_i(ACE_Time_Value*) (in
/usr/lib/libACE.so.5.4.0)
==20530==    by 0x41A8CC0: ACE_POSIX_Proactor::handle_events() (in
/usr/lib/libACE.so.5.4.0)
==20530==    by 0x4198851: ACE_Proactor::handle_events() (in
/usr/lib/libACE.so.5.4.0)


Thanks in advance
Jojy



More information about the Ace-users mailing list