You are not logged in.
Pages: 1
Topic closed
I just rebuilt my desktop Arch box. New HD, fresh install... so maybe I'm missing some packages.
When I run ghb, the GUI appears, but as soon as select a source device (e.g. /dev/sr0), it gets a seg fault.
Running via strace, I see the following:
[pid 18424] 21:46:52.862328 stat("/dev/sr0", {st_mode=S_IFBLK|0660, st_rdev=makedev(11, 0), ...}) = 0 <0.000011>
[pid 18424] 21:46:52.862393 open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 22 <0.000008>
[pid 18424] 21:46:52.862416 fstat(22, {st_mode=S_IFREG|0644, st_size=117395, ...}) = 0 <0.000007>
[pid 18424] 21:46:52.862434 mmap(NULL, 117395, PROT_READ, MAP_PRIVATE, 22, 0) = 0x7f2012ca6000 <0.000010>
[pid 18424] 21:46:52.862455 close(22) = 0 <0.000005>
[pid 18424] 21:46:52.862479 open("/usr/lib/libdvdcss.so.2", O_RDONLY|O_CLOEXEC) = 22 <0.000008>
[pid 18424] 21:46:52.862497 read(22, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240\17\0\0\0\0\0\0@\0\0\0\0\0\0\0(\202\0\0\0\0\0\0\0\0\0\0@\0008\0\7\0@\0\32\0\31\0\1\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\334t\0\0"..., 832) = 832 <0.000007>
[pid 18424] 21:46:52.862516 fstat(22, {st_mode=S_IFREG|0755, st_size=34984, ...}) = 0 <0.000006>
[pid 18424] 21:46:52.862536 mmap(NULL, 2132360, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 22, 0) = 0x7f1fea17f000 <0.000007>
[pid 18424] 21:46:52.862553 mprotect(0x7f1fea187000, 2093056, PROT_NONE) = 0 <0.000012>
[pid 18424] 21:46:52.862574 mmap(0x7f1fea386000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 22, 0x7000) = 0x7f1fea386000 <0.000013>
[pid 18424] 21:46:52.862607 close(22) = 0 <0.000005>
[pid 18424] 21:46:52.862645 mprotect(0x7f1fea386000, 4096, PROT_READ) = 0 <0.000007>
[pid 18424] 21:46:52.862661 munmap(0x7f2012ca6000, 117395) = 0 <0.000013>
[pid 18424] 21:46:52.862692 write(2, "libdvdread: Missing symbols in libdvdcss.so.2, this shouldn't happen !\n", 71) = 71 <0.000006>
[pid 18424] 21:46:52.862729 munmap(0x7f1fea17f000, 2132360) = 0 <0.000010>
[pid 18424] 21:46:52.862750 write(2, "libdvdread: Using libdvdcss version for DVD access\n", 52) = 52 <0.000006>
[pid 18424] 21:46:52.862772 stat("/dev/sr0", {st_mode=S_IFBLK|0660, st_rdev=makedev(11, 0), ...}) = 0 <0.000006>
[pid 18424] 21:46:52.862794 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x7f1fea1800a0} ---
this shouldn't happen is always a helpful error message.
Since this is a fresh install, I don't have any prior package versions to try.
I tried re-building libdvdcss without stripping symbols, but that didn't help.
Suggestions welcome.
Last edited by TheAmigo (2014-09-23 10:50:43)
Offline
Offline
Hi,
it seems that I have similar problem. In my case I can see handbrake gui for about second and then it disapears from the screen.
I have tried with older version, even with hanbrake-gtk2 but same results. I can confirm that in my case handbrake was working 2 days ago and since you mention libdvdcss problem might be there. As i remember, that package was updated recently. I will try to install older version of libdvdcss and I will post results here.
I would like to ask something else. How do u start handbrake from terminal? Command handbrake doesnt exist in my case. I tried that because I wanted to see what is going on and what I can read in terminal (error message or something).
Offline
That is indeed the same issue (which should now be fixed).
Offline
I just downgrade to libdvdcss-1.2.13-3-x86_64 and handbrake-0.9.9-6-x86_64 and everything is working fine.
Offline
Yep, upgrading to handbrake-0.9.9-8 fixed it, thanks.
Offline
I've tried upgrading to 0.9.9-8 as well as downgrading to 0.9.9-6 and it core dumps regardless. I have also tried downgrading libdvdcss and libdvdread as suggested above without any success. I will start to rip a DVD and Handbrake will crash. I have also tried running the SVN version from the AUR, but I get the same behavior. That would lead me to believe it might be something outside of Handbrake causing the crash. Anyone else still having similar problems?
Offline
I'm having a similar problem. Handbrake gets part way through scanning a DVD and crashes. Running it from the command line gives:
*** Error in `ghb': double free or corruption (fasttop): 0x00007f7050009440 ***
======= Backtrace: =========
/usr/lib/libc.so.6(+0x7340e)[0x7f706628c40e]
/usr/lib/libc.so.6(+0x7884e)[0x7f706629184e]
/usr/lib/libc.so.6(+0x7900b)[0x7f706629200b]
/usr/lib/libdvdnav.so.4(dvdnav_free_dup+0x59)[0x7f706b5341b9]
ghb[0x4ae91f]
ghb[0x4aed84]
ghb[0x4a6f56]
ghb[0x48fd6b]
/usr/lib/libpthread.so.0(+0x7314)[0x7f7069a51314]
/usr/lib/libc.so.6(clone+0x6d)[0x7f70663013ed]
Could this be another incompatibility between Handbrake's own libdvdxxx libraries and the system ones?
Pete
Offline
I'm having a similar problem. Handbrake gets part way through scanning a DVD and crashes. Running it from the command line gives:
*** Error in `ghb': double free or corruption (fasttop): 0x00007f7050009440 *** ======= Backtrace: ========= /usr/lib/libc.so.6(+0x7340e)[0x7f706628c40e] /usr/lib/libc.so.6(+0x7884e)[0x7f706629184e] /usr/lib/libc.so.6(+0x7900b)[0x7f706629200b] /usr/lib/libdvdnav.so.4(dvdnav_free_dup+0x59)[0x7f706b5341b9] ghb[0x4ae91f] ghb[0x4aed84] ghb[0x4a6f56] ghb[0x48fd6b] /usr/lib/libpthread.so.0(+0x7314)[0x7f7069a51314] /usr/lib/libc.so.6(clone+0x6d)[0x7f70663013ed]
Could this be another incompatibility between Handbrake's own libdvdxxx libraries and the system ones?
Pete
I'm seeing similar errors when I try to rip a DVD. Hopefully we can get it sorted soon.
Offline
The double free in dvdnav_free_dup should be fixed in libdvdnav 5.0.1-1 (which I just pushed to [extra]).
Offline
Awesome. I'll update when I get home and report the results. Thanks.
Offline
Great! Handbrake now works again, for me at least.
Thanks
Offline
No go for me. Handbrake seg faults and core dumps whenever I start trying to rip a DVD. This is with everything up to date running handbrake-0.9.9-8 and the new libdvdnav that you just pushed. Not sure if I need to downgrade anything to make it work.
Offline
I should also note that on the rare occasion that it doesn't core dump right away and proceeds with ripping the disc, the output file is totally garbled and full of artifacts.
Offline
Playback of DVDs through VLC in either my DVD or Bluray drive results in garbled playback as well.
Offline
I just tried playback of a DVD and ripping via Handbrake on a different Arch machine and everything is totally fine so it seems that the issue is with my one machine. Now to figure out what the hell is wrong with my machine if it's not this.
Offline
Just to follow up. It appears I have solved my issue. I simply deleted my .dvdcss file and everything began working perfectly. Not sure of the reason, but it's been a few days and everything seems to be working well still. Thanks for all the help.
Offline
dumb question but : where did you find that file ?
Offline
Please do not necrobump old threads. In this case, that file is in one's home directory: ~/.dvdcss
Closed.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Pages: 1
Topic closed