Error on startup: Child process exited with code 1

Hi @Ryo_Handoko,

Could you please let us know if this version works for you?
I’ve removed the components that caused this error.

If Windows blocks the installation

Click on More info
image image

If more info isn’t present, right click on the .exe then Unblock.

Output of : .\runtime\bin\java.exe -Djpackage.app-version=0.24.3 -Xms100m -Xmx200m -XX:+UseZGC -cp "app/audiorelay.jar;app/log4j-core-2.17.1.jar;app/log4j-api-2.17.1.jar;app/disruptor-3.4.4.jar" com.azefsw.audioconnect.desktop.app.MainKt > %USERPROFILE%/desktop/output.log 2>&1

Content of output.log:

2022-04-01 22:12:04,596 main WARN JMX runtime input lookup class is not available because this JRE does not support JMX. JMX lookups will not be available, continuing configuration. Ignoring java.lang.IllegalArgumentException: java.lang.NoClassDefFoundError: Could not initialize class org.apache.logging.log4j.core.lookup.JmxRuntimeInputArgumentsLookup
2022-04-01 22:12:04,694 main WARN JMX runtime input lookup class is not available because this JRE does not support JMX. JMX lookups will not be available, continuing configuration. Ignoring java.lang.NoClassDefFoundError: Could not initialize class org.apache.logging.log4j.core.lookup.JmxRuntimeInputArgumentsLookup
2022-04-01 22:12:04,695 main WARN JMX runtime input lookup class is not available because this JRE does not support JMX. JMX lookups will not be available, continuing configuration. Ignoring java.lang.NoClassDefFoundError: Could not initialize class org.apache.logging.log4j.core.lookup.JmxRuntimeInputArgumentsLookup
2022-04-01 22:12:04,707 main ERROR Could not reconfigure JMX java.lang.NoClassDefFoundError: javax/management/MBeanRegistrationException
	at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:637)
	at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:302)
	at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:209)
	at org.apache.logging.log4j.core.config.Configurator.initialize(Configurator.java:243)
	at org.apache.logging.log4j.core.config.Configurator.initialize(Configurator.java:219)
	at com.azefsw.audioconnect.desktop.app.MainKt.main(SourceFile:13041)
Caused by: java.lang.ClassNotFoundException: javax.management.MBeanRegistrationException
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source)
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source)
	at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
	... 6 more

2022-04-01 22:12:04,711 INFO Version: 0.24.5, os: Windows 11, osVersion: 10.0
2022-04-01 22:12:04,926 INFO Initializing locale to en
2022-04-01 22:12:04,937 INFO Starting IpcCoordinatorService ...
[MVIKotlin]: Main thread id is undefined, main thread assert is disabled
2022-04-01 22:12:04,963 INFO Got open ports at 59300 and 59350
2022-04-01 22:12:04,963 INFO Starting the server...
2022-04-01 22:12:04,970 INFO Waiting for devices from windows' backend...
2022-04-01 22:12:04,973 INFO Starting backend...
2022-04-01 22:12:04,973 INFO Messages socket waiting on a connection...
2022-04-01 22:12:04,973 INFO Audio socket waiting on a connection...
2022-04-01 22:12:04,978 INFO Waiting for devices from PortAudio...
2022-04-01 22:12:04,984 INFO Checking for update...
2022-04-01 22:12:04,984 INFO Status initializing
before paHostApiInitializers[0].
2022-04-01 22:12:04,985 INFO Portaudio version: PortAudio V19.7.0-devel, revision unknown
after paHostApiInitializers[0].
before paHostApiInitializers[1].
WASAPI: device idx: 00
WASAPI: ---------------
WASAPI:0| name[Realtek Digital Output (Realtek(R) Audio)]
WASAPI:0| form-factor[8]
WASAPI: getting Windows version with RtlGetVersion()
WASAPI: Windows version = 5
WASAPI: IAudioClient version = 3
WASAPI:0| def.SR[48000] max.CH[2] latency{hi[0.010000] lo[0.003000]}
WASAPI: device idx: 01
WASAPI: ---------------
WASAPI:1| name[LG TV SSCR (NVIDIA High Definition Audio)]
WASAPI:1| form-factor[9]
WASAPI:1| def.SR[48000] max.CH[2] latency{hi[0.010000] lo[0.003000]}
WASAPI: device list ok - found 2 devices
WASAPI: initialized ok
after paHostApiInitializers[1].
before paHostApiInitializers[2].
Setup called
Enum called
noError = 0
Enum called
noError = 0
Enum called
noError = 0
Enum called
noError = 0
Enum called
noError = 1
Device 4 has render alias
Device 4 has capture alias
Enum called
noError = 0
Enum called
noError = 0
Device 6 has capture alias
Enum called
noError = 0
Device 7 has capture alias
Enum called
noError = 0
Enum called
noError = 0
Enum called
noError = 1
Device 10 has render alias
Enum called
noError = 0
Device 11 has capture alias
Enum called
noError = 0
Enum called
noError = 0
Enum called
noError = 1
Device 14 has render alias
Enum called
noError = 1
Device 15 has render alias
Device 15 has capture alias
Enum called
noError = 1
Device 16 has render alias
Enum called
noError = 1
Device 17 has render alias
Enum called
noError = 1
Device 18 has render alias
Device 18 has capture alias
Enum called
noError = 1
Device 19 has render alias
Device 19 has capture alias
Enum called
noError = 1
Device 20 has render alias
Enum called
noError = 1
Device 21 has render alias
Device 21 has capture alias
Enum called
noError = 0
Device 22 has capture alias
Enum called
Interfaces found: 14
Device 4 has render alias
Device 4 has capture alias
Device 4 has realtime alias
Interface 4, Name: N
FilterNew: Creating filter 'NVIDIA High Definition Audio'
FilterNew: Opening filter...
DumpConnectionsAndNodes: connections=1, nodes=0
  Connection: 0 - FromNode=4294967295,FromPin=0 -> ToNode=4294967295,ToPin=1
