Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[WORKAROUND_FOUND] mpv crash on volume change
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
as.gentoo
Guru
Guru


Joined: 07 Aug 2004
Posts: 319

PostPosted: Sun Jan 01, 2017 8:42 pm    Post subject: [WORKAROUND_FOUND] mpv crash on volume change Reply with quote

Hello,

I have a problem watching videos on my box.
What happened: I opened a video with mpv (media-video/mpv). Going into fullscreen and more worked but when I hit 9 or 0 (volume keys) the window disapperared (mpv crashed).
Code:
Thread 7 "mpv/vo" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe4b9b700 (LWP 8147)]
0x00007ffff1318016 in strlen () from /lib64/libc.so.6
(gdb) bt
#0  0x00007ffff1318016 in strlen () from /lib64/libc.so.6
#1  0x00007ffff1317d3e in strdup () from /lib64/libc.so.6
#2  0x00007ffff6fe4796 in reset_render_context () from /usr/lib64/libass.so.5
#3  0x00007ffff6fe4f6f in ass_render_frame () from /usr/lib64/libass.so.5
#4  0x000000000048fddd in append_ass.isra ()
#5  0x00000000004903b0 in osd_object_get_bitmaps ()
#6  0x000000000048f453 in osd_draw ()
#7  0x00000000004afb6f in mpgl_osd_generate ()
#8  0x00000000004b66df in pass_draw_osd ()
#9  0x00000000004bcc5b in gl_video_render_frame ()
#10 0x00000000004c3675 in draw_frame ()
#11 0x00000000004c1c58 in vo_thread ()
#12 0x00007ffff720d3c4 in start_thread () from /lib64/libpthread.so.0
#13 0x00007ffff13811ad in clone () from /lib64/libc.so.6
vlc crashes after a few seconds playing and _tears_down_ Xorg too.

The problem is persistent since yesterday (maybe after an @world update).
I am not for sure but I think there was a corefile relating kactivity- daemon(?) I guess that got overwritten by the latest coredump.

--- EDIT * ----------------------------------------------The core file I mentioned
Code:
$> file ~/core
/home/atti/core: ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style, from '/usr/bin/kactivitymanagerd', real uid: 1000, effective uid: 1000, real gid: 100, effective gid: 100, execfn: '/usr/bin/kactivitymanagerd', platform: 'x86_64'



I started vlc via gdb on a tty (left ctrl & - alt & F1). The video played but when I used the forward keys everything froze. Only the magic-sys-keys worked.
--- EDIT + -------------------------------------------

Thanks in advance!


Last edited by as.gentoo on Wed Jan 04, 2017 5:45 pm; edited 1 time in total
Back to top
View user's profile Send private message
as.gentoo
Guru
Guru


Joined: 07 Aug 2004
Posts: 319

PostPosted: Sun Jan 01, 2017 9:28 pm    Post subject: Reply with quote

