<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>40834</bug_id>
          
          <creation_ts>2021-08-31 13:01:43 +0300</creation_ts>
          <short_desc>дампы в корне фс (/) от alsa-control при подключении Webcam Genius ECam 8000</short_desc>
          <delta_ts>2021-10-15 22:19:46 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>udev-alsa</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Владимир Осташов">ov</reporter>
          <assigned_to name="Nobody&apos;s working on this, feel free to take it">nobody</assigned_to>
          <cc>rider</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>202164</commentid>
    <comment_count>0</comment_count>
    <who name="Владимир Осташов">ov</who>
    <bug_when>2021-08-31 13:01:43 +0300</bug_when>
    <thetext>Genius ECam 8000 FullHD 1080P 
Bus 001 Device 004: ID 0458:6006 KYE Systems Corp. (Mouse Systems)
Genius Webcam
ос Альт 8 сп2 x64

# cat /proc/asound/cards
 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xb1130000 irq 132
 1 [Webcam         ]: USB-Audio - Genius Webcam
                      KYE Systems corp. Genius Webcam at usb-0000:00:14.0-7, high speed

Обнаружено , что в корне при каждой перезагрузке создаются файлы
одинакового размера, только при подключенной камере, запущенные программы на это не влияют, видео и звук на камере при этом работают.

# file /.2321

/.2321: ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style,
from &apos;/lib/udev/alsa-control&apos;

#journalctl -b0
авг 30 14:43:24 host-dd673d systemd-udevd[2241]: Using default interface naming scheme &apos;v243&apos;.
авг 30 14:43:24 host-dd673d systemd[1]: Reached target Sound Card.
авг 30 14:43:24 host-dd673d systemd-udevd[2243]: controlC1: Process &apos;alsa-control&apos; terminated by signal ABRT.
авг 30 14:43:24 host-dd673d systemd-udevd[2243]: controlC1: Failed to wait for spawned command &apos;alsa-control&apos;: Input/output error
авг 30 14:43:25 host-dd673d systemd-udevd[2243]: controlC1: Process &apos;/usr/sbin/alsactl restore 1&apos; failed with exit code 99.
авг 30 14:43:25 host-dd673d systemd-udevd[2247]: controlC0: Process &apos;/usr/sbin/alsactl restore 0&apos; failed with exit code 99.
авг 30 14:43:25 host-dd673d systemd[1]: Started Flush Journal to Persistent Storage.

# gdb
--
(gdb) core .2323
[New LWP 2323]
Missing separate debuginfo for the main executable file
Try to install the hash file /usr/lib/debug/.build-id/52/7a4829e7d4bf453de6e9155e5c8f48241ecf6f
Core was generated by `/lib/udev/alsa-control&apos;.
Program terminated with signal SIGABRT, Aborted.
#0  0x00007fe4ecb326eb in ?? ()
(gdb) bt
#0  0x00007fe4ecb326eb in ?? ()
#1  0x0000000000000000 in ?? ()

Отключение в grub параметра smem=1, установка пакета

# apt-get install systemd-settings-disable-dumpcore

 # cat ./lib/systemd/system.conf.d/disable-dumpcore.conf

[Manager]

DumpCore=no

изменение настроек в alsamixer,

не помогает, дампы ошибки продолжают создаваться.

Помогло только удаление udev-alsa</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>203835</commentid>
    <comment_count>1</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2021-10-15 22:19:46 +0300</bug_when>
    <thetext>Пакет udev-alsa удалён из Sisyphus в задании 269144</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>