PinNew: Creating pin 0:
PinNew: Checking 14 no of dataranges...
PinNew: DR major format 73647561
PinNew: MaxChannel: 2
PinNew: Format PCM 24 bit supported
PinNew: DR major format 73647561
PinNew: MaxChannel: 2
PinNew: Format PCM 16 bit supported
PinNew: DR major format 73647561
PinNew: MaxChannel: 2
PinNew: Format PCM 24 bit supported
PinNew: DR major format 73647561
PinNew: MaxChannel: 2
PinNew: Format PCM 16 bit supported
PinNew: DR major format 73647561
PinNew: MaxChannel: 2
PinNew: Format PCM 24 bit supported
PinNew: DR major format 73647561
PinNew: MaxChannel: 2
PinNew: Format PCM 16 bit supported
PinNew: DR major format 73647561
PinNew: MaxChannel: 2
PinNew: Format PCM 24 bit supported
PinNew: DR major format 73647561
PinNew: MaxChannel: 2
PinNew: Format PCM 16 bit supported
PinNew: DR major format 73647561
PinNew: MaxChannel: 2
PinNew: Format PCM 24 bit supported
PinNew: DR major format 73647561
PinNew: MaxChannel: 2
PinNew: Format PCM 16 bit supported
PinNew: DR major format 73647561
PinNew: MaxChannel: 2
PinNew: Format PCM 16 bit supported
PinNew: DR major format 73647561
PinNew: MaxChannel: 2
PinNew: Format PCM 16 bit supported
PinNew: DR major format 73647561
PinNew: MaxChannel: 2
PinNew: Format PCM 16 bit supported
PinNew: DR major format 73647561
PinNew: MaxChannel: 8
PinNew: Format PCM 16 bit supported
PinNew: Default sample rate = 44100 Hz

Thanks for testing but is that the whole file?
If the content is too long to post here, you could directly upload the file here or copy paste the content there.

@Asapha 2022-04-01 22:12:04,596 main WARN JMX runtime input lookup class is not availabl - Pastebin.com

Thanks.

It seems that some dll can’t be loaded.
java.lang.UnsatisfiedLinkError: %USERPROFILE%\.skiko\b3c771e301b5b16c06aaacc0de998266b7bf66d0191c51cfe19fcd72512220b2\skiko-windows-x64.dll: %1 is not a valid Win32 application

Your Windows system is 64-bit, right? (There’s no 32-bit version of Windows 11)

