Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Getting a Segmentation Fault when running cam --list #1724

@CalvinaHarr

Description

@CalvinaHarr

Basically the title. I want to know what the most common cause of this would be. Here is what comes up when I run the gdb.

(gdb) run
Starting program: /usr/bin/cam
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7f2e456 in libcamera::ThreadData::current() () from /lib/x86_64-linux-gnu/libcamera.so.0
(gdb) backtrace
#0 0x00007ffff7f2e456 in libcamera::ThreadData::current() ()
from /lib/x86_64-linux-gnu/libcamera.so.0
#1 0x00007ffff7f2eb9d in libcamera::Thread::currentId() ()
from /lib/x86_64-linux-gnu/libcamera.so.0
#2 0x00007ffff7f23f37 in libcamera::LogOutput::write(libcamera::LogMessage const&) () from /lib/x86_64-linux-gnu/libcamera.so.0
#3 0x00007ffff7f25402 in libcamera::Logger::write(libcamera::LogMessage const&) () from /lib/x86_64-linux-gnu/libcamera.so.0
#4 0x00007ffff7f262f0 in libcamera::LogMessage::~LogMessage() ()
from /lib/x86_64-linux-gnu/libcamera.so.0
#5 0x00007ffff7f13637 in libcamera::ControlInfoMap::generateIdmap() ()
from /lib/x86_64-linux-gnu/libcamera.so.0
#6 0x00007ffff7f13841 in libcamera::ControlInfoMap::ControlInfoMap(std::initializer_list<std::pair<libcamera::ControlId const* const, libcamera::ControlInfo> >) () from /lib/x86_64-linux-gnu/libcamera.so.0
#7 0x00007ffff7ef5548 in ?? () from /lib/x86_64-linux-gnu/libcamera.so.0
#8 0x00007ffff7ef6364 in ?? () from /lib/x86_64-linux-gnu/libcamera.so.0
#9 0x00007ffff7fc947e in call_init (l=, argc=argc@entry=1,
argv=argv@entry=0x7fffffffdfb8, env=env@entry=0x7fffffffdfc8)
at ./elf/dl-init.c:70
#10 0x00007ffff7fc9568 in call_init (env=0x7fffffffdfc8, argv=0x7fffffffdfb8,
argc=1, l=) at ./elf/dl-init.c:33
#11 _dl_init (main_map=0x7ffff7ffe2e0, argc=1, argv=0x7fffffffdfb8,
--Type for more, q to quit, c to continue without paging--c
env=0x7fffffffdfc8) at ./elf/dl-init.c:117
#12 0x00007ffff7fe32ca in _dl_start_user () from /lib64/ld-linux-x86-64.so.2
#13 0x0000000000000001 in ?? ()
#14 0x00007fffffffe322 in ?? ()
#15 0x0000000000000000 in ?? ()

Program terminated with signal SIGSEGV, Segmentation fault.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions