crash with vloopback (kernel Oops)

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

crash with vloopback (kernel Oops)

berder
Hi,

I am using WebcamStudio on a Fedora 10 (Linux xxx.xxx.xxx 2.6.27.41-170.2.117.fc10.i686 #1 SMP Thu Dec 10 11:00:29 EST 2009 i686 i686 i386 GNU/Linux) with vloopback (my webcam Hercules Deluxe does not work by itself on Flash web applications ; it uses the ov51x_jpeg module) and I sometimes experience severe issues.

First of all, I have to say that I'm using WebcamStudio under root since I have sometimes permissions issues otherwise.  I will check this later, but anyway this does not seem to be related to the issues I want to report here, since I remember it happening even not as root.

So here is the point : sometimes the image will freeze, and all opened gnome-terminal tabs will print the following messages :
-------------------------
Message from syslogd@xxx at Apr 10 21:06:48 ...
 kernel:Oops: 0002 [#1] SMP

Message from syslogd@xxx at Apr 10 21:06:48 ...
 kernel:Process java (pid: 17551, ti=f2243000 task=f2bf3340 task.ti=f2243000)

Message from syslogd@xxx at Apr 10 21:06:48 ...
 kernel:Stack: f2243da8 c06ac274 0000009c 00000000 f2243db8 c0442851 0000009c 00000000

Message from syslogd@xxx at Apr 10 21:06:48 ...
 kernel:       f2243dcc f8e06da9 00000008 f6792ae0 f2b4f480 f2243dec c0493a1d f7580dd0

Message from syslogd@xxx at Apr 10 21:06:48 ...
 kernel:       f64cd880 f6792ae0 f2b4f480 00000000 f1143380 f2243df4 c0493ac4 f2243e08

Message from syslogd@xxx at Apr 10 21:06:48 ...
 kernel:Call Trace:

Message from syslogd@xxx at Apr 10 21:06:48 ...
 kernel: [<c06ac274>] ? _spin_lock_irqsave+0x29/0x30

Message from syslogd@xxx at Apr 10 21:06:48 ...
 kernel: [<c0442851>] ? down+0xc/0x2f

Message from syslogd@xxx at Apr 10 21:06:48 ...
 kernel: [<f8e06da9>] ? ov51x_v4l1_close+0x3e/0x12a [ov51x_jpeg]

Message from syslogd@xxx at Apr 10 21:06:48 ...
 kernel: [<c0493a1d>] ? __fput+0xad/0x13d

Message from syslogd@xxx at Apr 10 21:06:48 ...
 kernel: [<c0493ac4>] ? fput+0x17/0x19

Message from syslogd@xxx at Apr 10 21:06:48 ...
 kernel: [<c0491357>] ? filp_close+0x50/0x5a

Message from syslogd@xxx at Apr 10 21:06:48 ...
 kernel: [<c042f4de>] ? put_files_struct+0x68/0xaa

Message from syslogd@xxx at Apr 10 21:06:48 ...
 kernel: [<c042f558>] ? exit_files+0x38/0x3d

Message from syslogd@xxx at Apr 10 21:06:48 ...
 kernel: [<c0430bc1>] ? do_exit+0x1e5/0x736

Message from syslogd@xxx at Apr 10 21:06:48 ...
 kernel: [<c0428229>] ? try_to_wake_up+0x230/0x23b

Message from syslogd@xxx at Apr 10 21:06:48 ...
 kernel: [<c0431182>] ? do_group_exit+0x70/0x97

Message from syslogd@xxx at Apr 10 21:06:48 ...
 kernel: [<c0439760>] ? get_signal_to_deliver+0x2af/0x2d6

Message from syslogd@xxx at Apr 10 21:06:48 ...
 kernel: [<c0403f10>] ? do_notify_resume+0x71/0x679

Message from syslogd@xxx at Apr 10 21:06:48 ...
 kernel: [<c042b049>] ? finish_task_switch+0x2f/0xb0

Message from syslogd@xxx at Apr 10 21:06:48 ...
 kernel: [<c06aab4f>] ? schedule+0x6ee/0x70d

Message from syslogd@xxx at Apr 10 21:06:48 ...
 kernel: [<c0498fba>] ? path_put+0x15/0x18

Message from syslogd@xxx at Apr 10 21:06:48 ...
 kernel: [<c0461df1>] ? audit_syscall_exit+0xb2/0xc7

Message from syslogd@xxx at Apr 10 21:06:48 ...
 kernel: [<c0404d75>] ? work_notifysig+0x13/0x1a

Message from syslogd@xxx at Apr 10 21:06:48 ...
 kernel: =======================

Message from syslogd@xxx at Apr 10 21:06:48 ...
 kernel:Code: 84 c0 0f 95 c0 0f b6 c0 c3 55 8b 10 89 e5 5d 89 d0 c1 f8 08 29 d0 25 ff 00 00 00 48 0f 9f c0 0f b6 c0 c3 55 ba 00 01 00 00 89 e5 <f0> 66 0f c1 10 38 f2 74 06 f3 90 8a 10 eb f6 5d c3 55 89 e5 53

Message from syslogd@xxx at Apr 10 21:06:48 ...
 kernel:EIP: [<c041b933>] __ticket_spin_lock+0x8/0x19 SS:ESP 0068:f2243d98
-----------------------------------

WebcamStudio will be impossible to close/kill, and here is its output (after removing the errors reported above) :
----------------------------------
Mixer: PulseAudio Mixer
Mixer: dmix:0 [default]
Mixer: Intel [plughw:0,0]
Mixer: Intel [plughw:0,1]
Mixer: Camera [plughw:1,0]
Mixer: Port Intel [hw:0]
Mixer: Port Camera [hw:1]
interface TargetDataLine supporting format PCM_SIGNED 44100.0 Hz, 8 bit, mono, 1 bytes/frame,
Monitoring sound...
Pointer Size: 4
Webcam detected/removed...
Webcam detected/removed...
----------------------------------
These later messages may be hints of the problem, maybe a bad contact on the webcam plug.  Anyway, this should not lead to kernel issues.

Finally, java becomes a zombie :
------------------------------
$ ps aux|grep java
root     17414 54.3  0.0      0     0 pts/0    Zl+  19:51  51:14 [java] <defunct>
# lsof|grep java
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/berder/.gvfs
      Output information may be incomplete.
java      17414      root  cwd       DIR        8,4      4096     778241 /home/berder
java      17414      root  rtd       DIR        8,2      4096          2 /
java      17414      root  txt   unknown                                 /proc/17414/task/17551/exe
----------------------------

Removing the ov51x_jpeg and vloopback modules seems impossible, the only solution to be able to use WebcamStudio with web flash apps again seems to be a reboot of the computer, which is quite annoying.

Reply | Threaded
Open this post in threaded view
|

Re: crash with vloopback (kernel Oops)

berder
Actually, this issue also occurs on Debian Lenny, with the same setup (without running WS as root), different kernel (Linux xxx 2.6.26-2-686 #1 SMP Tue Mar 9 17:35:51 UTC 2010 i686 GNU/Linux) :

$ java -jar WebcamStudio.jar
Mixer: dmix:0 [default]
Mixer: nForce2 [plughw:0,0]
Mixer: nForce2 [plughw:0,1]
Mixer: nForce2 [plughw:0,2]
Mixer: Camera [plughw:1,0]
Mixer: Bt878 [plughw:2,0]
Mixer: Bt878 [plughw:2,1]
Mixer: Port nForce2 [hw:0]
Mixer: Port Camera [hw:1]
Mixer: Port Bt878 [hw:2]
No format found!
Pointer Size: 4
Exception in Metacity for theme "Clearlooks": Variable "Bmin`max`height" not defined
Webcam detected/removed...
OV519 USB Camera Error: BaseSrc: [v4lsrc0],12, Impossible de synchroniser dans la ressource.
OV519 USB Camera Error: BaseSrc: [v4lsrc0],1, Erreur interne de flux de données.

Message from syslogd@xxx at Apr 10 02:17:36 ...
 kernel:[54143.808586] Oops: 0002 [#2] SMP

Message from syslogd@xxx at Apr 10 02:17:36 ...
 kernel:[54143.808667] Process java (pid: 15109, ti=f7a5c000 task=f54569c0 task.ti=f7a5c000)

Message from syslogd@xxx at Apr 10 02:17:36 ...
 kernel:[54143.808670] Stack: c0134ed9 0000009c 00000000 f8d2925e 00000008 f5654340 f5519cc4 c01754cf

Message from syslogd@xxx at Apr 10 02:17:36 ...
 kernel:[54143.808676]        f740e0a0 f5654340 f7724380 00000000 f7a5c000 c0172e99 f7724380 00000023

Message from syslogd@xxx at Apr 10 02:17:36 ...
 kernel:[54143.808682]        08428050 c0173fd3 00000023 08428050 c0103857 00000023 00000000 b2cbd458

Message from syslogd@xxx at Apr 10 02:17:36 ...
 kernel:[54143.808689] Call Trace:

Message from syslogd@xxx at Apr 10 02:17:36 ...
 kernel:[54143.808691]  [<c0134ed9>] down+0x9/0x2a

Message from syslogd@xxx at Apr 10 02:17:36 ...
 kernel:[54143.808700]  [<f8d2925e>] ov51x_v4l1_close+0x3b/0x123 [ov51x_jpeg]

Message from syslogd@xxx at Apr 10 02:17:36 ...
 kernel:[54143.808722]  [<c01754cf>] __fput+0x8a/0x135

Message from syslogd@xxx at Apr 10 02:17:36 ...
 kernel:[54143.808730]  [<c0172e99>] filp_close+0x4d/0x53

Message from syslogd@xxx at Apr 10 02:17:36 ...
 kernel:[54143.808736]  [<c0173fd3>] sys_close+0x5b/0x8d

Message from syslogd@xxx at Apr 10 02:17:36 ...
 kernel:[54143.808741]  [<c0103857>] sysenter_past_esp+0x78/0xb1

Message from syslogd@xxx at Apr 10 02:17:36 ...
 kernel:[54143.808757]  =======================

Message from syslogd@xxx at Apr 10 02:17:36 ...
 kernel:[54143.808759] Code: e6 ff 90 fe 00 8b 04 24 e9 2c cc e6 ff 89 c2 9c 58 8d 04 05 00 00 00 00 90 89 c1 fa 8d 04 05 00 00 00 00 90 90 b8 00 01 00 00 90 <66> 0f c1 02 38 e0 74 06 f3 90 8a 02 eb f6 89 c8 c3 89 c2 fa 8d

Message from syslogd@xxx at Apr 10 02:17:36 ...
 kernel:[54143.808787] EIP: [<c02b9d13>] _spin_lock_irqsave+0x1e/0x2f SS:ESP 0068:f7a5df64
Reply | Threaded
Open this post in threaded view
|

Re: crash with vloopback (kernel Oops)

Patrick Balleux
In reply to this post by berder
Hmmm, that's a hard one to figure out...

Have you tried with openjdk/sun-jre?  What version of Java are you using?

Are you running a 32bits or 64 bits environment...  (I would guess 32 bits from your messages)

--------------------------------------
Patrick Balleux

WS4GL Project Manager
Reply | Threaded
Open this post in threaded view
|

Re: crash with vloopback (kernel Oops)

berder
I am using openjdk, didn't try sun. And I'm in 32bit. The issue did not occur for a while (well I don't have used WS much these days…), I guess this one will be quite difficult to find, yes…