|
From: Enders, B. <Bor...@pd...> - 2005-03-24 13:04:33
|
Hello, I've just installed valgrind 2.4.0 on "Red Hat Enterprise Linux WS release 3 (Taroon Update 2)" and for the first time this worked with out any tweaking. Great work so far, guys. Now my problem. We are using ACE in our programs and when I start them I get the following message: "ACE_Select_Reactor_T::open failed inside ACE_Select_Reactor_T::CTOR: Operation not permitted" After that the program will terminate with a Memory Fault. The same program works fine with valgrind 2.0.0. valgrind 2.2.0 I've not got build on our system. Maybe someone knows, what the problem could be. The ACE testprograms seem to work fine.=20 This are the lines valgrinds writes after the message from above: Invalid write of size 4 =3D=3D23960=3D=3D at 0x1CF40512: ACE_Select_Reactor_Handler_Repository::bind(int, ACE_Event_Handler*, unsigned long) (Select_Reactor_Base.cpp:247) =3D=3D23960=3D=3D by 0x1BDF21EE: ACE_Select_Reactor_T<ACE_Select_Reactor_Token_T<ACE_Noop_Token> >::register_handler_i(int, ACE_Event_Handler*, unsigned long) (Select_Reactor_T.cpp:988) =3D=3D23960=3D=3D by 0x1BDF1919: = ACE_XtReactor::register_handler_i(int, ACE_Event_Handler*, unsigned long) (XtReactor.cpp:206) =3D=3D23960=3D=3D by 0x1BDF46E0: ACE_Select_Reactor_T<ACE_Select_Reactor_Token_T<ACE_Noop_Token> >::register_handler(ACE_Event_Handler*, unsigned long) (Select_Reactor_T.cpp:325) =3D=3D23960=3D=3D by 0x1CF3DCB8: ACE_Reactor::register_handler(ACE_Event_Handler*, unsigned long) (Reactor.i:204) Any help would be appreciated. Sincerely Borg Enders pdv Financial Software |
|
From: Jeremy F. <je...@go...> - 2005-03-24 21:23:36
|
Enders, Borg wrote:
>Hello,
>I've just installed valgrind 2.4.0 on "Red Hat Enterprise Linux WS
>release 3 (Taroon Update 2)" and for the first time this worked with out
>any tweaking. Great work so far, guys.
>
>Now my problem. We are using ACE in our programs and when I start them I
>get the following message:
>"ACE_Select_Reactor_T::open failed inside ACE_Select_Reactor_T::CTOR:
>Operation not permitted"
>
>After that the program will terminate with a Memory Fault. The same
>program works fine with valgrind 2.0.0. valgrind 2.2.0 I've not got
>build on our system.
>
>Maybe someone knows, what the problem could be.
>The ACE testprograms seem to work fine.
>
>This are the lines valgrinds writes after the message from above:
>Invalid write of size 4
>==23960== at 0x1CF40512:
>ACE_Select_Reactor_Handler_Repository::bind(int, ACE_Event_Handler*,
>unsigned long) (Select_Reactor_Base.cpp:247)
>==23960== by 0x1BDF21EE:
>ACE_Select_Reactor_T<ACE_Select_Reactor_Token_T<ACE_Noop_Token>
>
>
>>::register_handler_i(int, ACE_Event_Handler*, unsigned long)
>>
>>
>(Select_Reactor_T.cpp:988)
>==23960== by 0x1BDF1919: ACE_XtReactor::register_handler_i(int,
>ACE_Event_Handler*, unsigned long) (XtReactor.cpp:206)
>==23960== by 0x1BDF46E0:
>ACE_Select_Reactor_T<ACE_Select_Reactor_Token_T<ACE_Noop_Token>
>
>
>>::register_handler(ACE_Event_Handler*, unsigned long)
>>
>>
>(Select_Reactor_T.cpp:325)
>==23960== by 0x1CF3DCB8:
>ACE_Reactor::register_handler(ACE_Event_Handler*, unsigned long)
>(Reactor.i:204)
>
>
That doesn't tell me much, other than your program has a bug. Can you
send the complete output of "valgrind -v ..."? And if possible, try to
prevent your mail program from wrapping the text.
J
|