This might be a nouveau driver problem...
Code:
Jan 01 15:31:45 [kernel] [399579.487970] konqueror[24214]: segfault at 8 ip 00007f85d43db500 sp 00007ffcebe24808 error 4 in libQt5Gui.so.5.7.1[7f85d42af000+48c000]
Jan 01 15:32:06 [kernel] [399600.580304] konqueror[24302]: segfault at 8 ip 00007f8e535ff500 sp 00007ffd4ef75bb8 error 4 in libQt5Gui.so.5.7.1[7f8e534d3000+48c000]
Jan 01 16:25:14 [kernel] [402789.017924] traps: mpv/lua (osc)[27251] general protection ip:7fbb17846a84 sp:7fbb0d8b3d48 error:0 in libc-2.23.so[7fbb177ce000+18f000]
Jan 01 16:25:20 [kernel] [402794.837806] traps: mpv/lua (osc)[27293] general protection ip:7fbef0798a84 sp:7fbee6805d48 error:0 in libc-2.23.so[7fbef0720000+18f000]
Jan 01 16:25:24 [kernel] [402798.549112] traps: mpv/vo[27338] general protection ip:7fc1ea923016 sp:7fc1dafc66f8 error:0 in libc-2.23.so[7fc1ea8a5000+18f000]
Jan 01 16:25:28 [kernel] [402803.115326] traps: mpv/vo[27380] general protection ip:7fe9c96f3016 sp:7fe9bddb06f8 error:0 in libc-2.23.so[7fe9c9675000+18f000]
Jan 01 16:25:34 [kernel] [402808.915298] traps: mpv/vo[27422] general protection ip:7f530a0af016 sp:7f52fe76c6f8 error:0 in libc-2.23.so[7f530a031000+18f000]
Jan 01 16:25:39 [kernel] [402813.898923] traps: mpv/vo[27463] general protection ip:7fb957005016 sp:7fb94768c6f8 error:0 in libc-2.23.so[7fb956f87000+18f000]
Jan 01 16:25:56 [kernel] [402830.399393] traps: mpv/vo[27511] general protection ip:7f9c9bd05016 sp:7f9c8b7fd6f8 error:0 in libc-2.23.so[7f9c9bc87000+18f000]
Jan 01 20:46:53 [kernel] [418488.144970] traps: mpv/vo[2884] general protection ip:7f711839a016 sp:7f70ffffe6f8 error:0 in libc-2.23.so[7f711831c000+18f000]
Jan 01 20:47:04 [kernel] [418499.362182] traps: mpv/lua (osc)[2922] general protection ip:7f0d29869a84 sp:7f0d1f8d6d48 error:0 in libc-2.23.so[7f0d297f1000+18f000]
Jan 01 20:47:16 [kernel] [418511.462214] traps: mpv/vo[2970] general protection ip:7f4cdf78e016 sp:7f4ccf7fd6f8 error:0 in libc-2.23.so[7f4cdf710000+18f000]
Jan 01 20:47:32 [kernel] [418526.756805] traps: mpv/vo[3040] general protection ip:7ff1dc530016 sp:7ff1c3ffe6f8 error:0 in libc-2.23.so[7ff1dc4b2000+18f000]
Jan 01 20:47:43 [kernel] [418538.423824] nouveau 0000:03:00.0: Direct firmware load for nouveau/nvf1_fuc084 failed with error -2
Jan 01 20:47:43 [kernel] [418538.423849] nouveau 0000:03:00.0: Direct firmware load for nouveau/nvf1_fuc084d failed with error -2
Jan 01 20:47:43 [kernel] [418538.423852] nouveau 0000:03:00.0: msvld: unable to load firmware data
Jan 01 20:47:43 [kernel] [418538.423855] nouveau 0000:03:00.0: msvld: init failed, -19
Jan 01 20:50:09 [kernel] [418683.985516] nouveau 0000:03:00.0: Direct firmware load for nouveau/nvf1_fuc084 failed with error -2
Jan 01 20:50:09 [kernel] [418683.985522] nouveau 0000:03:00.0: Direct firmware load for nouveau/nvf1_fuc084d failed with error -2
Jan 01 20:50:09 [kernel] [418683.985523] nouveau 0000:03:00.0: msvld: unable to load firmware data
Jan 01 20:50:09 [kernel] [418683.985525] nouveau 0000:03:00.0: msvld: init failed, -19
Jan 01 20:54:14 [kernel] [418928.912172] traps: vlc[3314] general protection ip:7ff1e8bbfc5f sp:7ff1cb55fcf0 error:0 in libQt5Core.so.5.7.1[7ff1e8973000+47a000]
Jan 01 20:54:16 [kernel] [418930.848505] audacious[29196]: segfault at 0 ip 00007f0c566b495b sp 00007ffe38742178 error 4 in libQt5Gui.so.5.7.1[7f0c56551000+48c000]
Jan 01 20:54:16 [kernel] [418931.082328] kactivitymanage[18417]: segfault at 7ff31246bc90 ip 00007ff2ea7844f1 sp 00007ffc6b166f38 error 4 in libQt5Sql.so.5.7.1[7ff2ea76f000+43000]
Jan 01 21:06:42 [kernel] [419676.773809] traps: mpv/lua (osc)[25049] general protection ip:7f2a28e7ea84 sp:7f2a1e6ead48 error:0 in libc-2.23.so[7f2a28e06000+18f000]
Jan 01 21:07:05 [kernel] [419700.080583] traps: mpv/lua (osc)[25136] general protection ip:7f7ae014da84 sp:7f7ad61bad48 error:0 in libc-2.23.so[7f7ae00d5000+18f000]
Jan 01 21:33:23 [kernel] [421277.631677] traps: mpv/vo[6503] general protection ip:7efc66ca2016 sp:7efc56cdf6f8 error:0 in libc-2.23.so[7efc66c24000+18f000]
Jan 01 21:34:04 [kernel] [421319.168163] traps: mpv/lua (osc)[7986] general protection ip:7f6ac1068a84 sp:7f6ab68d4d48 error:0 in libc-2.23.so[7f6ac0ff0000+18f000]
Jan 01 21:59:03 [kernel] [422818.123690] nouveau 0000:03:00.0: Direct firmware load for nouveau/nvf1_fuc084 failed with error -2
Jan 01 21:59:03 [kernel] [422818.123695] nouveau 0000:03:00.0: Direct firmware load for nouveau/nvf1_fuc084d failed with error -2
Jan 01 21:59:03 [kernel] [422818.123696] nouveau 0000:03:00.0: msvld: unable to load firmware data
Jan 01 21:59:03 [kernel] [422818.123697] nouveau 0000:03:00.0: msvld: init failed, -19
Jan 01 22:00:52 [kernel] [422927.197557] nouveau 0000:03:00.0: Direct firmware load for nouveau/nvf1_fuc084 failed with error -2
Jan 01 22:00:52 [kernel] [422927.197566] nouveau 0000:03:00.0: Direct firmware load for nouveau/nvf1_fuc084d failed with error -2
Jan 01 22:00:52 [kernel] [422927.197568] nouveau 0000:03:00.0: msvld: unable to load firmware data
Jan 01 22:00:52 [kernel] [422927.197569] nouveau 0000:03:00.0: msvld: init failed, -19
Jan 01 22:06:10 [kernel] [423245.050510] kactivitymanage[23239]: segfault at 7f8e997e4c90 ip 00007f8e8016f4f1 sp 00007ffc6a809308 error 4 in libQt5Sql.so.5.7.1[7f8e8015a000+43000]
Jan 01 22:08:52 [kernel] [423407.320014] sysrq: SysRq : Emergency Sync
Is it?
Back to top
View user's profile Send private message
Proinsias
Tux's lil' helper
Tux's lil' helper


