UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm not sure if this is really the right place for a kernel panic question, but since it only occurred after updating form 10.04->10.10 i figured this might be the place (I don't know if its a bug or a hardware problem)
Since upgrading, running ffmpeg seems to cause a kernel panic, usually with a message similar to "BUG: unable to handle kernel NULL pointer dereference at <address>" or "unable to handle kernel paging request" (the 2nd is from memory, I have a photo of the first)
This is really troubling as I can't transcode things i record off tv (using mythtv), also I didn't think a userland program should crash the kernel...
this is the ffmpeg line that has been causing either a segfault in ffmpeg, or the kernel to crash (whether i compile it and libx264 myself or use the repo's version)
(also seems to happen on SD recordings - which have no resize options present)
What should I do? or What extra info should I supply?
The computer is used as a server; no desktop environment (the kdm upstart job file has been renamed)
The , NULL <unfinished ...> of the futex command caught my attention, but according to the manpage, for FUTEX_WAIT, that argument, and the next are ignored.
I'd try repeating the experiment and see if the code bails with the same command. If so, maybe you found a bug. I don't know it it would be in ffmpeg or the kernel. The futex command runs in user space if there is no contention, but some code runs in kernel space to handle contentions to the same resource.
after some further experimenting, i found that it doesnt crash on my x64 desktop, so i migrated to x64 on my server, but ffmpeg still crashes (well the error is actually in libx264), but so far no kernel panics, just "illegal instruction" or "segmentation fault"...
using gdb on x264 seems to reveal a different crash line every time...
Could this indicate a hardware issue?
Or an asm instruction that is somehow being used and isnt supported? (if so how do i get gdb or some other tool to tell me what instruction?)
well it appears to have been a RAM problem.. Tho the RAM stick isn't that old and its only since the 10.10 upgrade its been a problem..
Memtest didnt report any problems, but swapping out the stick with the newest from my desktop is letting x264 run properly so far...
Maybe its something to do with it being a 2gb stick instead of a 1gb :S
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.