[omniNotify] Re: OmniNotify with Omniorb 4.0.6+ on windows

Duncan Grisby duncan at grisby.org
Tue Jul 4 17:12:12 BST 2006


On Monday 3 July, "Tamas Kerecsen" wrote:

> Here is some additional info. With VC++8 and OO 4.0.7 the crash occurs in
> AttNotification::_impl_EventChannel::_ptrToInterface in AttNotificationSK.cc,
> on the line
> 
> if( omni::strMatch(id, CosNotifyChannelAdmin::EventChannel::_PD_repoId) )
> 
> For some reason all four of these
> 
> ::CosNotifyChannelAdmin::EventChannel::_PD_repoId
> ::CosNotification::QoSAdmin::_PD_repoId
> ::CosNotification::AdminPropertiesAdmin::_PD_repoId
> ::CosEventChannelAdmin::EventChannel::_PD_repoId
> 
> Are invalid pointers, with values like aca425ff, ab3025ff, aca025ff,
> ac9c25ff.

It's a bug that crept in that means the stub DLLs do not properly export
their symbols. It's fixed in the CVS version of omniORB. Or you can get
the latest snapshot from here:

  http://omniorb.sourceforge.net/snapshots/omniORB-4.0-latest.tar.gz

> Either the linker is misbehaving for some reason, or the whole block of
> memory gets overwritten by some rogue piece of code. Any ideas?

It's the joy of Windows. If you get DLL linkage wrong, everything looks
like it's working, but all the pointers are bogus. Really helpful, that.

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --



More information about the omninotify-list mailing list