Joined: 06 Oct 2014
Posts: 133
Location: Scotland

PostPosted: Sun Jan 01, 2017 10:18 pm    Post subject: Reply with quote

Similar issue here, noticed it last night. Changing volume in mpv with 0/9 closes down mpv. I'm using the intel i965 driver without full de, just i3wm. mpv does not bring down xorg, just kills itself.
Code:
fish: “mpv /mnt/storage/videos/movies/…” terminated by signal SIGSEGV (Address boundary error)
Back to top
View user's profile Send private message
as.gentoo
Guru
Guru


Joined: 07 Aug 2004
Posts: 319

PostPosted: Sun Jan 01, 2017 10:22 pm    Post subject: Reply with quote

Proinsias wrote:
Similar issue here, noticed it last night. Changing volume in mpv with 0/9 closes down mpv. I'm using the intel i965 driver without full de, just i3wm. mpv does not bring down xorg, just kills itself.
Code:
fish: “mpv /mnt/storage/videos/movies/…” terminated by signal SIGSEGV (Address boundary error)
To clarify: as in the post above, just vlc "brought down" xorg - mpv did not.
Back to top
View user's profile Send private message
Proinsias
Tux's lil' helper
Tux's lil' helper


Joined: 06 Oct 2014
Posts: 133
Location: Scotland

PostPosted: Tue Jan 03, 2017 11:45 pm    Post subject: Reply with quote

Code:
emerge mpv
sorted out my mpv issues, only briefly tested vlc and not had any issues but that may be due to no kde here. Mpv issues seemed to be a crash whenever the on screen display appeared, but the recompile has it running nicely.
Back to top
View user's profile Send private message
as.gentoo
Guru
Guru


Joined: 07 Aug 2004
Posts: 319

PostPosted: Wed Jan 04, 2017 12:03 am    Post subject: Reply with quote

Interesting.
Code:
sudo USE="-enca" emerge =media-video/mpv-0.22.0-r1
worked for me.

EDIT: Just emerge mpv works.

Now, why is that?
Back to top
View user's profile Send private message
Proinsias
Tux's lil' helper
Tux's lil' helper


Joined: 06 Oct 2014
Posts: 133
Location: Scotland

PostPosted: Wed Jan 04, 2017 1:46 am    Post subject: Reply with quote

https://bugs.gentoo.org/show_bug.cgi?id=604352
Back to top
View user's profile Send private message
as.gentoo
Guru
Guru


Joined: 07 Aug 2004
Posts: 319

PostPosted: Wed Jan 04, 2017 5:42 pm    Post subject: Reply with quote

I see, I created the file /etc/portage/package.use/mpv containing
Code:
media-video/mpv    -libass
then.
thx!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum