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
471 questions
1
vote
0
answers
38
views
Using ProbeVue to read process memory
I am building an "agent" to read Oracle database process to track database privileged users without having to use auditing or anything in the database, completely isolated from the database.
...
7
votes
1
answer
447
views
How do I add a text editor to my (debian-based) initramfs?
For debugging purposes, I want to add a text editor to my initramfs. How do I do that?
1
vote
0
answers
76
views
Mouse middle-button doesn't work in libev, but does in GUIs
I want to use my mouse's middle-button in the TTY, so I tried to debug it. When I perform a middle-click, it doesn't show up in evtest /dev/input/eventN. All other actions show up, so I'm in the ...
0
votes
0
answers
54
views
Signal handling in debugger in linux
I am working on a debugger and found an issue.
I start at the beginning of the dynamic linker (this is a low-level debugger). At this address, I set it so that for a particular signal, the process ...
1
vote
0
answers
37
views
Process Maps in s390x linux systems
So I am working on a debugger for linux s390x system and have the whole disassembler etc set up for reading the ELF file. For debugger I just run it on the process with base address from the process ...
0
votes
0
answers
75
views
LibreOffice crashes with Miniconda3 in path
this is a post that has workaround but not an explanation
Sometime in last 4 weeks my LibreOffice on my debian started crashing. Not producing window with eg. LOWriter, just a "crashed docs ...
0
votes
1
answer
171
views
How to debug the xdg free desktop menu
I'm using KDE on last debian and i get a lot of problem with the menu. I was using the kdemenu to organise the start menu, but i get a lot of trouble :
Some .desktop shows in the start menu but not in ...
2
votes
1
answer
1k
views
Arch Linux - pacman stuck in "failed to commit transaction (could not find or read package)" following failed upgrade
During a routine sudo pacman -Syu --needed involving about 50 packages, the upgrade exited early due to a "Less than 1 b/s transferred the last 10 seconds" error. Follwing that, I can no ...
0
votes
1
answer
103
views
flock not working between forks on the same fd
I am working on a process that forks several times. To debug it, I am using a debug file for which I open a fd and which stays the same for all child forks. Then I have a function print_debug, that ...
1
vote
0
answers
433
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
76
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
69
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
166
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/...
1
vote
2
answers
177
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
85
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' ...