Please retry after renaming the folder
%USERPROFILE%\.skiko\b3c771e301b5b16c06aaacc0de998266b7bf66d0191c51cfe19fcd72512220b2\
to
old-b3c771e301b5b16c06aaacc0de998266b7bf66d0191c51cfe19fcd72512220b2.

If that doesn’t change anything, please try to re-download the app from https://audiorelay.net.

1 Like

According to this, skiko-windows-x64.dll has a dependency on another lib but Windows found a 32-bit version on your PC instead of a 64-bit version…

If the previous answer doesn’t help, could you please retry after installing the X64 version of vc_redist?

After Installing the newest version vc_redist it manged to open audiorelay server up but affter I closed it I get the same error again .

And I get message that skiko-windows.dll is Trojan

And its was all on this version: audiorelay-0.24.5.exe the lastest version still getting that above error

Then something is messing the with dlls.
What anti-virus do you have? If it’s removing the necessary dlls then AudioRelay won’t work.
I could maybe send them the app so that they flag whatever’s wrong as a false positive.

I’d do a full scan to check if there’s anything nefarious on the PC and then try to make it ignore the necessary dlls or the app.

1 Like

Norton Security always detects skiko-windows.dll as Trojan and then deletes the DLL . Therefore is such error . Did full system scan - no other files infected.

You’ll need to exclude it then, see Norton’s docs.

Other anti-viruses don’t notice anything, at least at install time.

Hi @Asapha ,
I am having the same issue. I am using Audio Relay after a long time tbh. Here are the details:

So first I uninstalled it and downloaded the latest version. 0.24.7.
Still had the same issue.
Then I changed the cfg file as you suggested. Still no luck.
So I got the log file as you suggested in other comments:

.\runtime\bin\java.exe : Error: Could not find or load main class .app-version=0.24.3
At line:1 char:1
+ .\runtime\bin\java.exe -Djpackage.app-version=0.24.3 -Xms100m -Xmx200 ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Error: Could no...-version=0.24.3:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
 
Caused by: java.lang.ClassNotFoundException: /app-version=0/24/3

Then I downloaded this version that you suggested. It opened the console but that closed instantly so I ran it via powershell using ./AudioRelay.exe. Here’s the console output:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffb20073760, pid=11216, tid=28452
#
# JRE version: OpenJDK Runtime Environment Temurin-17.0.2+8 (17.0.2+8) (build 17.0.2+8)
# Java VM: OpenJDK 64-Bit Server VM Temurin-17.0.2+8 (17.0.2+8, mixed mode, tiered, compressed class ptrs, z gc, windows-amd64)
# Problematic frame:
# C  0x00007ffb20073760
[error occurred during error reporting (printing problematic frame), id 0xc0000005, EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffb20073f10]

# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#
# An error report file with more information is saved as:
# C:\Users\Lenovo\AppData\Local\Temp\\hs_err_pid11216.log
#
# If you would like to submit a bug report, please visit:
#   https://github.com/adoptium/adoptium-support/issues
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Child process exited with code 1

This is the windows version I am on. With a fairly new hardware, 7th gen i5.

Microsoft Windows [Version 10.0.19043.1645]

Please let me know if you need anything else to triage this issue.

Thanks a lot!!

Hi @_ri ,

I can’t see what’s wrong from you’ve written, unfortunately.

Please try this version, if it crashes again, it should show a dialog with a more helpful error message.

Otherwise, please post the content of this file: C:\Users\Lenovo\AppData\Local\Temp\\hs_err_pid11216.log

Thanks for looking into it @Asapha

This version you mentioned, 0.24.8, did not show any dialog box on running. It just crashed with the “Child process exited with code 1” dialog box.

Here is the hs_err_pid…log file.

Hope it helps.

For reference, it crashes with the error EXCEPTION_ACCESS_VIOLATION while trying the load the dll at C:\Program Files (x86)\AudioRelay\runtime\bin\prefs.dll.

I’m not sure what could cause this…

Could you try these though:


Audio relay can’t find some IP, and pop up like “Child process exited with code 1”
How i can fix fix it, i’ve been trying to re-install the app but audio relay still crash

Hi @Fiqri_Reinaldi,

Does the 0.24.8 version provide a clearer error message? Please copy it here if that’s the case.

@here, If you’re still having issues, please try new version from Download AudioRelay on Android, Windows, Linux or macOS.

Please create a new topic if there’s still a crash.