Re: write once, run anywhere: bah

Nelyon283 <[email protected]>
Newsgroups comp.os.linux.misc
Organization Victor Usenet Postings
Message-ID <[email protected]>
On Mon, 6 Jul 2026 01:38:21 -0000 (UTC), Eli the Bearded wrote:

> I have a piece of software, to drive a USB camera, that ran fine on
> Ubuntu 20.04 but is segfaulting on Debian 13. It's something to do with
> the "libuvc" library. Before I installed libuvc0
> (libuvc0_0.0.7-3_amd64.deb), it ran but with an all white window and an
> error message about libuvc to stdout. Now it crashes almost immediagely:
> 
> Stack: [0x00007fdf89d00000,0x00007fdf89e00000],  sp=0x00007fdf89dfe4a8,
> free space=1017k Native frames: (J=compiled Java code, j=interpreted,
> Vv=VM code, C=native code)
> C  [libuvc.so.0+0xaa48]  uvc_get_format_descs+0x8 C 
> [libHelloJni.so+0xb1b8]  Java_HelloJni_getResolutions+0x195 j 
> HelloJni.getResolutions(LCamera;)[LResolution;+0 j 
> Visualizer.init()V+7887 j  Visualizer.main([Ljava/lang/String;)V+348 v 
> ~StubRoutines::call_stub 0x00007fdf73d37cc6 V  [libjvm.so+0x9377ca] 
> JavaCalls::call_helper(JavaValue*, methodHandle const&,
> JavaCallArguments*, JavaThread*)+0x2da V  [libjvm.so+0x9e3175] 
> jni_invoke_static(JNIEnv_*, JavaValue*, _jobject*, JNICallType,
> _jmethodID*, JNI_ArgumentPusher *, JavaThread*) [clone
> .constprop.1]+0x365 V  [libjvm.so+0x9f5502] 
> jni_CallStaticVoidMethod+0x252 C  [libjli.so+0x522b]  JavaMain+0xf4b C 
> [libjli.so+0x826d]  ThreadJavaMain+0xd Java frames: (J=compiled Java
> code, j=interpreted, Vv=VM code)
> j  HelloJni.getResolutions(LCamera;)[LResolution;+0 j 
> Visualizer.init()V+7887 j  Visualizer.main([Ljava/lang/String;)V+348 v 
> ~StubRoutines::call_stub 0x00007fdf73d37cc6
>  
> siginfo: si_signo: 11 (SIGSEGV), si_code: 128 (SI_KERNEL), si_addr:
> 0x0000000000000000
> 
> So happy to have what I thought would be an upgrade proof piece of
> software fail so quickly.
> 
> When I purchased this, I thought the "works with Linux" meant it worked
> like a regular webcam, not "requires special software". I would not have
> bought it knowing it needed special software.
> 
> The company to avoid is Ipevo, and the camera to avoid is the V4K.
> 
> Elijah ------
> a pox on proprietary interfaces

"Works with Linux", only if you are running an outdated version of the OS 
from 2020. Makes sense for such a company to build a proprietary driver 
that they likely didn't update in six years and that they thought it was a 
good idea to ship because it worked on a single internal machine.
To me, they are scumbags.

If you're here for a technical explanation, then it's likely that the 
libuvc library was updated in a way breaking the proprietary driver's 
hardcoded assumptions about memory layout or something like that.


-- 
I use Linux
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.