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
0 answers
14 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 ...
user avatar
0 votes
0 answers
21 views

GNOME - Dock appears on Lock Screen

This glitch only happens with the dash to dock extension (https://extensions.gnome.org/extension/307/dash-to-dock/) and not the default Ubuntu docks or any other docks I've tried. So, when I use the ...
user avatar
1 vote
1 answer
302 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, ...
user avatar
0 votes
0 answers
55 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 &...
user avatar
  • 1
1 vote
0 answers
332 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&...
user avatar
  • 4,679
0 votes
0 answers
41 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 '...
user avatar
0 votes
0 answers
41 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 = ...
user avatar
  • 1
0 votes
1 answer
111 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 ...
user avatar
0 votes
1 answer
32 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.
user avatar
0 votes
0 answers
42 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 ...
user avatar
  • 140
0 votes
0 answers
58 views

Installing and running mpack on a fresh ubuntu (Algo VPN) instance results in *** buffer overflow detected ***: terminated

I have created an Ubuntu 20.04.2 LTS instance via the Algo VPN scripts using google cloud. I SSH into the instance for the first time and execute the following simplified test case which results in ...
user avatar
0 votes
0 answers
27 views

Ubuntu 20.10 many problems with browser and UI in general

Ubuntu version 20.10 Gnome version 3.38.3 I have many small issues with UI For example: I cannot select text in the browser or text editors by mouse When I click a tab in the browser it might close ...
user avatar
0 votes
0 answers
24 views

problem regarding to emergency mode (booting)

I'm trying to restore default or normla mode on my os, the issue is that running a program I ran out of RAM, when I did the reboot I was delivered to the emergency mode: Stuck in emergency mode and ...
user avatar
13 votes
2 answers
17k 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 ...
user avatar
0 votes
0 answers
107 views

Debugging kernel crash on Ubuntu 20.04 running 5.8.0-59-generic

Recently my computer has started crashing pretty hard. Sometimes the sysrq works (REISUB), other times it does not. After the latest crash, I was able to pull this out of the logs using journalctl -b -...
user avatar
  • 121
0 votes
0 answers
25 views

How to search for errors in software or hardware

i have this server vm and some services on it, namely mqtt, nodered, influxdb and grafana. i run into some weird errors: the vm stops working for some unknown reason and blocks all traffic to it. that'...
user avatar
0 votes
0 answers
191 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 ...
user avatar
  • 11
0 votes
0 answers
33 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 ...
user avatar
  • 101
0 votes
0 answers
1k 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 ...
user avatar
0 votes
1 answer
35 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 -...
user avatar
0 votes
0 answers
53 views

anki is not starting

I ran a console version of anki in the cmd, to give me debugging information and it gave me this [632] PyInstaller Bootloader 3.x [632] LOADER: executable is C:\Program Files\Anki\anki-console.exe [...
user avatar
1 vote
1 answer
148 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 ...
user avatar
  • 604
0 votes
1 answer
215 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 ...
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....
user avatar
0 votes
1 answer
100 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 ...
user avatar
  • 203
0 votes
0 answers
58 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 ...
user avatar
1 vote
2 answers
2k 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 ...
user avatar
  • 11
2 votes
0 answers
66 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 ...
user avatar
  • 121
0 votes
0 answers
111 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 ...
user avatar
  • 1
0 votes
2 answers
2k 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 ...
user avatar
1 vote
0 answers
446 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 ...
user avatar
  • 11
0 votes
0 answers
121 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 ...
user avatar
1 vote
0 answers
131 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 ...
user avatar
  • 2,511
0 votes
1 answer
1k 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++?
user avatar
  • 413
1 vote
0 answers
43 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 ...
user avatar
  • 151
0 votes
1 answer
86 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 ...
user avatar
  • 1,601
3 votes
1 answer
695 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 ...
user avatar
4 votes
2 answers
3k 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 ...
user avatar
1 vote
0 answers
120 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://...
user avatar
0 votes
0 answers
867 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, ...
user avatar
0 votes
1 answer
103 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 ...
user avatar
  • 11
0 votes
1 answer
135 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 ...
user avatar
  • 565
0 votes
0 answers
213 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/...
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 ...
user avatar
  • 21
1 vote
1 answer
711 views

Notifications wrongly positioned in my KDE+i3wm setup

I am observing a weird behavior on my KDE+i3wm setup. The issue The issue is with the positioning of the notifications. Even though I have configured the notifications to appear near the panel. They ...
user avatar
1 vote
1 answer
144 views

Kubuntu freezes whenever I boot my laptop on battery. Why?

I have installed Kubuntu(v19.10) and since the first day, I'm facing this really annoying bug which freezes up my laptop(ASUS FX505DT). The issue I face this bug whenever I boot my laptop on ...
user avatar
1 vote
1 answer
64 views

Debug symbols for KMail 5.7.3 on Kubuntu 18.04.03 LTS

In which package can I find the debug symbols for KMail 5.7.3 on Kubuntu 18.04.03 LTS? Apport is not able to find them and apt-get search also does not give the required package.
user avatar
  • 212
1 vote
0 answers
370 views

Debugging Assembly with DDD

I have a problem when debugging Assembly code with DDD (also tried GDB). When I compile my program and make executable file with gcc -g -o program program.S I need to add -m32 to make 32-bit ...
user avatar
0 votes
1 answer
184 views

Is there a command to know whether my "/var/lib/dpkg/status" is fine? To be sure that there is nothing wrong in dpkg and its files [duplicate]

I ran different commands. Maybe I have also corrupted many things. But I do not see any sort of error or crashes so far. So my main question is how do I know that my pc is healthy and there is ...
user avatar
  • 1,012
3 votes
0 answers
251 views

Manually compile and install debugging symbols for the recoll package?

I've got some crash files for recoll from which I would like to extract a symbolic stack trace. Unfortunately, there are no debug symbols available for this package, so my stack traces are mostly ...
user avatar

1
2 3 4 5