[Bug 59194] New: CLion 2025.3.1
http://bugs.winehq.org/show_bug.cgi?id=59194 Bug ID: 59194 Summary: CLion 2025.3.1 Product: Wine Version: 10.20 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@list.winehq.org Reporter: lars_martin4@hotmail.com Distribution: --- Internal error java.lang.NullPointerException: Cannot read the array length because "bytes" is null at java.base/java.lang.String.<init>(String.java:1425) at java.base/sun.nio.ch.UnixDomainSockets.localAddress(UnixDomainSockets.java:82) at java.base/sun.nio.ch.SocketChannelImpl.endConnect(SocketChannelImpl.java:824) at java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:894) at java.base/java.nio.channels.SocketChannel.open(SocketChannel.java:285) at java.base/sun.nio.ch.PipeImpl$Initializer$LoopbackConnector.run(PipeImpl.java:132) at java.base/sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:85) at java.base/sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:67) at java.base/java.security.AccessController.doPrivileged(AccessController.java:571) at java.base/sun.nio.ch.PipeImpl.<init>(PipeImpl.java:197) at java.base/sun.nio.ch.WEPollSelectorImpl.<init>(WEPollSelectorImpl.java:79) at java.base/sun.nio.ch.WEPollSelectorProvider.openSelector(WEPollSelectorProvider.java:33) at java.base/java.nio.channels.Selector.open(Selector.java:295) at com.intellij.platform.ide.bootstrap.DirectoryLock.tryConnect(DirectoryLock.java:298) at com.intellij.platform.ide.bootstrap.DirectoryLock.lockOrActivate(DirectoryLock.java:164) at com.intellij.platform.ide.bootstrap.StartupUtil.lockSystemDirs(startup.kt:522) at com.intellij.platform.ide.bootstrap.StartupUtil.access$lockSystemDirs(startup.kt:1) at com.intellij.platform.ide.bootstrap.StartupUtil$startApplication$lockSystemDirsJob$1$1.invokeSuspend(startup.kt:122) at com.intellij.platform.ide.bootstrap.StartupUtil$startApplication$lockSystemDirsJob$1$1.invoke(startup.kt) at com.intellij.platform.ide.bootstrap.StartupUtil$startApplication$lockSystemDirsJob$1$1.invoke(startup.kt) at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:44) at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:166) at kotlinx.coroutines.BuildersKt.withContext(Unknown Source) at com.intellij.platform.diagnostic.telemetry.impl.TracerKt.span(tracer.kt:56) at com.intellij.platform.diagnostic.telemetry.impl.TracerKt.span$default(tracer.kt:49) at com.intellij.platform.ide.bootstrap.StartupUtil$startApplication$lockSystemDirsJob$1.invokeSuspend(startup.kt:121) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:610) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runDefaultDispatcherTask(CoroutineScheduler.kt:1194) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:906) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:775) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:762) ----- JRE: 21.0.9+1-b1163.86 amd64 (JetBrains s.r.o.) C:\Program Files\JetBrains\CLion 2025.3.1\jbr -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59194 --- Comment #1 from Lars martin <lars_martin4@hotmail.com> --- wine jetbrains_client64.exe 094c:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION 094c:fixme:dbghelp:elf_search_auxv can't find symbol in module 094c:fixme:process:GetProcessGroupAffinity (FFFFFFFFFFFFFFFF,0000000000E7F3E0,0000000000000000): stub Attempt to get process group affinity failed: Funksjonen støttes ikke 094c:fixme:process:GetProcessGroupAffinity (FFFFFFFFFFFFFFFF,0000000000E7EF40,0000000000000000): stub Attempt to get process group affinity failed: Funksjonen støttes ikke 094c:fixme:process:GetProcessGroupAffinity (FFFFFFFFFFFFFFFF,0000000000E7E2E0,0000000000000000): stub Attempt to get process group affinity failed: Funksjonen støttes ikke 0968:fixme:process:GetProcessGroupAffinity (FFFFFFFFFFFFFFFF,000000002CD7F4F0,0000000000000000): stub Attempt to get process group affinity failed: Funksjonen støttes ikke 0968:fixme:process:GetProcessGroupAffinity (FFFFFFFFFFFFFFFF,000000002CD7F4F0,0000000000000000): stub Attempt to get process group affinity failed: Funksjonen støttes ikke 0968:fixme:process:GetProcessGroupAffinity (FFFFFFFFFFFFFFFF,000000002CD7F4F0,0000000000000000): stub OpenJDK 64-Bit Server VM warning: Attempt to get process group affinity failed: Funksjonen støttes ikke 094c:fixme:process:GetProcessGroupAffinity (FFFFFFFFFFFFFFFF,0000000000E7D230,0000000000000000): stub OpenJDK 64-Bit Server VM warning: Attempt to get process group affinity failed: Funksjonen støttes ikke 099c:fixme:process:GetProcessGroupAffinity (FFFFFFFFFFFFFFFF,000000011AE5F040,0000000000000000): stub OpenJDK 64-Bit Server VM warning: Attempt to get process group affinity failed: Funksjonen støttes ikke 09a0:fixme:process:GetProcessGroupAffinity (FFFFFFFFFFFFFFFF,000000011B15DA00,0000000000000000): stub OpenJDK 64-Bit Server VM warning: Attempt to get process group affinity failed: Funksjonen støttes ikke 0968:fixme:process:GetProcessGroupAffinity (FFFFFFFFFFFFFFFF,000000002CD7F4F0,0000000000000000): stub OpenJDK 64-Bit Server VM warning: Attempt to get process group affinity failed: Funksjonen støttes ikke 0968:fixme:process:GetProcessGroupAffinity (FFFFFFFFFFFFFFFF,000000002CD7F4F0,0000000000000000): stub OpenJDK 64-Bit Server VM warning: Attempt to get process group affinity failed: Funksjonen støttes ikke 09d4:fixme:process:GetProcessGroupAffinity (FFFFFFFFFFFFFFFF,000000011F23E470,0000000000000000): stub OpenJDK 64-Bit Server VM warning: Attempt to get process group affinity failed: Funksjonen støttes ikke 0968:fixme:process:GetProcessGroupAffinity (FFFFFFFFFFFFFFFF,000000002CD7F4F0,0000000000000000): stub OpenJDK 64-Bit Server VM warning: Attempt to get process group affinity failed: Funksjonen støttes ikke 0968:fixme:process:GetProcessGroupAffinity (FFFFFFFFFFFFFFFF,000000002CD7F4F0,0000000000000000): stub OpenJDK 64-Bit Server VM warning: Attempt to get process group affinity failed: Funksjonen støttes ikke 0968:fixme:process:GetProcessGroupAffinity (FFFFFFFFFFFFFFFF,000000002CD7F4F0,0000000000000000): stub OpenJDK 64-Bit Server VM warning: Attempt to get process group affinity failed: Funksjonen støttes ikke 0968:fixme:process:GetProcessGroupAffinity (FFFFFFFFFFFFFFFF,000000002CD7F4F0,0000000000000000): stub OpenJDK 64-Bit Server VM warning: Attempt to get process group affinity failed: Funksjonen støttes ikke 09a8:fixme:iphlpapi:GetAnycastIpAddressTable (0, 000000011C72D090) stub 0968:fixme:process:GetProcessGroupAffinity (FFFFFFFFFFFFFFFF,000000002CD7F4F0,0000000000000000): stub OpenJDK 64-Bit Server VM warning: Attempt to get process group affinity failed: Funksjonen støttes ikke 09e0:fixme:wtsapi:WTSQuerySessionInformationW returning 0 protocol type 09a8:fixme:process:GetProcessGroupAffinity (FFFFFFFFFFFFFFFF,000000011C72CBA0,0000000000000000): stub OpenJDK 64-Bit Server VM warning: Attempt to get process group affinity failed: Funksjonen støttes ikke 0968:fixme:process:GetProcessGroupAffinity (FFFFFFFFFFFFFFFF,000000002CD7F4F0,0000000000000000): stub OpenJDK 64-Bit Server VM warning: Attempt to get process group affinity failed: Funksjonen støttes ikke **Start Failed** Internal error java.lang.NullPointerException: Cannot read the array length because "bytes" is null at java.base/java.lang.String.<init>(String.java:1425) at java.base/sun.nio.ch.UnixDomainSockets.localAddress(UnixDomainSockets.java:82) at java.base/sun.nio.ch.SocketChannelImpl.endConnect(SocketChannelImpl.java:824) at java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:894) at java.base/java.nio.channels.SocketChannel.open(SocketChannel.java:285) at java.base/sun.nio.ch.PipeImpl$Initializer$LoopbackConnector.run(PipeImpl.java:132) at java.base/sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:85) at java.base/sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:67) at java.base/java.security.AccessController.doPrivileged(AccessController.java:571) at java.base/sun.nio.ch.PipeImpl.<init>(PipeImpl.java:197) at java.base/sun.nio.ch.WEPollSelectorImpl.<init>(WEPollSelectorImpl.java:79) at java.base/sun.nio.ch.WEPollSelectorProvider.openSelector(WEPollSelectorProvider.java:33) at java.base/java.nio.channels.Selector.open(Selector.java:295) at com.intellij.platform.ide.bootstrap.DirectoryLock.tryConnect(DirectoryLock.java:298) at com.intellij.platform.ide.bootstrap.DirectoryLock.lockOrActivate(DirectoryLock.java:164) at com.intellij.platform.ide.bootstrap.StartupUtil.lockSystemDirs(startup.kt:522) at com.intellij.platform.ide.bootstrap.StartupUtil.access$lockSystemDirs(startup.kt:1) at com.intellij.platform.ide.bootstrap.StartupUtil$startApplication$lockSystemDirsJob$1$1.invokeSuspend(startup.kt:122) at com.intellij.platform.ide.bootstrap.StartupUtil$startApplication$lockSystemDirsJob$1$1.invoke(startup.kt) at com.intellij.platform.ide.bootstrap.StartupUtil$startApplication$lockSystemDirsJob$1$1.invoke(startup.kt) at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:44) at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:166) at kotlinx.coroutines.BuildersKt.withContext(Unknown Source) at com.intellij.platform.diagnostic.telemetry.impl.TracerKt.span(tracer.kt:56) at com.intellij.platform.diagnostic.telemetry.impl.TracerKt.span$default(tracer.kt:49) at com.intellij.platform.ide.bootstrap.StartupUtil$startApplication$lockSystemDirsJob$1.invokeSuspend(startup.kt:121) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:610) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runDefaultDispatcherTask(CoroutineScheduler.kt:1194) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:906) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:775) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:762) ----- JRE: 21.0.9+1-b1163.86 amd64 (JetBrains s.r.o.) C:\Program Files\JetBrains\CLion 2025.3.1\jbr 09e0:fixme:font:find_matching_face Untranslated charset 255 0968:fixme:process:GetProcessGroupAffinity (FFFFFFFFFFFFFFFF,000000002CD7F4F0,0000000000000000): stub OpenJDK 64-Bit Server VM warning: Attempt to get process group affinity failed: Funksjonen støttes ikke 0968:fixme:process:GetProcessGroupAffinity (FFFFFFFFFFFFFFFF,000000002CD7F4F0,0000000000000000): stub OpenJDK 64-Bit Server VM warning: Attempt to get process group affinity failed: Funksjonen støttes ikke 0968:fixme:process:GetProcessGroupAffinity (FFFFFFFFFFFFFFFF,000000002CD7F4F0,0000000000000000): stub OpenJDK 64-Bit Server VM warning: Attempt to get process group affinity failed: Funksjonen støttes ikke 0968:fixme:process:GetProcessGroupAffinity (FFFFFFFFFFFFFFFF,000000002CD7EA70,0000000000000000): stub OpenJDK 64-Bit Server VM warning: Attempt to get process group affinity failed: Funksjonen støttes ikke 0968:fixme:process:GetProcessGroupAffinity (FFFFFFFFFFFFFFFF,000000002CD7EA70,0000000000000000): stub OpenJDK 64-Bit Server VM warning: Attempt to get process group affinity failed: Funksjonen støttes ikke 0968:fixme:process:GetProcessGroupAffinity (FFFFFFFFFFFFFFFF,000000002CD7F4F0,0000000000000000): stub OpenJDK 64-Bit Server VM warning: Attempt to get process group affinity failed: Funksjonen støttes ikke 0968:fixme:process:GetProcessGroupAffinity (FFFFFFFFFFFFFFFF,000000002CD7F4F0,0000000000000000): stub OpenJDK 64-Bit Server VM warning: Attempt to get process group affinity failed: Funksjonen støttes ikke 0968:fixme:process:GetProcessGroupAffinity (FFFFFFFFFFFFFFFF,000000002CD7F4F0,0000000000000000): stub OpenJDK 64-Bit Server VM warning: Attempt to get process group affinity failed: Funksjonen støttes ikke 0968:fixme:process:GetProcessGroupAffinity (FFFFFFFFFFFFFFFF,000000002CD7F4F0,0000000000000000): stub OpenJDK 64-Bit Server VM warning: Attempt to get process group affinity failed: Funksjonen støttes ikke 0968:fixme:process:GetProcessGroupAffinity (FFFFFFFFFFFFFFFF,000000002CD7F4F0,0000000000000000): stub OpenJDK 64-Bit Server VM warning: Attempt to get process group affinity failed: Funksjonen støttes ikke 0968:fixme:process:GetProcessGroupAffinity (FFFFFFFFFFFFFFFF,000000002CD7F4F0,0000000000000000): stub OpenJDK 64-Bit Server VM warning: Attempt to get process group affinity failed: Funksjonen støttes ikke 0968:fixme:process:GetProcessGroupAffinity (FFFFFFFFFFFFFFFF,000000002CD7F4F0,0000000000000000): stub OpenJDK 64-Bit Server VM warning: Attempt to get process group affinity failed: Funksjonen støttes ikke 09dc:fixme:win:RegisterTouchWindow hwnd 000000000003025C, flags 0x2 stub! 09dc:fixme:win:RegisterTouchWindow hwnd 000000000004025E, flags 0x2 stub! 0968:fixme:process:GetProcessGroupAffinity (FFFFFFFFFFFFFFFF,000000002CD7F4F0,0000000000000000): stub OpenJDK 64-Bit Server VM warning: Attempt to get process group affinity failed: Funksjonen støttes ikke larsmartinhambro@ti0108q160-4518:~/.wine/drive_c/Program Files/JetBrains/CLion 2025.3.1/bin$ -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59194 Fredrik Tolf <fredrik@dolda2000.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fredrik@dolda2000.com --- Comment #2 from Fredrik Tolf <fredrik@dolda2000.com> --- I just want to report that I'm getting something very similar, again when the JVM tries to create a Windows selector. I'm getting this on OpenJDK 25.0.2, so it seems to be alive across many Java versions. I'm only getting automated reports of this every once in a while, so I'm not entirely sure what the circumstances are, but I suspect this is Steam trying to launch a Java game I've put on there through Proton (even though there is a native Linux build available, so this is very much not my choice). I can't say I'm familiar with the internals of OpenJDK's Windows selector implementation, but as I understand, they use a Unix domain socket (for some reason), for internal wake-up purposes. This is my Java stacktrace (coming through a custom formatter for my error reporting system, just to explain the unorthodox style). It seems to be the exact same bug from what I can tell: java.lang.NullPointerException Cannot read the array length because "<parameter1>" is null Class Function File Line java.lang.String <init> None -1 sun.nio.ch.UnixDomainSockets localAddress None -1 sun.nio.ch.SocketChannelImpl endConnect None -1 sun.nio.ch.SocketChannelImpl connect None -1 java.nio.channels.SocketChannel open None -1 sun.nio.ch.PipeImpl$Initializer$LoopbackConnector run None -1 sun.nio.ch.PipeImpl$Initializer init None -1 sun.nio.ch.PipeImpl <init> None -1 sun.nio.ch.WEPollSelectorImpl <init> None -1 sun.nio.ch.WEPollSelectorProvider openSelector None -1 java.nio.channels.Selector open None -1 haven.Utils connect Utils.java 154 haven.Utils connect Utils.java 236 haven.AuthClient connect AuthClient.java 103 haven.AuthClient <init> AuthClient.java 118 haven.Bootstrap run Bootstrap.java 235 haven.Client$Main run Client.java 195 haven.Client run Client.java 220 haven.Client main2 Client.java 390 haven.Client lambda$main$0 Client.java 416 java.lang.Thread run None -1 Just to be clear, my own last code is the "Utils.java:154" line, which is just a simple call to `Selector.open()`, so it's hard for me imagine there is anything *I* could be doing differently. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59194 --- Comment #3 from Fredrik Tolf <fredrik@dolda2000.com> --- Also, since I probably wasn't quite clear enough, the reason I'm suspecting this is a Wine problem is because the only reports I'm seeing about this have metadata claiming to be running on Windows 10, but using the Mesa OpenGL drivers, suggesting to me pretty strongly that it's running in Wine. They're also claiming to be using Mesa 26.1.2-arch2.1, which suggests to me that it's SteamOS. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59194 --- Comment #4 from Fredrik Tolf <fredrik@dolda2000.com> --- Digging around in the OpenJDK sources indicates that the Java-side code gets an unexpected Java null value back from the native function that tries to fetch the local name for the Unix-domain socket in question. This function lives in "src/java.base/windows/native/libnio/ch/UnixDomainSockets.c", and looks thus: jbyteArray sockaddrToUnixAddressBytes(JNIEnv *env, struct sockaddr_un *sa, socklen_t len) { if (sa->sun_family == AF_UNIX) { int namelen = (int)strlen(sa->sun_path); jbyteArray name = (*env)->NewByteArray(env, namelen); if (name != NULL) { (*env)->SetByteArrayRegion(env, name, 0, namelen, (jbyte*)sa->sun_path); if ((*env)->ExceptionCheck(env)) { return NULL; } } return name; } return NULL; } JNIEXPORT jbyteArray JNICALL Java_sun_nio_ch_UnixDomainSockets_localAddress0(JNIEnv *env, jclass clazz, jobject fdo) { struct sockaddr_un sa; int sa_len = sizeof(sa); if (getsockname(fdval(env, fdo), (struct sockaddr *)&sa, &sa_len) == SOCKET_ERROR) { JNU_ThrowIOExceptionWithLastError(env, "getsockname"); return NULL; } return sockaddrToUnixAddressBytes(env, &sa, sa_len); } So my interpretation here is that Wine's getsockname() returns a sockaddr that doesn't have AF_UNIX for its address family. Different values for AF_UNIX/AF_LOCAL, or is sun_family perhaps mistakenly just not filled in it all? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla