Questions tagged [debugging]

Debugging is a methodical process of finding and reducing the number of bugs, or defects, in a computer program

Filter by
Sorted by
Tagged with
0 votes
1 answer
55 views

Debugging bash script libraries

I have a list of files that I source in some particular order Here is an example source "${edvart_trkrc}/marinex.rc" source "${edvart_trkrc}/firefly.rc" source "${edvart_trkrc}...
Hovlar's user avatar
  • 41
-1 votes
1 answer
64 views

Retrieve an assertion failure from a .crash file

Apport has recorded a crash of /usr/bin/gnome-shell on my system. I can unpack the .crash file that I found in /var/crash/ and I can take a look at the core dump with gdb, which gives me: (gdb) where #...
Bram's user avatar
  • 1,999
0 votes
0 answers
71 views

PTRACE_TRACEME error "Operation not permmited"

I am trying to use PTRACE_TRACEME to trace the child process: if (ptrace(PTRACE_TRACEME, 0, NULL, NULL) == -1) { perror("ptrace_traceme"); exit(EXIT_FAILURE); } And I got the error: ...
Aviel15's user avatar
0 votes
0 answers
96 views

Firefox right-click opens context menu, but selects tabs instead

At first when I installed Ubuntu 20.04 LTS, firefox was working normally. There had been some issues with the on-screen touchboard keyboard opening up when unwanted and so I installed caribou 36 to ...
Hoffenstein's user avatar
0 votes
1 answer
95 views

How to trace API calls on Ubuntu?

I have an application installed on Ubuntu 22.04. The application connects to an API and when I run a command in the application input space, it starts communication with the API and retrieves the ...
plpm's user avatar
  • 109
0 votes
0 answers
112 views

Debugging a crashing program debuginfod-enabled GDB

I'm trying to diagnose why renderdoccmd is crashing after a default install of 22.10. I installed renderdoc with apt install renderdoc, and then running renderdoccmd immediately segfaults. So I whip ...
Charles's user avatar
  • 101
0 votes
0 answers
54 views

How to simulate faulty disks in Ubuntu 20?

For debugging purposes, I'd like to simulate the following states regarding disk drives on my VM with Ubuntu 20: disk is missing/offline disk is faulty disk is not responding While I could quickly ...
ChrisTG74's user avatar
  • 191
0 votes
1 answer
200 views

Getting mutter debug logs

Mutter has these debug topics: META_DEBUG_FOCUS = 1 << 0, META_DEBUG_WORKAREA = 1 << 1, META_DEBUG_STACK = 1 << 2, META_DEBUG_SM = 1 &...
Bram's user avatar
  • 1,999
0 votes
0 answers
179 views

How to debug Apache when server is not reachable and no error is thrown?

I'm trying to use a new server (VPS) for my website. I bought a new server and installed Ubuntu 20.04 on it. After that, I logged in as root and start Installing Apache, PHP, MySQL Pulling the code ...
Martin AJ's user avatar
  • 181
0 votes
0 answers
155 views

Open rgb don't work correctly?

Since yesterday my computer no longer works properly with open RGB, I am not even able to turn it off, I have Ubuntu 22.04 LTS. Just to find out if this has happened to other people. Thank you and ...
Josué Pitre's user avatar
0 votes
0 answers
57 views

GDB in DDD produces a return character when I attempt to lookup value of variable

I've been trying to look up a value using gdb in ddd, in a .asm file as I am programming x86 assembly but when I type (into gdb) x/uw &min in the gdb shell, I just get a return character that ...
Furyan's user avatar
  • 1
1 vote
0 answers
80 views

Debugging a binary inside a snap

I am trying to run a binary that's from a snap through strace to debug its workings. Because the executable is accessed via /snap/bin/prog which is symlinked to /usr/bin/snap I will only see snap's ...
Bram's user avatar
  • 1,999
4 votes
1 answer
2k views

Unable to launch Firefox debugger from VSCode "Your Firefox profile cannot be loaded"

I'm using Firefox 100.0.1 without problems on Ubuntu 22 however when I try to launch a debugger from VSCode I get the following errors: Your Firefox profile cannot be loaded. It may be missing or ...
Antonio Santoro's user avatar
2 votes
2 answers
3k views

How would i enable the Firefox apparmor profile in 22.04

Ok so I found this on the "How can I enable AppArmor for Firefox?" line on the Ubuntu wiki which is out of date because Firefox is now a snap. I think the profile is enabled but first where ...
lnee's user avatar
  • 771
1 vote
1 answer
2k views

How do I find core files for my own code in Ubuntu 20.04?

in this question The following things are suggested: ulimit -c unlimited ulimit -a to set the limit to something other than zero. It was previously 0 on my system. No core files after segfault. So, ...
Josh Vander Hook's user avatar
0 votes
0 answers
131 views

Out of memory, "shared" and "buff/cache" consume entire memory

