Questions tagged [debug]
Debugging is a methodical process of finding and reducing the number of bugs, or defects, in a computer program
125
questions
1
vote
1
answer
5k
views
cannot find - No such file or directory - libusb - Ubuntu 32 & 64 bit
I'm trying to write a program that transfers data to my device.
I'm using libusb.
I had many problems to install its package in both 32 & 64 bit edition of Ubuntu 16 LTS.
Commands for ...
0
votes
0
answers
67
views
Roslaunch not found error when executing ros noetic project built and installed with custom snap (using snapcraft tool)
So I have this multi-package ros project that I want to build with snapcraft so I can distribute it to client and update it easier. However, I managed to build it but for some reason the app cannot ...
0
votes
0
answers
30
views
why bashdb step+ command not found?
Ubuntu 20.04.6
bash debugger, bashdb, release 4.2-0.8
When I used step+ command, 'not found' occured.
/usr/share/bashdb/lib/processor.sh: line 286: _Dbg_do_step-: command not found
step works fine.
13
votes
6
answers
41k
views
Debug Qt application on ubuntu with root permission using qt creator
It is possible to run my application with root priviliges using sudo, like this:
sudo ./MyApp
Is it possible to debug my Qt application using root priviliges using QtCreator? How can I do this on an ...
0
votes
0
answers
59
views
why no source code info for system libraries in debug symbols from Debuginfod of 22.04
I'm debugging my app in a 22.04 system(with WSL2), using vscode and gdb. I've setup the debuginfod services according to the official docs already, everything goes well. the debug console output and ...
0
votes
0
answers
247
views
I cant export to .apk file my python program usin buildozer and Kivy
I was following this tutorial to learn how to export my project (wrote in python) to an .apk file. (https://www.youtube.com/watch?v=pzsvN3fuBA0&t=4s) but I get this error while I was running ...
2
votes
3
answers
2k
views
How to debug Nautilus extension?
I recently installed mpd-gnome which among other things adds a nautilus extension nautilus-mpd.py. This extension does not seem to be working so I decided to run nautilus from the command line to see ...
0
votes
0
answers
85
views
gnome-screenshot does not work from VS Code debugger, but works fine without debugger
Fresh Ubuntu 22.04.3 LTS installation, VS Code, python 3.10.12.
The following python script:
tmpFilename = '.screenshot%s.png' % (datetime.datetime.now().strftime('%Y-%m%d_%H-%M-%S-%f'))
subprocess....
2
votes
0
answers
514
views
Debugging Kernel Module with dynamic debug
My system:
mik@michaelUbuntu:~$ cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.6 LTS"
...
0
votes
0
answers
360
views
Linux kernel debug symbols missing for some kernel builds
I am trying to install debug symbols for the kernel to get SystemTap working.
I am getting the below error when I try to install debug symbols:
$ sudo apt-get install linux-image-$(uname -r)-dbgsym
...
0
votes
0
answers
156
views
VLC - specifying debugging option and log file doesn't work
I am trying to display an mp4-file using vlc. I have specified the verbosity level as 2 (debug) and a log file name of ~/vlc.log. When I run vlc, it does NOT display my slideshow. Nevertheless, I ...
0
votes
0
answers
176
views
How to enable debug keys/ mode in LE Secure connection journey
Test bed setup
Master device - ubuntu 22.04 with BLE5.0 dongle
Slave device - Custom Bluetooth 5.2 device with BLE application running
Sniffer device - nrf52840 dongle with ...
15
votes
1
answer
13k
views
How can I debug my wireless problem?
How can I get started with debugging my wireless problem?
How can I tell whether or not Linux has recognized my wireless hardware at all?
What are the main programs/daemons associated with wireless ...
0
votes
0
answers
67
views
Logout on Wacom/Intuos 4D Mouse Use - how to figure out reason?
EDITED:
I have a newly installed Ubuntu (Ubuntu 22.04.1 LTS Desktop, x86_64, X11) and connected an old Wacom USB tablet (gd-1218-u , 'Wacom Intuos 12x18' - Intuos(1)) - it worked great, out of the box ...
0
votes
2
answers
120
views
Where can I find debug symbols for KDE Discover
I am trying to provide a backtrace for repeated crashes of KDE Discover, but cannot find (much less install) the needed debug files.
I have attempted to find debugging symbols for Discover by adding ...
1
vote
0
answers
659
views
How to install OpenJDK-19 debug symbols on Ubuntu 20.04?
I've installed OpenJDK-19 on Ubuntu 20.04 using snap. However, I'm not able to find the package in snap which corresponds to openjdk-19-dbg in apt, and I can't find OpenJDK-19 in apt at all.
Could you ...
0
votes
0
answers
256
views
Google chrome only runs in debug mode
Today I updated my Ubuntu distribution to the latest available, from 20.04 to 22.04. During this update, everything went great, but at the time that I opened chrome browser, I noticed that this is a ...
0
votes
1
answer
555
views
Unable to find /usr/lib/debug/modules/...vmlinux file for debugging dump file with crash utility
I need to debug a vmcore dump file using crash utility, but i don't see a debug vmlinux in my /usr/lib/debug/modules/ path.
Actually in my system, the modules directory is not present under /usr/lib/...
2
votes
0
answers
717
views
Ubuntu Desktop 20.04 sudden random turn off
I'm on Ubuntu Desktop 20.04 with a LENOVO ThinkPad L13 Yoga.
Since a few days ago, Ubuntu randomly suddenly turns off. No Shut down just an immediate turn off. It looks like a power loss. It sometimes ...
5
votes
2
answers
846
views
Where are the debug symbols for plasmashell (Kubuntu 19.04)?
I'm having an issue with plasmashell crashing anytime I leave the computer alone for more than an hour or two. I've tried installing debugging symbols to generate a useful crash report, but keep ...
4
votes
1
answer
13k
views
How do I get rid of /sys/kernel/debug/tracing?
I have two Ubuntu 16.04.1 servers providing DHCP and DNS services on my network. Today, on one of my servers, I discovered a new filesystem mounted at /sys/kernel/debug/tracing. The other server, ...
2
votes
0
answers
119
views
Unable to get Gnu C Library debug symbols
I have two machines. One is Intel x86_64, the other is aarch64 (although I doubt the architecture variation is the problem). Both are Ubuntu. I compile the same program on each of the machines, with ...
0
votes
0
answers
289
views
Need to debug postfix service for slow bootup
I had slow bootup recently and found using systemd-analyze that postfix-service is taking almost 25 s to start, critical-chain told me it was specifically postfix@-service.
PS: I also do not know what ...
0
votes
1
answer
68
views
Source for ccnet-dbg and libccnet-dbg
I am trying to install SeaFile server on Lubuntu 20.04.3.
So that I can report any errors, I ran the command in the documentation and tried to install ccnet-dbg and libccnet-dbg.
I got the error "...
4
votes
1
answer
2k
views
Kubuntu: Using Wayland / Nvidia / KDE on 21.04
I've just updated Kubuntu from 20.10 to 21.04. When trying to start a new session with Wayland it freezes at the vendor splash screen. How would I go about it to debug this? Suspecting it might has to ...
2
votes
0
answers
230
views
How to disable the splash screen on Ubuntu 20.04 on shutdown (not on power on)
I want to turn off the splash screen when shutting down, but I can't find anything that talks about disabling the splash screen when shutting down.
Does anybody know how I can achieve this?
3
votes
1
answer
384
views
Compiling the source code creates bigger files comparing w/ Ubuntu prebuilt packages, why?
Am I doing anything wrong? I'm building some libraries from the source code, but the file sizes are much much bigger comparing w/ Ubuntu packages. Here is an example.
https://github.com/linuxwacom/...
0
votes
1
answer
64
views
How to trouble shoot arbitrary Linux programs
Currently I am trying to become better at using Linux and therefore I would like to know how Linux experts troubleshoot arbitrary programs.
On my new laptop I could not burn a cd via k3b. It just got ...
1
vote
0
answers
315
views
Weird hibernation behavior with systemctl hibernate
I've followed this tutorial to enable hibernation on my ubuntu device: Anthony O.'s answer to Hibernate and resume from a swap file
When I hibernate using sudo s2disk, everything works fine and there ...
29
votes
4
answers
31k
views
bash: set -x logs to file
I have a shell script with set -x to have verbose/debug output:
#!/bin/bash
set -x
command1
command2
...
The output looks like this:
+ command1
whatever output from command1
+ command2
whatever ...
3
votes
2
answers
2k
views
What is wrong with ddebs.ubuntu.com
Did something expire that should not have?
I am using debug symbols on my Ubuntu 20.10 install, and now I get this when I run the apt-get update command.
W: An error occurred during the signature ...
6
votes
1
answer
1k
views
Kernel custom building not working due to missing "binary-generic" recipe
I am on Ubuntu 18.04 and I am trying to build my own kernel by this guide and this guide.
Unfortunately the command:
AUTOBUILD=1 fakeroot debian/rules binary-headers binary-generic binary-perarch ...
5
votes
7
answers
71k
views
mount.nfs: access denied by server while mounting
I have a problem I have been googling for at least 6 hours 28 hours with no luck. Whenever I try to mount a directory I get the following error (verbose version at end):
mount.nfs: access denied by ...
1
vote
0
answers
55
views
touchpad stops working intermittently, help discovering packeg or kernal issue to troubleshoot or file bug report
So, New thinkpad T14s AMD, Kubuntu 20.10. the touchpad will sometimes stop working.
Sometimes I turn on the laptop and the touchpad works, other times no.
The output of "cat /proc/bus/input/...
6
votes
1
answer
1k
views
Missing fonts cause LibreOffice Impress to mess up the layout of the slides
I have reported a LibreOffice Impress bug here. In that bug, the text of a slide went beyond the page margin
Although it looked fine in Microsoft PowerPoint
Now I cannot reproduce the bug anymore. ...
74
votes
2
answers
88k
views
after upgrade gdb won't attach to process
I just recently upgraded from 10.04 to 11.04 and gdb won't allow me to attach to processes anymore I get the error
Attaching to process 10144 Could not
attach to process. If your uid
matches ...
2
votes
0
answers
148
views
Ubuntu preset the letter ‘e’ to all entries I make
I am a new Ubuntu user. I have an odd problem, namely that the letter ‘e’ is added to the beginning of all entries I make. I recently added a keyboard short cut (ctrl + f) but following the problem ...
4
votes
2
answers
5k
views
Trying to install KDbg debugger
I'm trying to install KDbg debugger to use while I code in C and have some problems in figuring out what to do.
As suggested in this other similar question: How to install software provided in ...
0
votes
1
answer
2k
views
Update to 20.04 VSCode debugger "Attach by Process ID" do not see process
I updated Ubuntu to 20.04, after this VSCode debugger "Attach by Process ID" do not see processes run with nodejs. I tried reinstall other versions from Ubuntu Software, and also from website, but it ...
1
vote
0
answers
140
views
19.10: `curecoin-qt` wallet installation fails on the last two steps
In order to make the most of the Folding@Home project (https://foldingathome.org/covid19/) and fight COVID-19 from our homelabs — tokenwise — I've tried to install the curecoin-qt wallet (https://...
2
votes
1
answer
652
views
How to serve ddeb files with reprepro?
I maintain our internal apt repo of Ceph, its build script generations some ddeb files, which is the debug symbol file. But reprepro cannot add those ddeb files, with errors like:
Unknown file type:...
0
votes
0
answers
1k
views
FAHClient cannot connect on Ubuntu 19.10
I've been running FAHClient successfully for one day now, and hence been contributing to the protein folding project. ... Well, I was until I recently booted my system. Now, the client won't connect, ...
1
vote
0
answers
48
views
computer goes back to sleep after a few seconds without any error message
I encounter a problem with my ubuntu 19.10 with gnome install on a laptop(razor blade from 2017). As quite unexperienced with the linux architecture, I failed fixing it by myself; the main reason ...
2
votes
0
answers
1k
views
Unable to find debug symbols for Ubuntu 18.04 Kernel 5.4.13
I am trying to get the debug symbols for Ubuntu 18.04 bionic, kernel 5.4.13.
I followed the below steps:
uname -r # 5.4.13
uname -v # #1 SMP Sun Jan 26 17:18:26 UTC 2020
...
2
votes
1
answer
1k
views
dynamic debug permission issue (k5.0.0)
When I attempt to read or modify the kernel dynamic_debug settings, I encounter a permissions issue.
root@roberto:/sys/kernel/debug/dynamic_debug# cat control
cat: control: Operation not permitted
I'...
45
votes
7
answers
49k
views
How can I diagnose/debug "maximum number of clients reached" X errors?
I'm hitting a problem whereby X prevents processes from creating windows, uttering something like the following into ~/.xsession-errors:
cannot open display: :0.0
Maximum number of clients reached
...
3
votes
1
answer
2k
views
Ubuntu freezes a few minutes after login
I use Ubuntu 15.10 (running from the disk) I run diagnostics and the disk doesn't seem to have any problems nor my drive should have (it and "expensive" bd-r DVD-r drive from a big brand and never had ...
1
vote
1
answer
802
views
Is Ubuntu LTS running a DEBUG kernel?
I found this in my system log:
[ 14.845195] **********************************************************
[ 14.845196] ** NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE **
[ 14.845196] ** ...
1
vote
1
answer
1k
views
Why does dynamic debug control not print any variables?
I have checked the outputs of dynamic debug functions (more specifically netdev_dbg) in sys/kernel/debug/dynamic_debug/control file. The output has all static characters in formatting string (like %d ...
2
votes
0
answers
3k
views
How to enable IPTABLES tracing on ubuntu 18.04 server
Ive found this simple straightforward way to trace what Iptables is doing on my kubernetes/calico cluster
https://www.opsist.com/blog/2015/08/11/how-do-i-see-what-iptables-is-doing.html
Nor ipt_LOG, ...