Questions tagged [debugging]
is a process of finding and reducing the number of bugs, or defects, in a computer program, thus making it behave as expected
463 questions
1
vote
0
answers
72
views
OBS Studio Virtual Camera: Failed to start streaming on '/dev/video2'
Distribution: Arch Linux
OBS Version: 31.0.3
Kernel Version: 6.14.2-arch1-1
v4l2loopback-utils Version: 0.14.0-1
vulkan-radeon Version: 25.0.3-1
> v4l2-ctl --list-devices
OBS Virtual Camera (...
0
votes
1
answer
16
views
Debugging Scanner-0 Process and KVM Issues
I came across the following kernel log entry showing a task named Scanner-0 in an unexpected state, along with a call trace involving kvm_async_pf_task_wait_schedule and a page fault.
[320099.377111] ...
0
votes
0
answers
9
views
Crash utility cannot resolve "p2m_top" when analyzing VMware dump (VMEM) on AlmaLinux guest
I am trying to analyze a VMware memory dump from an AlmaLinux guest. I converted the snapshot to a core dump using vmss2core:
vmss2core-sb-8456865.exe -N vSRV1_Snapshot815.vmsn vSRV1_Snapshot815.vmem
...
-1
votes
1
answer
52
views
How can I invoke Steam for Linux in GDB *via its `.desktop` file*?
Problem
steam-1.0.0.82-1.fc41.i686 from RPMFusion is crashing for me upon startup (when invoked from $HOME/.local/share/applications/steam.desktop). An example of this is visible at youtu.be/...
0
votes
0
answers
58
views
GDB doesn't hit catchpoint on the child process forked off from debuggee
I was re-doing what described here about multiprocessing debugging in GDB.
The weird thing is that GDB doesn't hit the exec catchpoint on the child process running cat command (the latter is forked ...
1
vote
2
answers
80
views
How to get bash script's current line contents being processed prior to interpretation? [duplicate]
When using bash -x or set -x in a script the output shows the result of the line being processed but not the source line which produced the result. There are times when knowing this as well could ...
0
votes
1
answer
40
views
Does Bash have an option to diagnose "expanded to empty value" variables? [duplicate]
Does Bash have an option to diagnose (and optionally abort execution) "expanded to empty value" variables?
Example (hypothetical):
$ bash -c 'echo $x' --xxx
bash: line 1: variable 'x' ...
0
votes
0
answers
46
views
SSH -v SSH -vv SSH -vvv debug messages
Do you know where I might find an interpretation of all the debug level messages (debug1, debug2, and debug3), that are output when the ssh -v, ssh -vv, or ssh -vvv command is executed?
0
votes
0
answers
52
views
(How) can I set source path (in debuginfo) when building debian package
I need debuginfo for some libraries, for example gstreamer (which are not available in debian repo), but can be built using source packages. However it turns out that the source paths in the debug ...
0
votes
0
answers
45
views
Bottom row of keys will not type, unless they are held down for a random(?) amount of seconds, to which they then work for a bit before regressing
System
$ uname -r
6.6.23-1-rt28-MANJARO
$ cat /etc/*release
Manjaro Linux
DISTRIB_ID="ManjaroLinux"
DISTRIB_RELEASE="24.0.0"
DISTRIB_CODENAME="Wynsdey"
...
0
votes
1
answer
73
views
objdump `--adjust-vma` destroys debug info
When using the --adjust-vma option of objdump all the functions get squashed together, as if there is no debug information about where each function starts.
I'll demonstrate with the following simple ...
2
votes
1
answer
67
views
Plugging in an external DVD drive causes ls, sudo, new SSH connections refused.... what happened?
Title says it all. But I plugged in an external DVD drive into my Raspberry Pi running Raspbian. It says its Linux compatible
However when I actually plug it into the device. Everything goes wrong in ...
0
votes
1
answer
83
views
can't get permissions for debug folder with a custom program
I am running a program on kali Linux. The program uses Openssl and some other networking libraries. When I try to run the program I get the output below:
Failed to open /sys/kernel/debug/ieee80211/...
0
votes
1
answer
87
views
AWStats stuck, but no output on strace: How to debug?
A Perl script is stuck,
root 1317478 99.8 0.0 264072 22516 ? R 04:57 478:37 /usr/bin/perl /usr/share/awstats/wwwroot/cgi-bin/awstats.pl -config=domain.tld-http -staticlinks -configdir=/...
0
votes
1
answer
142
views
How to enable debug messages for pam_systemd_home.so?
The manual for pam_systemd_home states that debug messages can be enabled with debug=yes, but they don't state where to put it.
I tried adding the options to the relevant lines in pam.d/system-auth, ...