Bug 406145 - Kaffeine hangs with latest libdvbv5-1.16.5
Summary: Kaffeine hangs with latest libdvbv5-1.16.5
Status: RESOLVED FIXED
Alias: None
Product: kaffeine
Classification: Applications
Component: general (show other bugs)
Version: 2.0.15
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Mauro Carvalho Chehab
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-02 11:23 UTC by noname
Modified: 2019-05-04 23:44 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description noname 2019-04-02 11:23:17 UTC
My distro upgrade to libdvbv5-1.16.5
Since kaffeine cant open my device and i have no device config tab in the ui.

kaffeine -d :

02-04-19 13:10:00.076 [Debug   ] kaffeine.vlc: Using libVLC with args: --no-video-title-show
02-04-19 13:10:00.103 [Debug   ] kaffeine.mediawidget: video resized to 0.0
02-04-19 13:10:00.132 [Info    ] kaffeine.dvb: Using built-in dvb device manager
02-04-19 13:10:00.218 [Debug   ] kaffeine.dev: New device detected: /org/kde/solid/udev/sys/devices/pci0000:00/0000:00:14.0/usb1/1-9/dvb/dvb0.demux0
02-04-19 13:10:00.218 [Debug   ] kaffeine.dev: New device detected: /org/kde/solid/udev/sys/devices/pci0000:00/0000:00:14.0/usb1/1-9/dvb/dvb0.dvr0
02-04-19 13:10:00.218 [Debug   ] kaffeine.dev: New device detected: /org/kde/solid/udev/sys/devices/pci0000:00/0000:00:14.0/usb1/1-9/dvb/dvb0.frontend0
02-04-19 13:10:00.218 [Critical] kaffeine.dev: Aucun fichier ou dossier de ce type while opening `��-�U
02-04-19 13:10:00.218 [Warning ] kaffeine.dev: Cannot open frontend /dev/dvb/adapter0/frontend0
02-04-19 13:10:00.218 [Debug   ] kaffeine.dev: New device detected: /org/kde/solid/udev/sys/devices/pci0000:00/0000:00:14.0/usb1/1-9/dvb/dvb0.net0

After some tests found that after libdvb5 update, kaffeine cant create and read the config.dvb file (error while opening `��-�U) 
Create config.dvb manualy or downgrading to libdvbv5-1.16.3 solves the issue.

Thanks
Comment 1 tuxnux 2019-04-25 08:08:19 UTC
Hi,
I also have same problem with Mageia 7 (Cauldron) I reported bug on "bugs.mageia.org" 
https://bugs.mageia.org/show_bug.cgi?id=24711
and told me to come here
and I confirm the solution of "mailto:edpil02@orange.fr" to be good
I recompiled the package "v4l-utils" v1.16.3 and retrograded, the rpm lib64v4l0-1.16.5 (which contains "libdvbv5") to lib64v4l0-1.16.3 and kaffeine work well again
I tested with "v4l-utils" v1.16.4 but same bug with v1.16.5
Comment 2 noname 2019-04-25 09:50:52 UTC
The bug seems to be resolve in libdvbc5 upstream.
https://git.linuxtv.org/v4l-utils.git/commit/?h=stable-1.16

See : https://bugzilla.redhat.com/show_bug.cgi?id=1695023
      https://bodhi.fedoraproject.org/updates/FEDORA-2019-58a48ede6c 

But got same issue after my distro upgrade.
Comment 3 tuxnux 2019-04-25 15:18:51 UTC
(In reply to edpil02 from comment #2)
> The bug seems to be resolve in libdvbc5 upstream.
> https://git.linuxtv.org/v4l-utils.git/commit/?h=stable-1.16
> 
> See : https://bugzilla.redhat.com/show_bug.cgi?id=1695023
>       https://bodhi.fedoraproject.org/updates/FEDORA-2019-58a48ede6c 
> 
> But got same issue after my distro upgrade.

I compiled with the patch from fedora but like you I always have the same bug
also I compiled with the clone of the github and same bug
Comment 4 tuxnux 2019-04-25 15:22:07 UTC
only version 1.16.3 work well
pending fix I will continue with this one
Comment 5 noname 2019-04-25 18:27:46 UTC
Im using the 1.16.5 version rebuilt with the fedora revert patch:
https://bugzilla.redhat.com/attachment.cgi?id=1550940 
--- > v4l-utils_0001-Revert-libdvbv5-leaks-and-double-free-in-dvb_fe_open.patch

I have no issue with this patch.Kaffeine runs well. Sorry for my english .
Comment 6 tuxnux 2019-04-25 21:24:58 UTC
(In reply to edpil02 from comment #5)
> Im using the 1.16.5 version rebuilt with the fedora revert patch:
> https://bugzilla.redhat.com/attachment.cgi?id=1550940 
> --- >
> v4l-utils_0001-Revert-libdvbv5-leaks-and-double-free-in-dvb_fe_open.patch
> 
> I have no issue with this patch.Kaffeine runs well. Sorry for my english .

now work well with this patch
Thank you very much to the redhat/fedora team and you edpil02
Comment 7 tuxnux 2019-04-26 08:45:47 UTC
(In reply to edpil02 from comment #5)
> Im using the 1.16.5 version rebuilt with the fedora revert patch:
> https://bugzilla.redhat.com/attachment.cgi?id=1550940 
> --- >
> v4l-utils_0001-Revert-libdvbv5-leaks-and-double-free-in-dvb_fe_open.patch
> 
> I have no issue with this patch.Kaffeine runs well. Sorry for my english .

ne t'inquiete pas pour ton anglais le mien est encore plus pitoyable que le tien mdr :D
Comment 8 noname 2019-04-26 09:18:53 UTC
Je me doutais un peux que l'on venait du meme "coin".
Je m'étais dit  Mageia --> donc certainement francais.

Content de t'avoir été utile.
A+
Comment 9 Mauro Carvalho Chehab 2019-04-26 15:34:25 UTC
(In reply to edpil02 from comment #5)
> Im using the 1.16.5 version rebuilt with the fedora revert patch:
> https://bugzilla.redhat.com/attachment.cgi?id=1550940 
> --- >
> v4l-utils_0001-Revert-libdvbv5-leaks-and-double-free-in-dvb_fe_open.patch
> 
> I have no issue with this patch.Kaffeine runs well. Sorry for my english .

Broken patch reverted on v4l-utils upstream on all affected branches.

We should soon be releasing a new fixes release for v4l-utils package.

(In reply to tuxnux from comment #7)
> ne t'inquiete pas pour ton anglais le mien est encore plus pitoyable que le
> tien mdr :D

English please.
Inglês por favor.
Ingles por favor.
Anglais s'il vous plaît.
Comment 10 noname 2019-04-26 18:45:14 UTC
(In reply to Mauro Carvalho Chehab from comment #9)
> (In reply to edpil02 from comment #5)
> > Im using the 1.16.5 version rebuilt with the fedora revert patch:
> > https://bugzilla.redhat.com/attachment.cgi?id=1550940 
> > --- >
> > v4l-utils_0001-Revert-libdvbv5-leaks-and-double-free-in-dvb_fe_open.patch
> > 
> > I have no issue with this patch.Kaffeine runs well. Sorry for my english .
> 
> Broken patch reverted on v4l-utils upstream on all affected branches.
> 
> We should soon be releasing a new fixes release for v4l-utils package.
> 
> (In reply to tuxnux from comment #7)
> > ne t'inquiete pas pour ton anglais le mien est encore plus pitoyable que le
> > tien mdr :D
> 
> English please.
> Inglês por favor.
> Ingles por favor.
> Anglais s'il vous plaît.

We
Comment 11 noname 2019-04-26 18:54:04 UTC
(In reply to Mauro Carvalho Chehab from comment #9)
> (In reply to edpil02 from comment #5)
> > Im using the 1.16.5 version rebuilt with the fedora revert patch:
> > https://bugzilla.redhat.com/attachment.cgi?id=1550940 
> > --- >
> > v4l-utils_0001-Revert-libdvbv5-leaks-and-double-free-in-dvb_fe_open.patch
> > 
> > I have no issue with this patch.Kaffeine runs well. Sorry for my english .
> 
> Broken patch reverted on v4l-utils upstream on all affected branches.
> 
> We should soon be releasing a new fixes release for v4l-utils package.
> 
> (In reply to tuxnux from comment #7)
> > ne t'inquiete pas pour ton anglais le mien est encore plus pitoyable que le
> > tien mdr :D
> 
> English please.
> Inglês por favor.
> Ingles por favor.
> Anglais s'il vous plaît.

I'm making a lot of work to try speak english.
Have a pity for us ; and again sorry for my english
Comment 12 Mauro Carvalho Chehab 2019-04-26 20:22:15 UTC
(In reply to edpil02 from comment #11)
> (In reply to Mauro Carvalho Chehab from comment #9)
> > (In reply to edpil02 from comment #5)
> > > Im using the 1.16.5 version rebuilt with the fedora revert patch:
> > > https://bugzilla.redhat.com/attachment.cgi?id=1550940 
> > > --- >
> > > v4l-utils_0001-Revert-libdvbv5-leaks-and-double-free-in-dvb_fe_open.patch
> > > 
> > > I have no issue with this patch.Kaffeine runs well. Sorry for my english .
> > 
> > Broken patch reverted on v4l-utils upstream on all affected branches.
> > 
> > We should soon be releasing a new fixes release for v4l-utils package.
> > 
> > (In reply to tuxnux from comment #7)
> > > ne t'inquiete pas pour ton anglais le mien est encore plus pitoyable que le
> > > tien mdr :D
> > 
> > English please.
> > Inglês por favor.
> > Ingles por favor.
> > Anglais s'il vous plaît.
> 
> I'm making a lot of work to try speak english.
> Have a pity for us ; and again sorry for my english

No problem with that. I'm not a native-speaker either ;-) I make a lot of mistakes myself.

Yet, please use English here, as it is the de-facto common language.
Comment 13 Ali Molaei 2019-05-03 06:20:21 UTC
Same problem on Arch Linux with kaffeine 2.0.16 and 2.0.17 with libv4l-1.16.5

kaffiene works with libv4l 1.16.3
Comment 14 Mauro Carvalho Chehab 2019-05-03 18:41:11 UTC
(In reply to Ali Molaei from comment #13)
> Same problem on Arch Linux with kaffeine 2.0.16 and 2.0.17 with libv4l-1.16.5
> 
> kaffiene works with libv4l 1.16.3

The fix for it was already at upstream at libv4l. A new version of it (1.16.6) will very likely be released this weekend.
Comment 15 Mauro Carvalho Chehab 2019-05-04 23:44:40 UTC
(In reply to Mauro Carvalho Chehab from comment #14)
> (In reply to Ali Molaei from comment #13)
> > Same problem on Arch Linux with kaffeine 2.0.16 and 2.0.17 with libv4l-1.16.5
> > 
> > kaffiene works with libv4l 1.16.3
> 
> The fix for it was already at upstream at libv4l. A new version of it
> (1.16.6) will very likely be released this weekend.

v4l-utils-1.16.6 was released today with the needed fix. So, I'm closing this bug.