The oom_reaper always kills our application although the memory is not used by the process itself. free -m, just before the OOM killer terminated the process, indicates that "shared" and &...
domsch's user avatar
  • 1
1 vote
0 answers
728 views

Mouse movement wakes system up from sleep if the USB adapter is not reconnected

I have /etc/udev/rules.d/99-wakeup.rules to disable wakeup from sleep when using a keyboard or mouse connected to the device: ACTION=="add", SUBSYSTEM=="usb", DRIVERS=="usb&...
jarno's user avatar
  • 5,147
0 votes
0 answers
50 views

Super + D stopped working properly on Ubuntu 18.04.5 LTS

I used to use super+d to toggle between hide/show on all windows. Now, when i press this combination (super+d), the activities overview is displayed, but with type to search bar already filled with a '...
victor israe's user avatar
0 votes
0 answers
75 views

A debbuger that doesnot use ptrace()

Using strace or gdb i get this root@localhost:~# strace ls [Pid 2158] Unsupported ptrace request number 16902, tracee pid = 2159. [Pid 2158] Unsupported ptrace request number 16896, tracee pid = ...
amera's user avatar
  • 1
0 votes
1 answer
195 views

Linux alternative to fiddler for windows auroresponder function

I got debugg an website with its assets in production easily, but i don`t seem to find any good alternative to it on ubuntu. the only feature i am looking for is: I need something that decript the ...
oliveira47's user avatar
0 votes
1 answer
98 views

How do you add debugging information to an executable .out file?

In a Linux system, I used the terminal to create an executable file of a .c file. However, I now require to add debugging information to said executable file. Any way to help me out here? Thanks.
Akbar Ali's user avatar
0 votes
0 answers
48 views

How to diagnose strange intermittent kernel misbehaviors

See the Event Logs heading farther down. I'm on Ubuntu Server 21.04 running kernel 5.11.0-1015-raspi on aarch64. What are the most effective things to prepare to move forward on diagnosing this next ...
fuzzyTew's user avatar
  • 140
25 votes
3 answers
50k views

Where do I find core dump files, and how do I view and analyze the backtrace (stack trace) in one?

When I run my C program on Ubuntu 20.04, I get this run-time error: Segmentation fault (core dumped) I really need to find and view the core file, but I can't find it anywhere. Where is it, and how ...
Gabriel Staples's user avatar
0 votes
0 answers
215 views

XFCE4.16 - Ubuntu Studio 20.04.2 LTS unusable after critical bug manifested - troubleshooting req

I put desc and a placeholder for this critical bug and solution making is here and https://gitlab.xfce.org/xfce/xfce4-panel/-/issues/502 for anyone experiencing a rough XFCE 4.14 -> 4.16 upgrade ...
dMario's user avatar
  • 11
0 votes
0 answers
38 views

How to debug the GUI locking up?

At seemingly random time, my GUI locks up. I can generally recover from this (sort of) by getting another session via ssh and running sudo init 3 ; sudo init 5 but I lose any work in progress in all ...
BCS's user avatar
  • 101
1 vote
0 answers
2k views

How to fix bug "Authentication is needed to run '/usr/share/-apport/dump_acpi_tables.py' as the super user"?

I get an internal error (involving xorg), logging me out and then I have to log back in (restarting any apps, since they were all closed), then I get this error, which I've seen is a bug, but I'm not ...
user14094230's user avatar
0 votes
1 answer
49 views

Finding a specific text phrase in all system files

Trying to find a specific text phrase in all system files. A terrible way to debug but I have no clue where the mistake is and at this point I do not care whether it takes a day to debug. I ran grep -...
Avyansh Katiyar's user avatar
1 vote
1 answer
339 views

how to Get kernel debug messages

I have installed the kernel debug symbols for my system sudo apt install linux-image-5.11.0-17-generic-dbgsym Also $ sysctl kernel.printk kernel.printk = 7 4 1 7 But when typing sudo dmesg -wH ...
user63726's user avatar
  • 704
0 votes
1 answer
237 views

New issue encountered installing ubuntu. same bug different problem

was attempting to dual boot Ubuntu on an 2006 macbook pro intel core-duo. opted instead for full metal install and completely erased Mac OS. assuming it might clear the bug. i was wrong. i was ...
Atom's user avatar
  • 11
0 votes
0 answers
24 views

Unable to install qemu? [duplicate]

I used the following command: sudo apt install libexpect-perl qemu-system-x86 qemu-utils But, I received the following errors: Err:1 http://deb.debian.org/debian buster/main amd64 ovmf all 0~20181115....
ZisIzHell's user avatar
0 votes
1 answer
169 views

Perf sched_stat_sleep issues after reboot

I'm using perf's sched:sched_stat_sleep on Ubuntu 20.04, and have added the following to the /etc/fstab: debugfs /sys/kernel/debug debugfs defaults 0 0 tracefs /sys/kernel/tracing tracefs defaults ...
Rekovni's user avatar
  • 213
0 votes
0 answers
75 views

ubuntu is freezing very much, there is a need to fix this!

ubuntu is a great operating system and it has everything which we want for our use. but it has a problem, it is freezing very much. everything just stops, no keyboard keys work and not the mouse and ...
Kabir Ycreator's user avatar
2 votes
2 answers
8k views

BIOS ACPI bug AE_AML_PACKAGE_LIMIT

I've been getting this persistant bug, ACPI BIOS Error (bug): AE_AML_PACKAGE_LIMIT, Index (0x0000000FF) is beyond end of object (length 0xF) (20200528/exoparg2-393) I've played around with the grub ...
J Nos's user avatar
  • 21
2 votes
0 answers
79 views

Strange caps-lock behavior on Ubuntu laptops

So two weeks ago I got a new laptop and put Ubuntu on it to replace Windows 10 it came with. I was previously a MacOS user, and have also run Windows in the past. I am on my second laptop running ...
cwille97's user avatar
  • 121
0 votes
0 answers
132 views

Ubuntu 16.04 | Teamviewer not installed but working

First sorry for my mispell i'm French, here's my problem, i'm on Ubuntu 16.04 and a version of Teamviewer (15.0.14842) is installed on my computer. I didn't install it and after a few searches with ...
M M's user avatar
  • 1
1 vote
2 answers
3k views

Fixing GPU hang caused by i915 driver

Ran updates on my laptop recently, and after rebooting, my laptop started behaving weirdly. After I logged in, the screen started flickering, and as soon as I opened a window (the application menu ...
Vincent Guttmann's user avatar
2 votes
0 answers
654 views

Super key stuck on 20.04

I was recently editing a gnome extension when my computer started acting like the super key is constantly pressed. I can only execute super shortcuts with the keyboard. In addition, all shortcut ...
Daniel's user avatar
  • 21
0 votes
0 answers
171 views

I can not find coredump

lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.4 LTS Release: 18.04 Codename: bionic ***** Source ****** // This is a disposable program for ...
D. Grant's user avatar
1 vote
0 answers
342 views

How to debug slow login

NOTE: Login, not boot. On Ubuntu 20.04. After entering my password, my wallpaper appears, and some version of the bars (when using Gnome). Everything is frozen for a minute before waking up. Same ...
Gauthier's user avatar
  • 2,621
0 votes
1 answer
2k views

what is the difference between gdb and gdb-peda?

I have tried to search on google but still could not find anything that i understand. Can anyone tell me the difference between them? And which one is better to debug c++?
Zozzizzez's user avatar
  • 425
1 vote
0 answers
49 views

How can I contribute to an Ubuntu package on Launchpad with an upstream on Github?

I recently reported a bug for which a fix already exists on GitHub (upstream), and I would like to cherry-pick such fix and submit it on Launchpad for review for focal 20.04. However, I couldn't find ...
fcole90's user avatar
  • 160
0 votes
1 answer
112 views

Can we safely uninstall the *.dbg packages

I use Ubuntu Studio 20.04 LTS. I've found some *.dbg packages installed into my system. I can see them when I use Synaptic Package Manager. I wonder if those packages are absolutely necessary and if ...
Juan's user avatar
  • 1,737
3 votes
1 answer
952 views

How can I view a core dump on Ubuntu 18.04?

I have a program which is aborting and I want to view a core dump. I am using addresssanitizer which is causing the abort when it hits a heap overflow. I have done the following: sudo sysctl -w ...
the_endian's user avatar
4 votes
2 answers
4k 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 ...
Spyromancer's user avatar
1 vote
0 answers
128 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://...
Jayaguru-Shishya's user avatar
0 votes
0 answers
951 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, ...
Jayaguru-Shishya's user avatar
0 votes
1 answer
155 views

graphics noisey, trails, slow refresh?

Please help me figure this out. Noisy graphics, like it takes time to refresh, when there is any movement on the screen. It leaves trails of static-like noise during video play (see image), if I ...
PaulM's user avatar
  • 11
0 votes
1 answer
165 views

PyCharm Debug Tool Window simply desapear

My PyCharm debug tool window isn't available anymore. I was using it without problem yesterday, however after turn the computer on and open the application it has disappeared from the side bar and ...
artu-hnrq's user avatar
  • 665
0 votes
0 answers
269 views

Debugger in geany

I have problem with instaling debugger in geany This is my problem: > arwena@arwena-VirtualBox:~/geany-plugins/debugger$ make Making all in > src make[1]: Entering directory > '/home/arwena/...
ArwenM's user avatar
  • 21
2 votes
1 answer
2k views

Geany debugger installation

I want to add new plugins for debugging to Geany. But I have the following problem: Reading package lists... Done Building dependency tree Reading state information... Done Some packages could ...
ArwenM's user avatar
  • 21

1
2 3 4 5