Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ohNet crash with Parallels installed
24-09-2012, 10:30 AM
Post: #1
ohNet crash with Parallels installed
I've had a report of an ohNet crash on Mac OS X with Parallels installed. I'm attaching the Mac OS X crash dump. This shows that OsNetworkSocketMulticastAddMembership returned an error code, and Os::NetworkSocketMulticastAddMembership threw an exception to report this. The exception wasn't caught by ohNet code, which caused the C++ library to call abort().

My guess is that ohNet was trying to set up an SSDP multicast listener for one of the additional network adapters that Parallels creates. The error from OsNetworkSocketMulticastAddMembership is probably correct, but it shouldn't cause the process to abort.


Attached File(s)
.zip  crashdump1.zip (Size: 15.67 KB / Downloads: 1)
Find all posts by this user
24-09-2012, 01:54 PM
Post: #2
RE: ohNet crash with Parallels installed
(24-09-2012 10:30 AM)simoncn Wrote:  I've had a report of an ohNet crash on Mac OS X with Parallels installed. I'm attaching the Mac OS X crash dump. This shows that OsNetworkSocketMulticastAddMembership returned an error code, and Os::NetworkSocketMulticastAddMembership threw an exception to report this. The exception wasn't caught by ohNet code, which caused the C++ library to call abort().

My guess is that ohNet was trying to set up an SSDP multicast listener for one of the additional network adapters that Parallels creates. The error from OsNetworkSocketMulticastAddMembership is probably correct, but it shouldn't cause the process to abort.

I've had a further update from the user that this crash isn't caused by an adapter created by Parallels, but an adapter created by a program that tries to connect to a VPN server.
Find all posts by this user
26-09-2012, 12:14 PM (This post was last modified: 26-09-2012 12:15 PM by simonc.)
Post: #3
RE: ohNet crash with Parallels installed
It sounds like the best thing to do in this case would be to simply catch then ignore the exception. I'll do this during device construction only. Exceptions that happen on adapter changes (which happens post-hibernation) will still need to be thrown. This latter class of exception is already handled so shouldn't cause you any problems.

I'll get this committed in the next couple of days.
Find all posts by this user
26-09-2012, 02:22 PM
Post: #4
RE: ohNet crash with Parallels installed
(26-09-2012 12:14 PM)simonc Wrote:  It sounds like the best thing to do in this case would be to simply catch then ignore the exception. I'll do this during device construction only. Exceptions that happen on adapter changes (which happens post-hibernation) will still need to be thrown. This latter class of exception is already handled so shouldn't cause you any problems.

I'll get this committed in the next couple of days.

Thanks very much! I'm putting together a new release of MinimServer, and it would be good if I can include this fix.
Find all posts by this user
27-09-2012, 10:36 AM
Post: #5
RE: ohNet crash with Parallels installed
(26-09-2012 12:14 PM)simonc Wrote:  I'll get this committed in the next couple of days.

I've made some local changes that should fix this. They should make it onto github this evening.
Find all posts by this user


Forum Jump: