Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

softIocPVA hangs when setting up multicast fails #196

Open
dirk-zimoch opened this issue Jun 13, 2024 · 0 comments
Open

softIocPVA hangs when setting up multicast fails #196

dirk-zimoch opened this issue Jun 13, 2024 · 0 comments

Comments

@dirk-zimoch
Copy link
Contributor

I see this error when running an EPICS 7.0.8 softIocPVA compiled for Windows on RHEL9 using wine (that's how I usually test code for Windows):

Starting iocInit
############################################################################
## EPICS R7.0.8.1-DEV-2024-06-13
## Rev. PSI-7.0.8.1-0-0-g54117d537
## Rev. Date Git: 2024-06-12 15:37:41 +0200
############################################################################
Error initializing pva link handling : Failed to set multicast network interface
'127.0.0.1': Invalid argument.
Thread win24 (0000000000F72BC0) can't proceed, suspending.
Dumping a stack trace of thread 'win24':

Stack dump follows, then the ioc hangs.

Is it really necessary to die with an uncaught runtime_error exception when setMutlicastNIF() fails? What about just setting up UDP and ignoring multicast in this case?

BTW: This problem does not appear when running the native RHEL9 compilation on RHEL9 or when running the Windows version in wine on RHEL8, where we use a different wine version. But my specific setup here is not the point.

@dirk-zimoch dirk-zimoch changed the title softIocPVA hangs when setting up multicase fails softIocPVA hangs when setting up multicast fails Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant