Your message dated Sun, 06 Sep 2015 22:32:17 +0000
with message-id <[email protected]>
and subject line Bug#798190: fixed in libcec 3.0.1+dfsg2-5
has caused the Debian Bug report #798190,
regarding reads nonexistant dir, segfaults Kodi on startup
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
798190: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798190
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libcec3
Version: 3.0.1+dfsg2-4
Severity: grave

Hi,

Recently, Kodi has started segfaulting on startup, pointing to libcec3.
A backtrace reads:

#0  0x00007fffecf55789 in __readdir (dirp=dirp@entry=0x0) at 
../sysdeps/posix/readdir.c:44
#1  0x00007fffc81d8b74 in PLATFORM::CDRMEdidParser::GetPhysicalAddress 
(this=this@entry=0x7fffc29e8550)
    at 
/home/sesse/nmu/libcec-3.0.1+dfsg2/src/libcec/platform/drm/drm-edid.cpp:54
#2  0x00007fffc81e4c0e in CEC::CUSBCECAdapterCommunication::GetPhysicalAddress 
(this=0x7fffb4000f50)
    at 
/home/sesse/nmu/libcec-3.0.1+dfsg2/src/libcec/adapter/Pulse-Eight/USBCECAdapterCommunication.cpp:697
#3  0x00007fffc81baaec in CEC::CCECClient::AutodetectPhysicalAddress 
(this=0x1a7cab0)
    at /home/sesse/nmu/libcec-3.0.1+dfsg2/src/libcec/CECClient.cpp:1224
#4  0x00007fffc81b884c in CEC::CCECClient::SetPhysicalAddress (this=0x1a7cab0, 
configuration=...)
    at /home/sesse/nmu/libcec-3.0.1+dfsg2/src/libcec/CECClient.cpp:236
#5  0x00007fffc81bcdcb in CEC::CCECClient::OnRegister (this=0x1a7cab0) at 
/home/sesse/nmu/libcec-3.0.1+dfsg2/src/libcec/CECClient.cpp:138
#6  0x00007fffc81cd4d2 in CEC::CCECProcessor::RegisterClient (this=0x1a76840, 
client=std::shared_ptr (count 4, weak 0) 0x1a7cab0)
    at /home/sesse/nmu/libcec-3.0.1+dfsg2/src/libcec/CECProcessor.cpp:899
#7  0x00007fffc81d3e7a in CEC::CLibCEC::Open (this=0x1a78d10, 
strPort=<optimized out>, iTimeoutMs=<optimized out>)
    at /home/sesse/nmu/libcec-3.0.1+dfsg2/src/libcec/LibCEC.cpp:91
#8  0x00000000010cdd39 in PERIPHERALS::CPeripheralCecAdapter::OpenConnection() 
()
#9  0x00000000010d0434 in PERIPHERALS::CPeripheralCecAdapter::Process() ()
#10 0x000000000113f56f in CThread::Action() ()
#11 0x000000000113f832 in CThread::staticThread(void*) ()
#12 0x00007ffff55ad0a4 in start_thread (arg=0x7fffc29e9700) at 
pthread_create.c:309
#13 0x00007fffecf8807d in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

It would seem libcec3 unconditionally assumes /sys/class/drm exists
(it does not on my system using the proprietary NVIDIA driver, since
that driver doesn't use drm), and then segfaults when it doesn't.

Could you please add a check for the NULL value?

--- End Message ---
--- Begin Message ---
Source: libcec
Source-Version: 3.0.1+dfsg2-5

We believe that the bug you reported is fixed in the latest version of
libcec, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Balint Reczey <[email protected]> (supplier of updated libcec package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 06 Sep 2015 19:11:37 +0200
Source: libcec
Binary: libcec-dev libcec3 cec-utils python-libcec
Architecture: source
Version: 3.0.1+dfsg2-5
Distribution: unstable
Urgency: medium
Maintainer: Sjoerd Simons <[email protected]>
Changed-By: Balint Reczey <[email protected]>
Description:
 cec-utils  - USB CEC Adaptor communication Library (utility programs)
 libcec-dev - USB CEC Adaptor communication Library (development files)
 libcec3    - USB CEC Adaptor communication Library (shared library)
 python-libcec - Python bindings for USB CEC Adaptor
Closes: 798190
Changes:
 libcec (3.0.1+dfsg2-5) unstable; urgency=medium
 .
   * Fix crash on systems lacking /sys/class/drm (Closes: #798190)
Checksums-Sha1:
 96df242753ed03711f6a610ee124ccf58d7e2335 2271 libcec_3.0.1+dfsg2-5.dsc
 6a19f43fa80073751d73e70c286bda7818c1a9ae 15780 
libcec_3.0.1+dfsg2-5.debian.tar.xz
Checksums-Sha256:
 1e86cc829e88ed9cd6b4fd4215d223c5c574dae660700f8e56c1b2cddc3ae6ea 2271 
libcec_3.0.1+dfsg2-5.dsc
 97698a4df2a31c669a4208730a268b145c7a0a980d700c9ea37e5f1981a46f05 15780 
libcec_3.0.1+dfsg2-5.debian.tar.xz
Files:
 7c9063140809c0d33ffc7c8ad9dbf68e 2271 libs optional libcec_3.0.1+dfsg2-5.dsc
 03945696cc77872184eb48d73ffddc13 15780 libs optional 
libcec_3.0.1+dfsg2-5.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJV7LtKAAoJEPZk0la0aRp9rvcQAIrSDMLhvyisCfco/sDvPlwd
NN7nrKGoDq2Z1PQc3H/zRCKbRL5TTzz7zMSbI66satV1brg2fd6Rlv2yOO6rSRds
DOcWD1VkQ3XCmt29gH4/bB9jDMwUtTTkTRpS+Cj//TTCx1kyZYcrkHWh57G9yGJN
2JlnjHBl7+5cJvPjliZ8ki8CC+fBN3nmG+/5Nbl6gW0VsojRH9nLUMqAvj86x7Qn
j3wvJOygGQJSj+Ilf6nwrzPhk3fLd3l9VKlX5BKsMzXcU0sIaxCg47lHKP4wZyTd
Qy7O+gwquoWVU6sQBW8cBpzQ5yzMRx2hmpZEL/onlaWIqwJ79sSrD/mI38dn2NuQ
mM4cK/AitMqsUB3g1EMkxWIYT80c6lXcX74LnWlfUC1rVWoKLxfFg839AwaGWyJg
Hz6O5ji+hcF3LoCpkTxAUgos26Z90j/6HhJBCv94ZpJkqNLoUSr7zUou2im2LKqK
rGPVxltM9kE8m3chskJ+Gg1hThyY6aCEm+qzaoq5V1vZsesiqslS0OyCM6Ii8WoW
AefV7jWwjCPMy2T2uwKtXmyEwSjM+pFnzA7JOWpN+hZvqa4pZihrZlZy5r7zH3UB
P+Ud1bjzVfkG3xI+n3WW8ePPaQ+Z3DOJgtmpO9kEBD0IU1xt6/8VKNeeYzE3BZCV
lZHYGkvw2L9CGIzDyNCK
=Cw2Y
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to