# Webcam / Linux / Newb / Crash!

**URL:** <https://forum.indilib.org/t/webcam-linux-newb-crash/10856>\
**Category:** Cameras\
**Created:** [October 27, 2022, 4:13pm UTC](https://forum.indilib.org/t/webcam-linux-newb-crash/10856 "2022-10-27T16:13:25Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![rlw1138](https://forum.indilib.org/letter_avatar_proxy/v4/letter/r/cab0a1/32.png) [@rlw1138](https://forum.indilib.org/u/rlw1138)\
**Post date:** [October 27, 2022, 4:13pm UTC](https://forum.indilib.org/t/webcam-linux-newb-crash/10856/1 "2022-10-27T16:13:25Z")

</div>

Hey everyone…I’m a brand-new kstars user (just installed it all on Monday) but I’ve worked in computers back to the late 1970s.

New to astro-photo as well…I have a MS “Lifecam Studio” webcam to experiment with – color 1080p, 30 fps, and 3micron pixels. But it’s not cooperating.

Here’s my software: INDI Library 1.9.8 Kstars/Ekos 3.6.1

Here’s how I got it:  
$ sudo apt-add-repository ppa:mutlaqja/ppa  
$ sudo apt-get update  
$ sudo apt-get install indi-full kstars-bleeding

My host system:  
$ uname -a  
Linux russ-mint 5.4.0-71-generic #79-Ubuntu SMP Wed Mar 24 10:56:57 UTC 2021 x86\_64 x86\_64 x86\_64 GNU/Linux

I also installed a number of \*-dbg packages, per the “Read This Before You Post” message.

My ekos profile only contains a single device, the CCD

My first attempts failed immediately upon hitting the Connect button. (driver crash, either with webcam or v4l2 but kstars still running)

I changed the permissions of /dev/video0 (sudo chmod +777 /dev/video0), and was then able to see settings for “Expose”, But ekos and kstars now crashed.

Below is output from kstars log, indi log, and gdb running kstars:

[2022-10-27T10:49:03.738 CDT INFO][org.kde.kstars] - Welcome to KStars 3.6.1 Stable  
[2022-10-27T10:49:03.738 CDT INFO][org.kde.kstars] - Build: 2022-10-19T15:03:43Z  
[2022-10-27T10:49:03.738 CDT INFO][org.kde.kstars] - OS: “linuxmint”  
[2022-10-27T10:49:03.738 CDT INFO][org.kde.kstars] - API: “x86\_64-little\_endian-lp64”  
[2022-10-27T10:49:03.738 CDT INFO][org.kde.kstars] - Arch: “x86\_64”  
[2022-10-27T10:49:03.738 CDT INFO][org.kde.kstars] - Kernel Type: “linux”  
[2022-10-27T10:49:03.739 CDT INFO][org.kde.kstars] - Kernel Version: “5.4.0-71-generic”  
[2022-10-27T10:49:03.739 CDT INFO][org.kde.kstars] - Qt Version: 5.12.8  
[2022-10-27T10:49:04.352 CDT DEBG][org.kde.kstars] - Opened the User DB. Ready.  
[2022-10-27T10:49:04.471 CDT INFO][org.kde.kstars] - Processing “unnamedstars.dat” , HTMesh Level 3  
[2022-10-27T10:49:04.471 CDT INFO][org.kde.kstars] - Sky Mesh Size: 512  
[2022-10-27T10:49:04.503 CDT INFO][org.kde.kstars] - Loaded DSO catalog file: “unnamedstars.dat”  
[2022-10-27T10:49:04.745 CDT WARN][org.kde.kstars] - “Star HD20,794 not found.”  
[2022-10-27T10:49:04.757 CDT WARN][org.kde.kstars] - “Star HD98,230 not found.”  
[2022-10-27T10:49:04.768 CDT INFO][org.kde.kstars] - Loaded DSO catalogs.  
[2022-10-27T10:49:04.857 CDT INFO][org.kde.kstars] - Loading comets  
[2022-10-27T10:49:04.931 CDT WARN][default] - Invalid Context= “Apps” line for icon theme: “/usr/share/icons/Mint-Y/apps/16/”  
[2022-10-27T10:49:04.931 CDT WARN][default] - Invalid Context= “Apps” line for icon theme: “/usr/share/icons/Mint-Y/apps/16@2x/”  
[2022-10-27T10:49:04.931 CDT WARN][default] - Invalid Context= “Mimetypes” line for icon theme: “/usr/share/icons/Mint-Y/mimetypes/16/”  
[2022-10-27T10:49:04.931 CDT WARN][default] - Invalid Context= “Mimetypes” line for icon theme: “/usr/share/icons/Mint-Y/mimetypes/16@2x/”  
[2022-10-27T10:49:04.931 CDT WARN][default] - Invalid Context= “Apps” line for icon theme: “/usr/share/icons/Mint-Y/apps/22/”  
[2022-10-27T10:49:04.931 CDT WARN][default] - Invalid Context= “Apps” line for icon theme: “/usr/share/icons/Mint-Y/apps/22@2x/”  
[2022-10-27T10:49:04.932 CDT WARN][default] - Invalid Context= “Apps” line for icon theme: “/usr/share/icons/Mint-Y/apps/24/”  
[2022-10-27T10:49:04.932 CDT WARN][default] - Invalid Context= “Apps” line for icon theme: “/usr/share/icons/Mint-Y/apps/24@2x/”  
[2022-10-27T10:49:04.932 CDT WARN][default] - Invalid Context= “Mimetypes” line for icon theme: “/usr/share/icons/Mint-Y/mimetypes/24/”  
[2022-10-27T10:49:04.932 CDT WARN][default] - Invalid Context= “Mimetypes” line for icon theme: “/usr/share/icons/Mint-Y/mimetypes/24@2x/”  
[2022-10-27T10:49:04.932 CDT WARN][default] - Invalid Context= “Apps” line for icon theme: “/usr/share/icons/Mint-Y/apps/32/”  
[2022-10-27T10:49:04.932 CDT WARN][default] - Invalid Context= “Apps” line for icon theme: “/usr/share/icons/Mint-Y/apps/32@2x/”  
[2022-10-27T10:49:04.932 CDT WARN][default] - Invalid Context= “Mimetypes” line for icon theme: “/usr/share/icons/Mint-Y/mimetypes/32/”  
[2022-10-27T10:49:04.932 CDT WARN][default] - Invalid Context= “Mimetypes” line for icon theme: “/usr/share/icons/Mint-Y/mimetypes/32@2x/”  
[2022-10-27T10:49:04.932 CDT WARN][default] - Invalid Context= “Apps” line for icon theme: “/usr/share/icons/Mint-Y/apps/48/”  
[2022-10-27T10:49:04.932 CDT WARN][default] - Invalid Context= “Apps” line for icon theme: “/usr/share/icons/Mint-Y/apps/48@2x/”  
[2022-10-27T10:49:04.932 CDT WARN][default] - Invalid Context= “Mimetypes” line for icon theme: “/usr/share/icons/Mint-Y/mimetypes/48/”  
[2022-10-27T10:49:04.933 CDT WARN][default] - Invalid Context= “Mimetypes” line for icon theme: “/usr/share/icons/Mint-Y/mimetypes/48@2x/”  
[2022-10-27T10:49:04.933 CDT WARN][default] - Invalid Context= “Apps” line for icon theme: “/usr/share/icons/Mint-Y/apps/64/”  
[2022-10-27T10:49:04.933 CDT WARN][default] - Invalid Context= “Apps” line for icon theme: “/usr/share/icons/Mint-Y/apps/64@2x/”  
[2022-10-27T10:49:04.933 CDT WARN][default] - Invalid Context= “Mimetypes” line for icon theme: “/usr/share/icons/Mint-Y/mimetypes/64/”  
[2022-10-27T10:49:04.933 CDT WARN][default] - Invalid Context= “Mimetypes” line for icon theme: “/usr/share/icons/Mint-Y/mimetypes/64@2x/”  
[2022-10-27T10:49:04.933 CDT WARN][default] - Invalid Context= “Apps” line for icon theme: “/usr/share/icons/Mint-Y/apps/96/”  
[2022-10-27T10:49:04.933 CDT WARN][default] - Invalid Context= “Apps” line for icon theme: “/usr/share/icons/Mint-Y/apps/96@2x/”  
[2022-10-27T10:49:04.933 CDT WARN][default] - Invalid Context= “Mimetypes” line for icon theme: “/usr/share/icons/Mint-Y/mimetypes/128/”  
[2022-10-27T10:49:04.933 CDT WARN][default] - Invalid Context= “Mimetypes” line for icon theme: “/usr/share/icons/Mint-Y/mimetypes/128@2x/”  
[2022-10-27T10:49:04.933 CDT WARN][default] - Invalid Context= “Apps” line for icon theme: “/usr/share/icons/Mint-Y/apps/256/”  
[2022-10-27T10:49:04.933 CDT WARN][default] - Invalid Context= “Apps” line for icon theme: “/usr/share/icons/Mint-Y/apps/256@2x/”  
[2022-10-27T10:49:04.933 CDT WARN][default] - Invalid Context= “Apps” line for icon theme: “/usr/share/icons/Mint-Y/apps/symbolic/”  
[2022-10-27T10:49:04.934 CDT WARN][default] - Invalid Context= “Mimetypes” line for icon theme: “/usr/share/icons/Mint-Y/mimetypes/symbolic/”  
[2022-10-27T10:49:04.935 CDT WARN][default] - Invalid Context= “Legacy” line for icon theme: “/usr/share/icons/Adwaita/8x8/legacy/”  
[2022-10-27T10:49:04.935 CDT WARN][default] - Invalid Context= “Legacy” line for icon theme: “/usr/share/icons/Adwaita/16x16/legacy/”  
[2022-10-27T10:49:04.935 CDT WARN][default] - Invalid Context= “UI” line for icon theme: “/usr/share/icons/Adwaita/16x16/ui/”  
[2022-10-27T10:49:04.935 CDT WARN][default] - Invalid Context= “Legacy” line for icon theme: “/usr/share/icons/Adwaita/22x22/legacy/”  
[2022-10-27T10:49:04.935 CDT WARN][default] - Invalid Context= “Legacy” line for icon theme: “/usr/share/icons/Adwaita/24x24/legacy/”  
[2022-10-27T10:49:04.935 CDT WARN][default] - Invalid Context= “UI” line for icon theme: “/usr/share/icons/Adwaita/24x24/ui/”  
[2022-10-27T10:49:04.935 CDT WARN][default] - Invalid Context= “Legacy” line for icon theme: “/usr/share/icons/Adwaita/32x32/legacy/”  
[2022-10-27T10:49:04.935 CDT WARN][default] - Invalid Context= “UI” line for icon theme: “/usr/share/icons/Adwaita/32x32/ui/”  
[2022-10-27T10:49:04.935 CDT WARN][default] - Invalid Context= “Legacy” line for icon theme: “/usr/share/icons/Adwaita/48x48/legacy/”  
[2022-10-27T10:49:04.936 CDT WARN][default] - Invalid Context= “UI” line for icon theme: “/usr/share/icons/Adwaita/48x48/ui/”  
[2022-10-27T10:49:04.936 CDT WARN][default] - Invalid Context= “Legacy” line for icon theme: “/usr/share/icons/Adwaita/64x64/legacy/”  
[2022-10-27T10:49:04.936 CDT WARN][default] - Invalid Context= “UI” line for icon theme: “/usr/share/icons/Adwaita/64x64/ui/”  
[2022-10-27T10:49:04.936 CDT WARN][default] - Invalid Context= “Legacy” line for icon theme: “/usr/share/icons/Adwaita/96x96/legacy/”  
[2022-10-27T10:49:04.936 CDT WARN][default] - Invalid Context= “UI” line for icon theme: “/usr/share/icons/Adwaita/96x96/ui/”  
[2022-10-27T10:49:04.936 CDT WARN][default] - Invalid Context= “Legacy” line for icon theme: “/usr/share/icons/Adwaita/256x256/legacy/”  
[2022-10-27T10:49:04.936 CDT WARN][default] - Invalid Context= “Legacy” line for icon theme: “/usr/share/icons/Adwaita/512x512/legacy/”  
[2022-10-27T10:49:04.936 CDT WARN][default] - Invalid Context= “Legacy” line for icon theme: “/usr/share/icons/Adwaita/scalable/legacy/”  
[2022-10-27T10:49:04.936 CDT WARN][default] - Invalid Context= “UI” line for icon theme: “/usr/share/icons/Adwaita/scalable/ui/”  
[2022-10-27T10:49:04.955 CDT DEBG][org.kde.kstars] - Paths to color scheme : (“/usr/share/kstars/themes”)  
[2022-10-27T10:49:05.108 CDT DEBG][org.kde.kstars] - Reporting new timestep value: 60  
[2022-10-27T10:49:05.179 CDT WARN][default] - libpng warning: iCCP: known incorrect sRGB profile  
[2022-10-27T10:49:05.233 CDT DEBG][qt5ct] - D-Bus global menu: no  
[2022-10-27T10:49:05.236 CDT CRIT][default] - Shortcut for action “get\_data” “Download New Data…” set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.  
[2022-10-27T10:49:05.236 CDT CRIT][default] - Shortcut for action “timestep\_increase\_units” “Increase Time Scale” set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.  
[2022-10-27T10:49:05.236 CDT CRIT][default] - Shortcut for action “timestep\_decrease\_units” “Decrease Time Scale” set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.  
[2022-10-27T10:49:05.245 CDT DEBG][org.kde.kstars] - Daylight Saving Time active  
[2022-10-27T10:49:05.245 CDT DEBG][org.kde.kstars] - Next Daylight Savings Time change (Local Time): “Sun Nov 6 01:59:59 2022 GMT”  
[2022-10-27T10:49:05.246 CDT DEBG][org.kde.kstars] - Next Daylight Savings Time change (UTC): “Sun Nov 6 06:59:59 2022 GMT”  
[2022-10-27T10:49:05.385 CDT DEBG][org.kde.kstars] - Daylight Saving Time active  
[2022-10-27T10:49:05.385 CDT DEBG][org.kde.kstars] - Next Daylight Savings Time change (Local Time): “Sun Nov 6 01:59:59 2022 GMT”  
[2022-10-27T10:49:05.385 CDT DEBG][org.kde.kstars] - Next Daylight Savings Time change (UTC): “Sun Nov 6 06:59:59 2022 GMT”  
[2022-10-27T10:49:05.386 CDT DEBG][org.kde.kstars] - Starting the timer  
[2022-10-27T10:49:05.514 CDT DEBG][org.kde.kstars] - Date/Time is: “Thu Oct 27 15:49:05 2022 GMT”  
[2022-10-27T10:49:05.514 CDT DEBG][org.kde.kstars] - Location: “Elgin, Illinois, USA”  
[2022-10-27T10:49:05.514 CDT DEBG][org.kde.kstars] - TZ0: -6 TZ: -5  
[2022-10-27T10:49:05.514 CDT WARN][org.kde.kstars] - Current icon theme is “Mint-Y”  
[2022-10-27T10:49:05.708 CDT DEBG][default] - static bool LibSecretKeyring::findPassword(const QString&, const QString&, QKeychain::JobPrivate\*)  
[2022-10-27T10:49:05.837 CDT WARN][default] - QImage::scaled: Image is a null image  
[2022-10-27T10:49:06.461 CDT INFO][org.kde.kstars] - Loading comets  
[2022-10-27T10:49:09.691 CDT INFO][org.kde.kstars] - Loading asteroids  
[2022-10-27T10:49:25.666 CDT DEBG][org.kde.kstars.ekos] - Resetting Ekos Manager…  
[2022-10-27T10:49:25.700 CDT INFO][org.kde.kstars.ekos] - “Starting INDI services…”  
[2022-10-27T10:49:25.701 CDT DEBG][org.kde.kstars.indi] - INDI: Starting local drivers…  
[2022-10-27T10:49:25.701 CDT DEBG][org.kde.kstars.indi] - Starting INDI Server: (“-v”, “-p”, “7624”, “-m”, “1024”, “-r”, “0”, “-f”, “/tmp/indififo2ccf5a19”) -f “/tmp/indififo2ccf5a19”  
[2022-10-27T10:49:25.713 CDT DEBG][org.kde.kstars.indi] - INDI: INDI Server started locally on port 7624  
[2022-10-27T10:49:25.713 CDT DEBG][org.kde.kstars.indi] - INDI Server Started? true  
[2022-10-27T10:49:25.713 CDT DEBG][org.kde.kstars.indi] - Starting INDI Driver “indi\_webcam\_ccd”  
[2022-10-27T10:49:25.720 CDT DEBG][org.kde.kstars.indi] - Adding managed driver “INDI Webcam”  
[2022-10-27T10:49:25.720 CDT DEBG][org.kde.kstars.indi] - INDIListener: Adding a new client manager to INDI listener..  
[2022-10-27T10:49:25.721 CDT DEBG][org.kde.kstars.indi] - INDI: Connecting to local INDI server on port 7624 …  
[2022-10-27T10:49:25.721 CDT DEBG][org.kde.kstars.indi] - INDI server connected.  
[2022-10-27T10:49:25.722 CDT INFO][org.kde.kstars.ekos] - “INDI services started on port 7,624. Please connect devices.”  
[2022-10-27T10:49:25.724 CDT DEBG][org.kde.kstars.indi] - INDI Server: “2022-10-27T15:49:25: startup: /usr/bin/indiserver -v -p 7624 -m 1024 -r 0 -f /tmp/indififo2ccf5a19”  
[2022-10-27T10:49:25.724 CDT DEBG][org.kde.kstars.indi] - INDI Server: “2022-10-27T15:49:25: listening to port 7624 on fd 5”  
[2022-10-27T10:49:25.724 CDT DEBG][org.kde.kstars.indi] - INDI Server: “2022-10-27T15:49:25: Local server: listening on local domain at: @/tmp/indiserver”  
[2022-10-27T10:49:25.724 CDT DEBG][org.kde.kstars.indi] - INDI Server: “2022-10-27T15:49:25: FIFO: start indi\_webcam\_ccd -n "INDI Webcam"”  
[2022-10-27T10:49:25.724 CDT DEBG][org.kde.kstars.indi] - INDI Server: “2022-10-27T15:49:25: With name: INDI Webcam”  
[2022-10-27T10:49:25.724 CDT DEBG][org.kde.kstars.indi] - INDI Server: “2022-10-27T15:49:25: FIFO: Starting driver indi\_webcam\_ccd”  
[2022-10-27T10:49:25.724 CDT DEBG][org.kde.kstars.indi] - INDI Server: “2022-10-27T15:49:25: Driver indi\_webcam\_ccd: pid=117064 rfd=9 wfd=9 efd=10”  
[2022-10-27T10:49:25.724 CDT DEBG][org.kde.kstars.indi] - INDI Server: “2022-10-27T15:49:25: Client 8: new arrival from local pid 117006 (user: 1000:1000) - welcome!”  
[2022-10-27T10:49:25.724 CDT DEBG][org.kde.kstars.indi] - INDI Server: “”  
[2022-10-27T10:49:25.798 CDT DEBG][org.kde.kstars.indi] - INDI Server: “2022-10-27T15:49:25: Driver indi\_webcam\_ccd: snooping on Telescope Simulator.EQUATORIAL\_EOD\_COORD”  
[2022-10-27T10:49:25.798 CDT DEBG][org.kde.kstars.indi] - INDI Server: “2022-10-27T15:49:25: Driver indi\_webcam\_ccd: snooping on Telescope Simulator.EQUATORIAL\_COORD”  
[2022-10-27T10:49:25.798 CDT DEBG][org.kde.kstars.indi] - INDI Server: “2022-10-27T15:49:25: Driver indi\_webcam\_ccd: snooping on Telescope Simulator.TELESCOPE\_INFO”  
[2022-10-27T10:49:25.798 CDT DEBG][org.kde.kstars.indi] - INDI Server: “2022-10-27T15:49:25: Driver indi\_webcam\_ccd: snooping on Telescope Simulator.GEOGRAPHIC\_COORD”  
[2022-10-27T10:49:25.798 CDT DEBG][org.kde.kstars.indi] - INDI Server: “2022-10-27T15:49:25: Driver indi\_webcam\_ccd: snooping on Telescope Simulator.TELESCOPE\_PIER\_SIDE”  
[2022-10-27T10:49:25.799 CDT DEBG][org.kde.kstars.indi] - INDI Server: "2022-10-27T15:49:25: "  
[2022-10-27T10:49:25.799 CDT DEBG][org.kde.kstars.indi] - Received new device INDI Webcam  
[2022-10-27T10:49:25.799 CDT DEBG][org.kde.kstars.indi] - INDI Server: “Driver indi\_webcam\_ccd: snooping on Rotator Simulator.ABS\_ROTATOR\_ANGLE”  
[2022-10-27T10:49:25.799 CDT DEBG][org.kde.kstars.indi] - INDI Server: “2022-10-27T15:49:25: Driver indi\_webcam\_ccd: snooping on Focuser Simulator.ABS\_FOCUS\_POSITION”  
[2022-10-27T10:49:25.799 CDT DEBG][org.kde.kstars.indi] - INDI Server: “2022-10-27T15:49:25: Driver indi\_webcam\_ccd: snooping on Focuser Simulator.FOCUS\_TEMPERATURE”  
[2022-10-27T10:49:25.799 CDT DEBG][org.kde.kstars.indi] - INDI Server: “2022-10-27T15:49:25: Driver indi\_webcam\_ccd: snooping on CCD Simulator.FILTER\_SLOT”  
[2022-10-27T10:49:25.799 CDT DEBG][org.kde.kstars.indi] - INDI Server: “2022-10-27T15:49:25: Driver indi\_webcam\_ccd: snooping on CCD Simulator.FILTER\_NAME”  
[2022-10-27T10:49:25.799 CDT DEBG][org.kde.kstars.indi] - INDI Server: “2022-10-27T15:49:25: Driver indi\_webcam\_ccd: snooping on SQM.SKY\_QUALITY”  
[2022-10-27T10:49:25.799 CDT DEBG][org.kde.kstars.indi] - INDI Server: “”  
[2022-10-27T10:49:25.823 CDT DEBG][org.kde.kstars.indi] - INDIListener: New device “INDI Webcam”  
[2022-10-27T10:49:25.823 CDT INFO][org.kde.kstars.ekos] - Ekos received a new device: “INDI Webcam”  
[2022-10-27T10:49:25.824 CDT DEBG][org.kde.kstars.indi] - \< INDI Webcam \>: \< RAPID\_STACKING\_OPTION \>  
[2022-10-27T10:49:25.824 CDT DEBG][org.kde.kstars.indi] - \< INDI Webcam \>: \< OUTPUT\_FORMAT\_OPTION \>  
[2022-10-27T10:49:25.824 CDT DEBG][org.kde.kstars.indi] - \< INDI Webcam \>: \< TIMEOUT\_OPTIONS \>  
[2022-10-27T10:49:25.824 CDT DEBG][org.kde.kstars.indi] - \< INDI Webcam \>: \< PIXEL\_SIZE \>  
[2022-10-27T10:49:25.824 CDT DEBG][org.kde.kstars.indi] - \< INDI Webcam \>: \< PIXEL\_SIZE\_SELECTION \>  
[2022-10-27T10:49:25.824 CDT DEBG][org.kde.kstars.indi] - \< INDI Webcam \>: \< INPUT\_SCAN \>  
[2022-10-27T10:49:25.824 CDT DEBG][org.kde.kstars.indi] - \< INDI Webcam \>: \< INPUT\_OPTIONS \>  
[2022-10-27T10:49:25.824 CDT DEBG][org.kde.kstars.indi] - \< INDI Webcam \>: \< ONLINE\_INPUT\_OPTIONS \>  
[2022-10-27T10:49:25.824 CDT DEBG][org.kde.kstars.indi] - \< INDI Webcam \>: \< ONLINE\_PROTOCOL \>  
[2022-10-27T10:49:25.824 CDT DEBG][org.kde.kstars.indi] - \< INDI Webcam \>: \< ONLINE\_PATH \>  
[2022-10-27T10:49:25.824 CDT DEBG][org.kde.kstars.indi] - \< INDI Webcam \>: \< VIDEO\_ADJUSTMENTS \>  
[2022-10-27T10:49:25.826 CDT INFO][org.kde.kstars.indi] - INDI Webcam : "[INFO] Setting number PIXEL\_SIZE "  
[2022-10-27T10:49:25.827 CDT INFO][org.kde.kstars.indi] - INDI Webcam : "[INFO] New Pixel Size: 5.000000 "  
[2022-10-27T10:49:25.828 CDT INFO][org.kde.kstars.indi] - INDI Webcam : "[INFO] New Connection Settings: /dev/video0, on device: video4linux2,v4l2 with 640x480 at 30 frames per second "  
[2022-10-27T10:49:25.829 CDT INFO][org.kde.kstars.indi] - INDI Webcam : "[INFO] Not connected now, accepting settings. It will be tested on connection "  
[2022-10-27T10:49:25.830 CDT INFO][org.kde.kstars.indi] - INDI Webcam : "[INFO] Setting number TIMEOUT\_OPTIONS "  
[2022-10-27T10:49:25.831 CDT INFO][org.kde.kstars.indi] - INDI Webcam : "[INFO] New Timeouts: ffmpeg: 1000000, buffer: 10000 "  
[2022-10-27T10:49:25.832 CDT INFO][org.kde.kstars.indi] - INDI Webcam : "[INFO] Not connected now, accepting settings. It will be tested on connection "  
[2022-10-27T10:49:25.833 CDT INFO][org.kde.kstars.indi] - INDI Webcam : "[INFO] Not connected now, accepting settings. It will be tested on connection "  
[2022-10-27T10:49:25.833 CDT DEBG][org.kde.kstars.indi] - \< INDI Webcam \>: \< CAPTURE\_DEVICE \>  
[2022-10-27T10:49:26.011 CDT DEBG][org.kde.kstars.indi] - \< INDI Webcam \>: \< CAPTURE\_SOURCE \>  
[2022-10-27T10:49:26.014 CDT DEBG][org.kde.kstars.indi] - \< INDI Webcam \>: \< CAPTURE\_VIDEO\_SIZE \>  
[2022-10-27T10:49:26.015 CDT DEBG][org.kde.kstars.indi] - \< INDI Webcam \>: \< CAPTURE\_FRAME\_RATE \>  
[2022-10-27T10:49:26.016 CDT DEBG][org.kde.kstars.indi] - \< INDI Webcam \>: \< INPUT\_PIXEL\_FORMAT \>  
[2022-10-27T10:49:26.018 CDT DEBG][org.kde.kstars.indi] - \< INDI Webcam \>: \< CONNECTION \>  
[2022-10-27T10:49:26.019 CDT DEBG][org.kde.kstars.indi] - \< INDI Webcam \>: \< DRIVER\_INFO \>  
[2022-10-27T10:49:26.023 CDT DEBG][org.kde.kstars.indi] - \< INDI Webcam \>: \< POLLING\_PERIOD \>  
[2022-10-27T10:49:26.025 CDT DEBG][org.kde.kstars.indi] - \< INDI Webcam \>: \< DEBUG \>  
[2022-10-27T10:49:26.027 CDT DEBG][org.kde.kstars.indi] - \< INDI Webcam \>: \< CONFIG\_PROCESS \>  
[2022-10-27T10:49:26.028 CDT INFO][org.kde.kstars.indi] - INDI Webcam : "[INFO] Setting number POLLING\_PERIOD "  
[2022-10-27T10:49:26.029 CDT DEBG][org.kde.kstars.indi] - \< INDI Webcam \>: \< ACTIVE\_DEVICES \>  
[2022-10-27T10:49:26.033 CDT INFO][org.kde.kstars.indi] - INDI Webcam : "[INFO] Debug is enabled. "  
[2022-10-27T10:49:26.033 CDT DEBG][org.kde.kstars.indi] - \< INDI Webcam \>: \< DEBUG\_LEVEL \>  
[2022-10-27T10:49:26.034 CDT DEBG][org.kde.kstars.indi] - \< INDI Webcam \>: \< LOGGING\_LEVEL \>  
[2022-10-27T10:49:26.034 CDT DEBG][org.kde.kstars.indi] - \< INDI Webcam \>: \< LOG\_OUTPUT \>  
[2022-10-27T10:49:26.035 CDT INFO][org.kde.kstars.indi] - INDI Webcam : "[INFO] Setting FFMPEG Logging to Verbose "  
[2022-10-27T10:49:26.042 CDT DEBG][org.kde.kstars.indi] - INDI Webcam : "[DEBUG] Toggle Debug Level – Driver Debug "  
[2022-10-27T10:49:26.296 CDT INFO][org.kde.kstars.ekos] - “INDI Webcam” is connected and ready.  
[2022-10-27T10:49:37.965 CDT DEBG][org.kde.kstars.indi] - INDI Webcam : "[DEBUG] Toggle Logging Level – Driver Debug "  
[2022-10-27T10:49:40.083 CDT INFO][org.kde.kstars.indi] - INDI Webcam : "[INFO] Session log file /home/rlw1138/.indi/logs/2022-10-27/indi\_webcam\_ccd/indi\_webcam\_ccd\_15:49:25.log "  
[2022-10-27T10:49:49.523 CDT INFO][org.kde.kstars.indi] - INDI Webcam : "[INFO] Trying to connect to: /dev/video0, on device: video4linux2,v4l2 with 640x480 at 30 frames per second "  
[2022-10-27T10:49:49.524 CDT INFO][org.kde.kstars.indi] - INDI Webcam : "[INFO] Attempting to connect "  
[2022-10-27T10:49:49.656 CDT DEBG][org.kde.kstars.indi] - INDI Server: “2022-10-27T15:49:49: Driver indi\_webcam\_ccd: [video4linux2,v4l2 @ 0x5555555b77c0] fd:4 capabilities:84a00001”  
[2022-10-27T10:49:49.656 CDT DEBG][org.kde.kstars.indi] - INDI Server: “2022-10-27T15:49:49: Driver indi\_webcam\_ccd: [video4linux2,v4l2 @ 0x5555555b77c0] Current input\_channel: 0, input\_name: Camera 1, input\_std: 0”  
[2022-10-27T10:49:49.656 CDT DEBG][org.kde.kstars.indi] - INDI Server: “”  
[2022-10-27T10:49:49.665 CDT DEBG][org.kde.kstars.indi] - INDI Server: “2022-10-27T15:49:49: Driver indi\_webcam\_ccd: [video4linux2,v4l2 @ 0x5555555b77c0] The V4L2 driver changed the pixel format from 0x32315559 to 0x56595559”  
[2022-10-27T10:49:49.665 CDT DEBG][org.kde.kstars.indi] - INDI Server: “2022-10-27T15:49:49: Driver indi\_webcam\_ccd: [video4linux2,v4l2 @ 0x5555555b77c0] Trying to set codec:rawvideo pix\_fmt:yuv420p”  
[2022-10-27T10:49:49.665 CDT DEBG][org.kde.kstars.indi] - INDI Server: “”  
[2022-10-27T10:49:49.670 CDT DEBG][org.kde.kstars.indi] - INDI Server: “2022-10-27T15:49:49: Driver indi\_webcam\_ccd: [video4linux2,v4l2 @ 0x5555555b77c0] The V4L2 driver changed the pixel format from 0x32315559 to 0x56595559”  
[2022-10-27T10:49:49.671 CDT DEBG][org.kde.kstars.indi] - INDI Server: “2022-10-27T15:49:49: Driver indi\_webcam\_ccd: [video4linux2,v4l2 @ 0x5555555b77c0] Trying to set codec:rawvideo pix\_fmt:yuv420p”  
[2022-10-27T10:49:49.671 CDT DEBG][org.kde.kstars.indi] - INDI Server: “”  
[2022-10-27T10:49:49.676 CDT DEBG][org.kde.kstars.indi] - INDI Server: “2022-10-27T15:49:49: Driver indi\_webcam\_ccd: [video4linux2,v4l2 @ 0x5555555b77c0] The V4L2 driver changed the pixel format from 0x32315659 to 0x56595559”  
[2022-10-27T10:49:49.676 CDT DEBG][org.kde.kstars.indi] - INDI Server: “2022-10-27T15:49:49: Driver indi\_webcam\_ccd: [video4linux2,v4l2 @ 0x5555555b77c0] Trying to set codec:rawvideo pix\_fmt:yuv422p”  
[2022-10-27T10:49:49.676 CDT DEBG][org.kde.kstars.indi] - INDI Server: “”  
[2022-10-27T10:49:49.681 CDT DEBG][org.kde.kstars.indi] - INDI Server: “2022-10-27T15:49:49: Driver indi\_webcam\_ccd: [video4linux2,v4l2 @ 0x5555555b77c0] The V4L2 driver changed the pixel format from 0x50323234 to 0x56595559”  
[2022-10-27T10:49:49.681 CDT DEBG][org.kde.kstars.indi] - INDI Server: “2022-10-27T15:49:49: Driver indi\_webcam\_ccd: [video4linux2,v4l2 @ 0x5555555b77c0] Trying to set codec:rawvideo pix\_fmt:yuyv422”  
[2022-10-27T10:49:49.682 CDT DEBG][org.kde.kstars.indi] - INDI Server: “”  
[2022-10-27T10:49:49.687 CDT DEBG][org.kde.kstars.indi] - INDI Server: “2022-10-27T15:49:49: Driver indi\_webcam\_ccd: [video4linux2,v4l2 @ 0x5555555b77c0] Setting time per frame to 1/30”  
[2022-10-27T10:49:49.687 CDT DEBG][org.kde.kstars.indi] - INDI Server: “”  
[2022-10-27T10:49:50.018 CDT DEBG][org.kde.kstars.indi] - INDI Server: “2022-10-27T15:49:50: Driver indi\_webcam\_ccd: [video4linux2,v4l2 @ 0x5555555b77c0] All info found”  
[2022-10-27T10:49:50.019 CDT DEBG][org.kde.kstars.indi] - INDI Server: “”  
[2022-10-27T10:49:50.026 CDT INFO][org.kde.kstars.indi] - INDI Webcam : "[INFO] Connection Successful. "  
[2022-10-27T10:49:50.026 CDT INFO][org.kde.kstars.ekos] - “INDI Webcam” Version: “0.2” Interface: 2 is connected.  
[2022-10-27T10:49:50.088 CDT DEBG][org.kde.kstars.indi] - \< INDI Webcam \>: \< CCD\_EXPOSURE \>  
[2022-10-27T10:49:50.089 CDT DEBG][org.kde.kstars.indi] - \< INDI Webcam \>: \< CCD\_FRAME \>  
[2022-10-27T10:49:50.091 CDT DEBG][org.kde.kstars.indi] - \< INDI Webcam \>: \< CCD\_FRAME\_RESET \>  
[2022-10-27T10:49:50.092 CDT DEBG][org.kde.kstars.indi] - \< INDI Webcam \>: \< FITS\_HEADER \>  
[2022-10-27T10:49:50.093 CDT DEBG][org.kde.kstars.indi] - \< INDI Webcam \>: \< CCD\_CAPTURE\_FORMAT \>  
[2022-10-27T10:49:50.093 CDT DEBG][org.kde.kstars.indi] - \< INDI Webcam \>: \< CCD\_TRANSFER\_FORMAT \>  
[2022-10-27T10:49:50.094 CDT DEBG][org.kde.kstars.indi] - \< INDI Webcam \>: \< CCD\_INFO \>  
[2022-10-27T10:49:50.097 CDT DEBG][org.kde.kstars.indi] - \< INDI Webcam \>: \< CCD\_COMPRESSION \>  
[2022-10-27T10:49:50.098 CDT DEBG][org.kde.kstars.indi] - \< INDI Webcam \>: \< CCD1 \>  
[2022-10-27T10:49:50.099 CDT DEBG][org.kde.kstars.indi] - \< INDI Webcam \>: \< CCD\_FRAME\_TYPE \>  
[2022-10-27T10:49:50.100 CDT DEBG][org.kde.kstars.indi] - \< INDI Webcam \>: \< SCOPE\_INFO \>  
[2022-10-27T10:49:50.102 CDT DEBG][org.kde.kstars.indi] - \< INDI Webcam \>: \< WCS\_CONTROL \>  
[2022-10-27T10:49:50.103 CDT DEBG][org.kde.kstars.indi] - \< INDI Webcam \>: \< UPLOAD\_MODE \>  
[2022-10-27T10:49:50.104 CDT DEBG][org.kde.kstars.indi] - \< INDI Webcam \>: \< UPLOAD\_SETTINGS \>  
[2022-10-27T10:49:50.105 CDT DEBG][org.kde.kstars.indi] - \< INDI Webcam \>: \< CCD\_FAST\_TOGGLE \>  
[2022-10-27T10:49:50.106 CDT DEBG][org.kde.kstars.indi] - \< INDI Webcam \>: \< CCD\_FAST\_COUNT \>  
[2022-10-27T10:49:50.107 CDT DEBG][org.kde.kstars.indi] - \< INDI Webcam \>: \< CCD\_VIDEO\_STREAM \>  
[2022-10-27T10:49:50.108 CDT DEBG][org.kde.kstars.indi] - \< INDI Webcam \>: \< STREAM\_DELAY \>  
[2022-10-27T10:49:50.109 CDT DEBG][org.kde.kstars.indi] - \< INDI Webcam \>: \< STREAMING\_EXPOSURE \>  
[2022-10-27T10:49:50.111 CDT DEBG][org.kde.kstars.indi] - \< INDI Webcam \>: \< FPS \>  
[2022-10-27T10:49:50.112 CDT DEBG][org.kde.kstars.indi] - \< INDI Webcam \>: \< RECORD\_STREAM \>  
[2022-10-27T10:49:50.113 CDT DEBG][org.kde.kstars.indi] - \< INDI Webcam \>: \< RECORD\_FILE \>  
[2022-10-27T10:49:50.115 CDT DEBG][org.kde.kstars.indi] - \< INDI Webcam \>: \< RECORD\_OPTIONS \>  
[2022-10-27T10:49:50.117 CDT DEBG][org.kde.kstars.indi] - \< INDI Webcam \>: \< CCD\_STREAM\_FRAME \>  
[2022-10-27T10:49:50.119 CDT DEBG][org.kde.kstars.indi] - \< INDI Webcam \>: \< CCD\_STREAM\_ENCODER \>  
[2022-10-27T10:49:50.120 CDT DEBG][org.kde.kstars.indi] - \< INDI Webcam \>: \< CCD\_STREAM\_RECORDER \>  
[2022-10-27T10:49:50.121 CDT DEBG][org.kde.kstars.indi] - \< INDI Webcam \>: \< LIMITS \>  
[2022-10-27T10:49:50.123 CDT INFO][org.kde.kstars.indi] - INDI Webcam : "[INFO] Loading device configuration… "  
[2022-10-27T10:49:50.123 CDT INFO][org.kde.kstars.indi] - INDI Webcam : "[INFO] Debug is disabled. "  
[2022-10-27T10:49:50.124 CDT INFO][org.kde.kstars.indi] - INDI Webcam : "[INFO] Setting FFMPEG Logging to Info "  
[2022-10-27T10:49:50.124 CDT INFO][org.kde.kstars.ekos] - “Re-enabling debug logging for INDI Webcam…”  
[2022-10-27T10:49:50.125 CDT INFO][org.kde.kstars.indi] - INDI Webcam : "[INFO] Setting number POLLING\_PERIOD "  
[2022-10-27T10:49:50.126 CDT INFO][org.kde.kstars.indi] - INDI Webcam : "[INFO] Upload settings set to client only. "  
[2022-10-27T10:49:50.126 CDT INFO][org.kde.kstars.indi] - INDI Webcam : "[INFO] Setting number CCD\_FRAME "  
[2022-10-27T10:49:50.133 CDT DEBG][org.kde.kstars.indi] - INDI Server: “2022-10-27T15:49:50: Driver indi\_webcam\_ccd: Impossible IPState 4”  
[2022-10-27T10:49:50.133 CDT DEBG][org.kde.kstars.indi] - INDI Server: “2022-10-27T15:49:50: Client 11: new arrival from local pid 117006 (user: 1000:1000) - welcome!”  
[2022-10-27T10:49:50.133 CDT DEBG][org.kde.kstars.indi] - INDI Server: “”  
[2022-10-27T10:49:50.370 CDT DEBG][org.kde.kstars.indi] - Removing device “INDI Webcam”

INFO 14.283916 sec : Session log file /home/rlw1138/.indi/logs/2022-10-27/indi\_webcam\_ccd/indi\_webcam\_ccd\_15:49:25.log  
INFO 23.721743 sec : Trying to connect to: /dev/video0, on device: video4linux2,v4l2 with 640x480 at 30 frames per second  
INFO 23.722084 sec : Attempting to connect  
INFO 24.222341 sec : Connection Successful.  
INFO 24.231941 sec : Debug is disabled.  
INFO 24.232031 sec : Setting FFMPEG Logging to Info

INFO 24.232083 sec : Setting number POLLING\_PERIOD  
DEBUG 24.232174 sec : Snopping on Mount Telescope Simulator  
DEBUG 24.232215 sec : Snopping on Rotator Rotator Simulator  
DEBUG 24.232233 sec : Snopping on Focuser Focuser Simulator  
DEBUG 24.232256 sec : Snopping on Filter Wheel CCD Simulator  
INFO 24.232292 sec : Upload settings set to client only.  
INFO 24.232431 sec : Setting number CCD\_FRAME  
DEBUG 24.232458 sec : Requested CCD Frame is (0,0) (640 x 480)

rlw1138@russ-mint:~$ gdb --ex run --args kstars  
GNU gdb (Ubuntu 9.2-0ubuntu1~20.04.1) 9.2  
Copyright (C) 2020 Free Software Foundation, Inc.  
License GPLv3+: GNU GPL version 3 or later [http://gnu.org/licenses/gpl.html](http://gnu.org/licenses/gpl.html)  
This is free software: you are free to change and redistribute it.  
There is NO WARRANTY, to the extent permitted by law.  
Type “show copying” and “show warranty” for details.  
This GDB was configured as “x86\_64-linux-gnu”.  
Type “show configuration” for configuration details.  
For bug reporting instructions, please see:  
[http://www.gnu.org/software/gdb/bugs/](http://www.gnu.org/software/gdb/bugs/).  
Find the GDB manual and other documentation resources online at:  
[http://www.gnu.org/software/gdb/documentation/](http://www.gnu.org/software/gdb/documentation/).

For help, type “help”.  
Type “apropos word” to search for commands related to “word”…  
Reading symbols from kstars…  
Reading symbols from /usr/lib/debug/.build-id/30/7366c21ca6fd768ba611be5dfe57d13fdc24d1.debug…  
Starting program: /usr/bin/kstars  
[Thread debugging using libthread\_db enabled]  
Using host libthread\_db library “/lib/x86\_64-linux-gnu/libthread\_db.so.1”.  
[New Thread 0x7fffef933700 (LWP 117010)]  
qt5ct: using qt5ct plugin  
Call to writableLocation without an application-based location.  
[New Thread 0x7fffedf64700 (LWP 117012)]  
[New Thread 0x7fffed1bb700 (LWP 117015)]  
[New Thread 0x7fffec865700 (LWP 117016)]  
[New Thread 0x7fffe63c7700 (LWP 117017)]  
[New Thread 0x7fffda849700 (LWP 117018)]  
[New Thread 0x7fffc3fff700 (LWP 117019)]  
[New Thread 0x7fffd8848700 (LWP 117020)]  
[New Thread 0x7fffc15ee700 (LWP 117021)]  
[New Thread 0x7fffc0ded700 (LWP 117022)]  
[New Thread 0x7fffb3220700 (LWP 117023)]  
[New Thread 0x7fffb2a1f700 (LWP 117024)]  
[New Thread 0x7fffb221e700 (LWP 117025)]  
[New Thread 0x7fffa3fff700 (LWP 117026)]  
[New Thread 0x7fffa1ffe700 (LWP 117027)]  
[New Thread 0x7fff9fffd700 (LWP 117028)]  
[New Thread 0x7fff8ffff700 (LWP 117029)]  
[New Thread 0x7fff85ffe700 (LWP 117030)]  
[New Thread 0x7fffb1a1d700 (LWP 117031)]  
[Thread 0x7fffb1a1d700 (LWP 117031) exited]  
[Thread 0x7fffb3220700 (LWP 117023) exited]  
[Thread 0x7fffb221e700 (LWP 117025) exited]  
[Detaching after fork from child process 117062]  
[Detaching after fork from child process 117063]  
INDI::BaseClient::connectServer: creating new connection…  
[New Thread 0x7fffb221e700 (LWP 117065)]  
INDI::BaseClient::connectServer: Already connected.  
Dispatch command error(-1):  
  
  
INDI Webcam  
  
  
indi\_webcam\_ccd  
  
  
0.2  
  
  
2  
  
  
[Thread 0x7fffb2a1f700 (LWP 117024) exited]  
[Thread 0x7fff85ffe700 (LWP 117030) exited]  
[Thread 0x7fff9fffd700 (LWP 117028) exited]  
[Thread 0x7fffa1ffe700 (LWP 117027) exited]  
[Thread 0x7fffa3fff700 (LWP 117026) exited]  
[Thread 0x7fffc3fff700 (LWP 117019) exited]  
[Thread 0x7fffda849700 (LWP 117018) exited]  
[Thread 0x7fffe63c7700 (LWP 117017) exited]  
[New Thread 0x7fffe63c7700 (LWP 117094)]  
[New Thread 0x7fffda849700 (LWP 117095)]  
[New Thread 0x7fffc3fff700 (LWP 117096)]  
[New Thread 0x7fffa3fff700 (LWP 117097)]  
[New Thread 0x7fffa1ffe700 (LWP 117098)]  
[New Thread 0x7fff9fffd700 (LWP 117099)]  
[New Thread 0x7fff87fff700 (LWP 117100)]  
Dispatch command error(-1): INDI: Could not find property CCD\_INFO in INDI Webcam  
  
  
640  
  
  
480  
  
  
0  
  
  
0  
  
  
0  
  
  
0  
  
  
Dispatch command error(-1): INDI: Could not find property CCD\_FRAME in INDI Webcam  
  
  
0  
  
  
0  
  
  
0  
  
  
0  
  
  
Dispatch command error(-1): INDI: Could not find property CCD\_FRAME in INDI Webcam  
  
  
0  
  
  
0  
  
  
640  
  
  
480  
  
  
Dispatch command error(-1): INDI: Could not find property CCD\_INFO in INDI Webcam  
  
  
640  
  
  
480  
  
  
5  
  
  
5  
  
  
5  
  
  
0  
  
  
Dispatch command error(-1): INDI: Could not find property CCD\_INFO in INDI Webcam  
  
  
640  
  
  
480  
  
  
5  
  
  
5  
  
  
5  
  
  
8  
  
  
INDI::BaseClient::connectServer: creating new connection…  
[New Thread 0x7fffb3220700 (LWP 117119)]  
INDI::BaseClient::connectServer: Already connected.  
–Type for more, q to quit, c to continue without paging–

Thread 1 “kstars” received signal SIGSEGV, Segmentation fault.  
0x00007fffa801fea0 in ?? ()  
(gdb)  
(gdb) bt  
#0 0x00007fffa801fea0 in ()  
#1 0x0000555556112df5 in INDI::Properties::~Properties() ()  
#2 0x0000555556106d53 in INDI::BaseDevice::getProperty(char const\*, INDI\_PROPERTY\_TYPE) const ()  
#3 0x0000555556106dc0 in INDI::BaseDevice::getRawProperty(char const\*, INDI\_PROPERTY\_TYPE) const ()  
#4 0x0000555556106e2a in INDI::BaseDevice::getNumber(char const\*) const ()  
#5 0x0000555555a0d0b7 in ISD::ConcreteDevice::getNumber(QString const&) const (this=, name=…)  
at /usr/include/x86\_64-linux-gnu/qt5/QtCore/qarraydata.h:208  
#6 0x0000555555a1fb92 in ISD::CameraChip::isCapturing() (this=) at /usr/include/x86\_64-linux-gnu/qt5/QtCore/qstring.h:699  
#7 0x0000555555ac8faf in Ekos::DarkLibrary::checkCamera() (this=0x55555ab78f00) at ./kstars/indi/indicamerachip.h:61  
#8 0x0000555555add551 in Ekos::DarkLibrary::setCamera(ISD::Camera\*) (device=0x5555595c5080, this=0x55555ab78f00) at ./kstars/ekos/auxiliary/darklibrary.cpp:945  
#9 Ekos::DarkLibrary::refreshOpticalTrain() (this=0x55555ab78f00) at ./kstars/ekos/auxiliary/darklibrary.cpp:1640  
#10 0x0000555555add8ec in Ekos::DarkLibrary::setupOpticalTrainManager() (this=this@entry=0x55555ab78f00) at ./kstars/ekos/auxiliary/darklibrary.cpp:1613  
#11 0x0000555555adeddc in Ekos::DarkLibrary::DarkLibrary(QWidget\*) (this=, parent=) at ./kstars/ekos/auxiliary/darklibrary.cpp:180  
#12 0x0000555555adefc8 in Ekos::DarkLibrary::Instance() () at ./kstars/ekos/auxiliary/darklibrary.cpp:36  
#13 0x0000555555b616b4 in Ekos::Capture::Capture() (this=) at ./kstars/ekos/capture/capture.cpp:135  
#14 0x0000555555aae038 in Ekos::Manager::initCapture() (this=0x5555591b3570) at ./kstars/ekos/manager.cpp:1923  
#15 0x0000555555ab0e48 in Ekos::Manager::createModules(QSharedPointerISD::GenericDevice const&) (this=0x5555591b3570, device=…) at ./kstars/ekos/manager.cpp:3299  
#16 0x0000555555ab10e4 in Ekos::Manager::createModules(QSharedPointerISD::GenericDevice const&) (device=…, this=0x5555591b3570) at ./kstars/indi/indistd.h:169  
#17 Ekos::Manager::syncGenericDevice(QSharedPointerISD::GenericDevice const&) (this=0x5555591b3570, device=…) at ./kstars/ekos/manager.cpp:1566  
#18 0x0000555555ab13cf in Ekos::Manager::setDeviceReady() (this=0x5555591b3570) at ./kstars/ekos/manager.cpp:3375  
#19 0x00007ffff5380328 in QMetaObject::activate(QObject\*, int, int, void\*\*) () at /lib/x86\_64-linux-gnu/libQt5Core.so.5  
#20 0x00007ffff5380328 in QMetaObject::activate(QObject\*, int, int, void\*\*) () at /lib/x86\_64-linux-gnu/libQt5Core.so.5  
#21 0x00007ffff538d3ee in QTimer::timeout(QTimer::QPrivateSignal) () at /lib/x86\_64-linux-gnu/libQt5Core.so.5  
#22 0x00007ffff5380bc5 in QObject::event(QEvent\*) () at /lib/x86\_64-linux-gnu/libQt5Core.so.5  
#23 0x00007ffff5d6ea66 in QApplicationPrivate::notify\_helper(QObject\*, QEvent\*) () at /lib/x86\_64-linux-gnu/libQt5Widgets.so.5  
#24 0x00007ffff5d780f0 in QApplication::notify(QObject\*, QEvent\*) () at /lib/x86\_64-linux-gnu/libQt5Widgets.so.5  
#25 0x00007ffff535480a in QCoreApplication::notifyInternal2(QObject\*, QEvent\*) () at /lib/x86\_64-linux-gnu/libQt5Core.so.5  
#26 0x00007ffff53ab780 in QTimerInfoList::activateTimers() () at /lib/x86\_64-linux-gnu/libQt5Core.so.5  
#27 0x00007ffff53ac06c in () at /lib/x86\_64-linux-gnu/libQt5Core.so.5  
#28 0x00007ffff442417d in g\_main\_context\_dispatch () at /lib/x86\_64-linux-gnu/libglib-2.0.so.0  
#29 0x00007ffff4424400 in () at /lib/x86\_64-linux-gnu/libglib-2.0.so.0  
#30 0x00007ffff44244a3 in g\_main\_context\_iteration () at /lib/x86\_64-linux-gnu/libglib-2.0.so.0  
#31 0x00007ffff53ac435 in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () at /lib/x86\_64-linux-gnu/libQt5Core.so.5  
#32 0x00007ffff53533ab in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () at /lib/x86\_64-linux-gnu/libQt5Core.so.5  
#33 0x00007ffff535b116 in QCoreApplication::exec() () at /lib/x86\_64-linux-gnu/libQt5Core.so.5  
#34 0x00005555556db274 in main(int, char\*\*) (argc=, argv=) at ./kstars/main.cpp:382  
(gdb)

Hopefully, I did something dumb. Thanks for any help.

---

<div class="post-metadata">

**Author:** ![mennsylv](https://forum.indilib.org/letter_avatar_proxy/v4/letter/m/2acd7d/32.png) [@mennsylv](https://forum.indilib.org/u/mennsylv)\
**Post date:** [October 28, 2022, 1:47pm UTC](https://forum.indilib.org/t/webcam-linux-newb-crash/10856/2 "2022-10-28T13:47:05Z")

</div>

Hello, I had problems with crashes with V4L2, but they disappeared with the update of 22/10, you have the version of 19/10, try to update.  
Sylvain

---

<div class="post-metadata">

**Author:** ![rlw1138](https://forum.indilib.org/letter_avatar_proxy/v4/letter/r/cab0a1/32.png) [@rlw1138](https://forum.indilib.org/u/rlw1138)\
**Post date:** [October 29, 2022, 5:42pm UTC](https://forum.indilib.org/t/webcam-linux-newb-crash/10856/3 "2022-10-29T17:42:39Z")

</div>

so Update Manager said I could update from 6:3.6.1+202210191503 up to 6:3.6.1+202210271233 – did the update but no joy, same driver crashes.

I removed-and-reinstalled, no joy.

I used synaptic to completely remove all kstars and indi and data, then reinstalled from ppa. no joy.

I even installed from snap…guess what? no joy.

Next, I completely removed everything again, and installed with synaptic from ppa…kstars-bleeding and indi-full. It seemed to take a LOT longer than apt-get in a terminal. Still won’t run: “webacm driver failed to start” over and over. Looks like synaptic didn’t install indi-webcam, so I installed it.

Now it runs, up to the point where indi control panel shows “Exposure” – for a couple of seconds, then it all crashes and ekos and kstars both disappear.

The only entry I’ve ever seen that even looks like a real error is “Driver indi\_webcam\_ccd: Impossible IPState 4"”

Ideas?

---

<div class="post-metadata">

**Author:** ![kross](https://forum.indilib.org/letter_avatar_proxy/v4/letter/k/90ced4/32.png) [@kross](https://forum.indilib.org/u/kross)\
**Post date:** [October 29, 2022, 9:17pm UTC](https://forum.indilib.org/t/webcam-linux-newb-crash/10856/4 "2022-10-29T21:17:32Z")

</div>

There are a couple things to try. First, make sure the camera works in Linux, with a program such as webcamoid (sudo apt install webcamoid), just to make sure the camera is functional.

Second, there are actually two different webcam drivers in INDI. There’s INDI Webcam, and then there’s V4L2 CCD. Why? Don’t know. I think the INDI Webcam was written to support webcams other than v4l2 cameras, on Mac OS, but I could be mistaken. I’d try the V4L2 CCD driver instead.

Here’s some documentation on using it: [https://indilib.org/individuals/devices/cameras/web-cameras.html](https://indilib.org/individuals/devices/cameras/web-cameras.html)

---

<div class="post-metadata">

**Author:** ![rlw1138](https://forum.indilib.org/letter_avatar_proxy/v4/letter/r/cab0a1/32.png) [@rlw1138](https://forum.indilib.org/u/rlw1138)\
**Post date:** [October 30, 2022, 4:03pm UTC](https://forum.indilib.org/t/webcam-linux-newb-crash/10856/5 "2022-10-30T16:03:35Z")

</div>

The built in camera works, and all my external webcams work in cheese, guvcview, etc.

Neither webcam driver works with any of my webcams. I have two MS Lifecams and a Logitec.

I have other standalone capture softwares (eg: AstroDMx Capture) and all the webcams work with those as well.

---

<div class="post-metadata">

**Author:** ![rlw1138](https://forum.indilib.org/letter_avatar_proxy/v4/letter/r/cab0a1/32.png) [@rlw1138](https://forum.indilib.org/u/rlw1138)\
**Post date:** [October 30, 2022, 5:35pm UTC](https://forum.indilib.org/t/webcam-linux-newb-crash/10856/6 "2022-10-30T17:35:20Z")

</div>

Looking back over my original posting, I realized that I ran the debugger on kstars and not the driver.

So here’s gdb output debugging indi-webcam\_ccd:

$ gdb --ex run --eval-command=“set follow-fork-mode child” --args indiserver -v indi\_webcam\_ccd  
GNU gdb (Ubuntu 9.2-0ubuntu1~20.04.1) 9.2  
Copyright (C) 2020 Free Software Foundation, Inc.  
License GPLv3+: GNU GPL version 3 or later [http://gnu.org/licenses/gpl.html](http://gnu.org/licenses/gpl.html)  
This is free software: you are free to change and redistribute it.  
There is NO WARRANTY, to the extent permitted by law.  
Type “show copying” and “show warranty” for details.  
This GDB was configured as “x86\_64-linux-gnu”.  
Type “show configuration” for configuration details.  
For bug reporting instructions, please see:  
[http://www.gnu.org/software/gdb/bugs/](http://www.gnu.org/software/gdb/bugs/).  
Find the GDB manual and other documentation resources online at:  
[http://www.gnu.org/software/gdb/documentation/](http://www.gnu.org/software/gdb/documentation/).

For help, type “help”.  
Type “apropos word” to search for commands related to “word”…  
Reading symbols from indiserver…  
Reading symbols from /usr/lib/debug/.build-id/94/154eaa44e49c5279c5d375a1a8bfcd6d12889e.debug…  
Starting program: /usr/bin/indiserver -v indi\_webcam\_ccd  
[Thread debugging using libthread\_db enabled]  
Using host libthread\_db library “/lib/x86\_64-linux-gnu/libthread\_db.so.1”.  
2022-10-30T16:56:46: startup: /usr/bin/indiserver -v indi\_webcam\_ccd  
[Detaching after fork from child process 43999]  
2022-10-30T16:56:46: Driver indi\_webcam\_ccd: pid=43999 rfd=6 wfd=6 efd=7  
2022-10-30T16:56:46: listening to port 7624 on fd 5  
2022-10-30T16:56:46: Local server: listening on local domain at: @/tmp/indiserver  
2022-10-30T16:56:46: Driver indi\_webcam\_ccd: snooping on Telescope Simulator.EQUATORIAL\_EOD\_COORD  
2022-10-30T16:56:46: Driver indi\_webcam\_ccd: snooping on Telescope Simulator.EQUATORIAL\_COORD  
2022-10-30T16:56:46: Driver indi\_webcam\_ccd: snooping on Telescope Simulator.TELESCOPE\_INFO  
2022-10-30T16:56:46: Driver indi\_webcam\_ccd: snooping on Telescope Simulator.GEOGRAPHIC\_COORD  
2022-10-30T16:56:46: Driver indi\_webcam\_ccd: snooping on Telescope Simulator.TELESCOPE\_PIER\_SIDE  
2022-10-30T16:56:46: Driver indi\_webcam\_ccd: snooping on Rotator Simulator.ABS\_ROTATOR\_ANGLE  
2022-10-30T16:56:46: Driver indi\_webcam\_ccd: snooping on Focuser Simulator.ABS\_FOCUS\_POSITION  
2022-10-30T16:56:46: Driver indi\_webcam\_ccd: snooping on Focuser Simulator.FOCUS\_TEMPERATURE  
2022-10-30T16:56:46: Driver indi\_webcam\_ccd: snooping on CCD Simulator.FILTER\_SLOT  
2022-10-30T16:56:46: Driver indi\_webcam\_ccd: snooping on CCD Simulator.FILTER\_NAME  
2022-10-30T16:56:46: Driver indi\_webcam\_ccd: snooping on SQM.SKY\_QUALITY

Launch kstars  
Open ekos window  
‘Start’ ekos  
pop-up window: “indi server is running, do you want to kill it?” – Hit “Cancel” to keep the one that’s running

2022-10-30T16:57:46: Client 9: new arrival from local pid 44106 (user: 1000:1000) - welcome!  
2022-10-30T16:58:21: Driver indi\_webcam\_ccd: [video4linux2,v4l2 @ 0x5555555b77c0] fd:4 capabilities:84a00001  
2022-10-30T16:58:21: Driver indi\_webcam\_ccd: [video4linux2,v4l2 @ 0x5555555b77c0] Current input\_channel: 0, input\_name: Camera 1, input\_std: 0  
2022-10-30T16:58:21: Driver indi\_webcam\_ccd: [video4linux2,v4l2 @ 0x5555555b77c0] The V4L2 driver changed the pixel format from 0x32315559 to 0x56595559  
2022-10-30T16:58:21: Driver indi\_webcam\_ccd: [video4linux2,v4l2 @ 0x5555555b77c0] Trying to set codec:rawvideo pix\_fmt:yuv420p  
2022-10-30T16:58:21: Driver indi\_webcam\_ccd: [video4linux2,v4l2 @ 0x5555555b77c0] The V4L2 driver changed the pixel format from 0x32315559 to 0x56595559  
2022-10-30T16:58:21: Driver indi\_webcam\_ccd: [video4linux2,v4l2 @ 0x5555555b77c0] Trying to set codec:rawvideo pix\_fmt:yuv420p  
2022-10-30T16:58:21: Driver indi\_webcam\_ccd: [video4linux2,v4l2 @ 0x5555555b77c0] The V4L2 driver changed the pixel format from 0x32315659 to 0x56595559  
2022-10-30T16:58:21: Driver indi\_webcam\_ccd: [video4linux2,v4l2 @ 0x5555555b77c0] Trying to set codec:rawvideo pix\_fmt:yuv422p  
2022-10-30T16:58:21: Driver indi\_webcam\_ccd: [video4linux2,v4l2 @ 0x5555555b77c0] The V4L2 driver changed the pixel format from 0x50323234 to 0x56595559  
2022-10-30T16:58:21: Driver indi\_webcam\_ccd: [video4linux2,v4l2 @ 0x5555555b77c0] Trying to set codec:rawvideo pix\_fmt:yuyv422  
2022-10-30T16:58:21: Driver indi\_webcam\_ccd: [video4linux2,v4l2 @ 0x5555555b77c0] Setting time per frame to 1/30  
2022-10-30T16:58:21: Driver indi\_webcam\_ccd: [video4linux2,v4l2 @ 0x5555555b77c0] All info found  
2022-10-30T16:58:21: Driver indi\_webcam\_ccd: Impossible IPState 4  
2022-10-30T16:58:21: Client 10: new arrival from local pid 44106 (user: 1000:1000) - welcome!  
2022-10-30T16:58:21: Driver indi\_webcam\_ccd: read: Connection reset by peer  
  
2022-10-30T16:58:21: Driver indi\_webcam\_ccd: restart #0  
[Detaching after fork from child process 44228]  
2022-10-30T16:58:21: Driver indi\_webcam\_ccd: pid=44228 rfd=7 wfd=7 efd=11  
2022-10-30T16:58:21: Client 9: read EOF  
2022-10-30T16:58:21: Client 9: shut down complete - bye!  
2022-10-30T16:58:21: Client 10: read EOF  
2022-10-30T16:58:21: Client 10: shut down complete - bye!  
2022-10-30T16:58:21: Driver indi\_webcam\_ccd: snooping on Telescope Simulator.EQUATORIAL\_EOD\_COORD  
2022-10-30T16:58:21: Driver indi\_webcam\_ccd: snooping on Telescope Simulator.EQUATORIAL\_COORD  
2022-10-30T16:58:21: Driver indi\_webcam\_ccd: snooping on Telescope Simulator.TELESCOPE\_INFO  
2022-10-30T16:58:21: Driver indi\_webcam\_ccd: snooping on Telescope Simulator.GEOGRAPHIC\_COORD  
2022-10-30T16:58:21: Driver indi\_webcam\_ccd: snooping on Telescope Simulator.TELESCOPE\_PIER\_SIDE  
2022-10-30T16:58:21: Driver indi\_webcam\_ccd: snooping on Rotator Simulator.ABS\_ROTATOR\_ANGLE  
2022-10-30T16:58:21: Driver indi\_webcam\_ccd: snooping on Focuser Simulator.ABS\_FOCUS\_POSITION  
2022-10-30T16:58:21: Driver indi\_webcam\_ccd: snooping on Focuser Simulator.FOCUS\_TEMPERATURE  
2022-10-30T16:58:21: Driver indi\_webcam\_ccd: snooping on CCD Simulator.FILTER\_SLOT  
2022-10-30T16:58:21: Driver indi\_webcam\_ccd: snooping on CCD Simulator.FILTER\_NAME  
2022-10-30T16:58:21: Driver indi\_webcam\_ccd: snooping on SQM.SKY\_QUALITY

note: gdb did not “break”

Now I’m getting confused. Indiserver is still running? Driver is not “crashing” but shutting itself down?

What is the peer in “connection reset by peer”?

and why is “IPstate 4” impossible?

---

<div class="post-metadata">

**Author:** ![kross](https://forum.indilib.org/letter_avatar_proxy/v4/letter/k/90ced4/32.png) [@kross](https://forum.indilib.org/u/kross)\
**Post date:** [October 30, 2022, 7:40pm UTC](https://forum.indilib.org/t/webcam-linux-newb-crash/10856/7 "2022-10-30T19:40:33Z")

</div>

Hmm, I’m sorry to say that I am out of ideas.

I plugged in a Logitech C920 webcam, ran the indi\_v4l2\_ccd driver, configured Ekos, and got this:

 ![logitech webcam.JPG](https://forum.indilib.org/uploads/default/original/2X/8/88b56dd238116d7061ddc2a50b830d65a16c6720.jpeg)

It’s important to note that long exposures (anything more than about 0.2 seconds) aren’t supported by webcams. The driver gets around this by doing an internal live stack of shorter exposures. But you must enable that in the INDI control panel. The above image was taken with default settings in the INDI control panel, with a short .001 second exposure. But even when I tried long exposures, when I didn’t configure INDI, it just gave an error that I must configure it. I did what it told me to do, and got an image.

Sorry I can’t be more helpful.

---

<div class="post-metadata">

**Author:** ![kross](https://forum.indilib.org/letter_avatar_proxy/v4/letter/k/90ced4/32.png) [@kross](https://forum.indilib.org/u/kross)\
**Post date:** [October 30, 2022, 7:50pm UTC](https://forum.indilib.org/t/webcam-linux-newb-crash/10856/8 "2022-10-30T19:50:14Z")

</div>

BTW, I couldn’t get indi\_webcam\_ccd to work with my camera. It either kept saying “not a video capture device” or “no such device”, even though it was set to /dev/video0, which has proper permissions. So I went with the indi\_v4l2\_ccd driver.

---

<div class="post-metadata">

**Author:** ![rlw1138](https://forum.indilib.org/letter_avatar_proxy/v4/letter/r/cab0a1/32.png) [@rlw1138](https://forum.indilib.org/u/rlw1138)\
**Post date:** [October 30, 2022, 9:24pm UTC](https://forum.indilib.org/t/webcam-linux-newb-crash/10856/9 "2022-10-30T21:24:50Z")

</div>

Thanks for trying! There must be something in my particular system that’s messing things up. I’ll keep looking!

---

<div class="post-metadata">

**Author:** ![kross](https://forum.indilib.org/letter_avatar_proxy/v4/letter/k/90ced4/32.png) [@kross](https://forum.indilib.org/u/kross)\
**Post date:** [October 30, 2022, 10:52pm UTC](https://forum.indilib.org/t/webcam-linux-newb-crash/10856/10 "2022-10-30T22:52:12Z")

</div>

BTW, I was able to get INDI Webcam driver to work. I was an idiot, I was trying to use /dev/video0, when the camera was in fact connected at /dev/video1. Once I set the right path to the camera, it fired right up, no issues at all.

Sorry, I know that isn’t terribly helpful. Just letting you know that both drivers work for me with my Logitech C920

---

<div class="post-metadata">

**Author:** ![knro](https://forum.indilib.org/user_avatar/forum.indilib.org/knro/32/64_2.png) [@knro](https://forum.indilib.org/u/knro)\
**Post date:** [October 31, 2022, 7:53am UTC](https://forum.indilib.org/t/webcam-linux-newb-crash/10856/11 "2022-10-31T07:53:37Z")

</div>

Ok I think “2022-10-30T16:58:21: Driver indi\_webcam\_ccd: Impossible IPState 4” is one lead. Can you please debug the driver via Ekos Debugger?

```auto
sudo apt-get -y install ekos-debugger
```

In Ekos, edit your profile and select Remote. After Ekos Debugger starts the INDI server with the correct webcam profile (INDI tab), then connect from KStars. If the drivers crashes, then you’ll get back the backtrace for it.

---

<div class="post-metadata">

**Author:** ![rlw1138](https://forum.indilib.org/letter_avatar_proxy/v4/letter/r/cab0a1/32.png) [@rlw1138](https://forum.indilib.org/u/rlw1138)\
**Post date:** [October 31, 2022, 8:09pm UTC](https://forum.indilib.org/t/webcam-linux-newb-crash/10856/12 "2022-10-31T20:09:12Z")

</div>

It took me a while, but I finally figured out that in spite of installing “ekos-debugger” you have to run “ekosdebugger” :oops:

As soon as I hit “Connect” in ekos a small pop-up fired and instantly disappeared as all the kstars windows closed.

I started kstars from the “KStars” tab within the debugger, but also got the same result when starting it from the linux app menu

ekosdebug output attached:  
[ekos debugger output.txt](https://forum.indilib.org/uploads/short-url/qomtaIEqFv5UrKAQrF9rPpS3JcH.txt) (397 KB)

---

<div class="post-metadata">

**Author:** ![knro](https://forum.indilib.org/user_avatar/forum.indilib.org/knro/32/64_2.png) [@knro](https://forum.indilib.org/u/knro)\
**Post date:** [November 2, 2022, 7:08am UTC](https://forum.indilib.org/t/webcam-linux-newb-crash/10856/13 "2022-11-02T07:08:50Z")

</div>

Can you clear all config? i.e. rm -rf ~/.indi/\*

Then run the driver again.

---

<div class="post-metadata">

**Author:** ![rlw1138](https://forum.indilib.org/letter_avatar_proxy/v4/letter/r/cab0a1/32.png) [@rlw1138](https://forum.indilib.org/u/rlw1138)\
**Post date:** [November 3, 2022, 3:10pm UTC](https://forum.indilib.org/t/webcam-linux-newb-crash/10856/14 "2022-11-03T15:10:13Z")

</div>

After removing the contents of ~/.indi it went a little farther.

It did NOT ask me if I wanted to keep a running indiserver

the indi control panel now had tabs for “WCS” and “Streaming”

closed the control panel and opened the CCD tab

under the Sequence Queue are three buttons: Capture a preview, framing, and live video

I don’t know what “framing” does, but capture preview and live video fire a pop-up that says  
“Connection to INDI host at localhost on port 7,624 lost. Server disconnected: -1”

ekos did not crash, but indi stopped. not sure if it crashed, there was no “backtrace” offered

Astrophotography is FUN! :lol: :lol:

ekosdebugger outputs attached:  
[ekos debugger output 20221103-094438.txt](https://forum.indilib.org/uploads/short-url/n4WycYhcSYoCZmwKzbVeBdSR0gE.txt) (24.5 KB)

---

<div class="post-metadata">

**Author:** ![knro](https://forum.indilib.org/user_avatar/forum.indilib.org/knro/32/64_2.png) [@knro](https://forum.indilib.org/u/knro)\
**Post date:** [November 5, 2022, 6:19am UTC](https://forum.indilib.org/t/webcam-linux-newb-crash/10856/15 "2022-11-05T06:19:45Z")

</div>

Thank you. I just realized we are talking about two different drivers. I asked Robert to take a look at this. Meanwhile, do you have the same issue when using “V4L2 CCD” driver?

---

<div class="post-metadata">

**Author:** ![rlw1138](https://forum.indilib.org/letter_avatar_proxy/v4/letter/r/cab0a1/32.png) [@rlw1138](https://forum.indilib.org/u/rlw1138)\
**Post date:** [November 5, 2022, 3:53pm UTC](https://forum.indilib.org/t/webcam-linux-newb-crash/10856/16 "2022-11-05T15:53:16Z")

</div>

yes, same for either webcam-type driver … I think since I was planning to get a ZWO ASI-174 anyway, I’d just go ahead and buy one and see it that works better…Thanks for all your help!!
