← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2067130] Re: Taking picture crashes Snapshot

 

I met the same issue on 24.04.2 with '174f:11a8 Syntek Integrated
Camera'.

$ RUST_LOG=snapshot=debug,aperture=debug snapshot
2025-05-15T07:45:29.904084Z  INFO snapshot::application::imp: Snapshot (org.gnome.Snapshot)    
2025-05-15T07:45:29.904124Z  INFO snapshot::application::imp: Version: 46.2    
2025-05-15T07:45:29.904129Z  INFO snapshot::application::imp: Datadir: /usr/share/snapshot    
2025-05-15T07:45:29.904152Z DEBUG snapshot::application::imp: Application::startup    
2025-05-15T07:45:30.172312Z DEBUG snapshot::application::imp: Application::activate    
2025-05-15T07:45:30.224298Z DEBUG aperture::viewfinder::imp: Setup recording    
2025-05-15T07:45:30.361214Z DEBUG snapshot::widgets::gallery: Done loading 2 pictures    
2025-05-15T07:45:30.361804Z DEBUG snapshot::widgets::gallery: Done loading 0 videos    

    "api.v4l2.cap.bus_info": (gchararray) "usb-0000:00:14.0-8",
    "clock.quantum-limit": (gchararray) "8192",
    "device.api": (gchararray) "v4l2",
    "device.devids": (gchararray) "20736",
    "api.v4l2.cap.card": (gchararray) "Integrated Camera: Integrated C",
}    
2025-05-15T07:45:30.616449Z DEBUG aperture::device_provider: Camera found: Integrated Camera (V4L2), target-object: Some(550)
Properties {
    "api.v4l2.cap.driver": (gchararray) "uvcvideo",
    "api.v4l2.path": (gchararray) "/dev/video2",
    "client.id": (gchararray) "35",
    "device.devids": (gchararray) "20738",
    "device.id": (gchararray) "41",
    "node.description": (gchararray) "Integrated Camera (V4L2)",
    "object.path": (gchararray) "v4l2:/dev/video2",
    "api.v4l2.cap.capabilities": (gchararray) "84a00001",
    "node.nick": (gchararray) "Integrated Camera",
    "device.api": (gchararray) "v4l2",
    "clock.quantum-limit": (gchararray) "8192",
    "api.v4l2.cap.card": (gchararray) "Integrated Camera: Integrated I",
    "device.product.id": (gchararray) "0x11a",
    "factory.name": (gchararray) "api.v4l2.source",
    "priority.session": (gchararray) "980",
    "object.serial": (gchararray) "550",
    "media.role": (gchararray) "Camera",
    "node.driver": (gchararray) "true",
    "object.id": (gchararray) "67",
    "api.v4l2.cap.device-caps": (gchararray) "04200001",
    "api.v4l2.cap.bus_info": (gchararray) "usb-0000:00:14.0-8",
    "device.vendor.id": (gchararray) "0x174",
    "node.name": (gchararray) "v4l2_input.pci-0000_00_14.0-usb-0_8_1.2",
    "node.pause-on-idle": (gchararray) "false",
    "api.v4l2.cap.version": (gchararray) "6.11.11",
    "factory.id": (gchararray) "10",
    "media.class": (gchararray) "Video/Source",
}    
2025-05-15T07:45:30.945248Z DEBUG aperture::viewfinder: Camerabin state succesfully set to PLAYING    
2025-05-15T07:45:30.949653Z DEBUG aperture::viewfinder: Camerabin state succesfully set to NULL    
2025-05-15T07:45:30.949794Z DEBUG aperture::camera: Found caps: image/jpeg, width=(int)1280, height=(int)720, framerate=(fraction)30/1; image/jpeg, width=(int)640, height=(int)360, framerate=(fraction)30/1; image/jpeg, width=(int)640, height=(int)480, framerate=(fraction)30/1; image/jpeg, width=(int)848, height=(int)480, framerate=(fraction)30/1; image/jpeg, width=(int)960, height=(int)540, framerate=(fraction)30/1; image/jpeg, width=(int)1920, height=(int)1080, framerate=(fraction)30/1; image/jpeg, width=(int)2560, height=(int)1440, framerate=(fraction)30/1; image/jpeg, width=(int)2592, height=(int)1944, framerate=(fraction)30/1; video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, framerate=(fraction)30/1; video/x-raw, format=(string)YUY2, width=(int)640, height=(int)360, framerate=(fraction)30/1    
2025-05-15T07:45:30.949968Z DEBUG aperture::camera: Using caps: image/jpeg, width=(int)1920, height=(int)1080, framerate=(fraction)30/1; image/jpeg, width=(int)1280, height=(int)720, framerate=(fraction)30/1; image/jpeg, width=(int)640, height=(int)360, framerate=(fraction)30/1; image/jpeg, width=(int)640, height=(int)480, framerate=(fraction)30/1; image/jpeg, width=(int)848, height=(int)480, framerate=(fraction)30/1; image/jpeg, width=(int)960, height=(int)540, framerate=(fraction)30/1; image/jpeg, width=(int)2560, height=(int)1440, framerate=(fraction)30/1; image/jpeg, width=(int)2592, height=(int)1944, framerate=(fraction)30/1; video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, framerate=(fraction)30/1; video/x-raw, format=(string)YUY2, width=(int)640, height=(int)360, framerate=(fraction)30/1    
2025-05-15T07:45:31.000438Z DEBUG aperture::viewfinder: Camerabin state succesfully set to PLAYING    
2025-05-15T07:45:31.000485Z DEBUG snapshot::widgets::camera: Device provider started    

thread 'main' has overflowed its stack
fatal runtime error: stack overflow
Aborted (core dumped)

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to gnome-snapshot in Ubuntu.
https://bugs.launchpad.net/bugs/2067130

Title:
  Taking picture crashes Snapshot

Status in gnome-snapshot package in Ubuntu:
  Confirmed

Bug description:
  When I take a picture, it immediately crashes. Interestingly, it
  successfully saves the photo before crashing.

  This occurs with a USB HDMI capture device
  (https://www.amazon.com/gp/product/B09FLN63B3). It does not detect my
  laptop's webcam at all, but that appears to be a known bug.

  I have attached a (10 MB!) GDB backtrace. It appears to get stuck in
  an infinite loop.

  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: gnome-snapshot 46.2-1ubuntu2
  ProcVersionSignature: Ubuntu 6.8.0-31.31-generic 6.8.1
  Uname: Linux 6.8.0-31-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.28.1-0ubuntu3
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Sat May 25 01:53:13 2024
  InstallationDate: Installed on 2023-08-02 (297 days ago)
  InstallationMedia: Ubuntu 23.04 "Lunar Lobster" - Release amd64 (20230418)
  ProcEnviron:
   LANG=en_US.UTF-8
   PATH=(custom, no user)
   SHELL=/bin/bash
   TERM=xterm-256color
   XDG_RUNTIME_DIR=<set>
  SourcePackage: gnome-snapshot
  UpgradeStatus: Upgraded to noble on 2024-05-16 (9 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-snapshot/+bug/2067130/+subscriptions