Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [debugging]

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

0
votes
0answers
17 views

I dont fix this error when make rtl8821ce!

This is error (initialization from incompatible pointer type):
0
votes
0answers
31 views

Ubuntu 16.04 sudden freeze/unresponsiveness/hanging

I'm new here, so please bear with me. I'm not new to Ubuntu, but I'm also not very experienced when it comes to debugging low-level stuff. In the last few days I have been experiencing some weird ...
-2
votes
0answers
47 views

--PLEASE HELP BLACK SCREEN OF DEATH — Tried so many things [duplicate]

I went on Advanced opttions for ubuntu> recovery mode> fsck> it says "/dev/sda1 is mounted. e2fsck: Cannot continue, aborting." Can anybody show me greater detail ???? It would be such a great help. ...
0
votes
0answers
8 views

toolchain & remote debugging?

I need to debug application from remote: Is it possible to debug application running in ubuntu from a remote computer ? Usually, there is use of toolchain when remote debugging is required. Is ...
0
votes
0answers
49 views

How to step into using gcc in Ubuntu [duplicate]

I'm using Ubuntu and i'm programming in C language using the gcc compiler. In Visual Studio on Windows I can use step-into in order to see all the variables I have and which values they have. This ...
1
vote
0answers
28 views

How do I figure out which package is causing my black screen issues?

I am getting a black screen on different linux distributions (Ubuntu 18.04, Kubuntu 18.04, Manjaro GNOME 17.1.12) as long as only one monitor is enabled and connected. When 2 monitors are connected ...
0
votes
0answers
66 views

Skype Memory corruption bug

OS: Linux zero 4.15.0-29-generic #31-Ubuntu SMP Tue Jul 17 15:39:52 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux (Ubuntu 18.04 LTS) Version Affected: Skype version 8.27.0.85 Steps to reproduce: 1. Open ...
0
votes
0answers
44 views

Screenshot logs me out

As soon as I press Alt+PrtScn (which is supposed to take a screenshot of a window) instead it logs me out. Any ideas on how to fix this?
0
votes
0answers
45 views

On Ubuntu 18.04, RawTherapee freezing entire computer

I am using Ubuntu 18.04 on a HP elite 7100 microtower, Intel i7 with 8 GB RAM. Works great, except when I use RawTherapee it freezes the entire computer. I usually have Google Chrome streaming music ...
0
votes
2answers
423 views

Dolphin Emulator 5 freezing - Ubuntu 18.04

I installed Dolphin Emulator 5 and loaded a game (New Super Mario Bros). The game starts, I can select the level I want to play, then right about when the game should start Dolphin freezes completely. ...
0
votes
0answers
17 views

My /var/logs folder is writing gigabytes of data per minute for some reason. [duplicate]

So I installed ubuntu onto my PC yesterday alongside windows 10. I have a 100gb partition for Ubuntu. Half an hour after I installed ubuntu, I was getting notifications that my partition that the OS ...
0
votes
1answer
45 views

Lost My Root Filesystem

I have a Dell xps-13 developer edition. It's default is 14.04 but I updated to 16.04 long ago. Let's just say one stupid decision this morning without coffee lead me to improperly fixing an old bug ...
2
votes
0answers
743 views

how to fix bug found on meltdown/spectre?

linux found bug on meltdown and spectre . what i do for fix this problem ? discription in text note in home directory is ; bug: cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass ; file name is :...
2
votes
1answer
478 views

Ubuntu won't wake up from suspend

When I suspend my Ubuntu (version 18.04), it doesn't wake up by clicking buttons or anything (even though I do hear the computer is on). Only option I have is to power it off and on. My computer info:...
6
votes
1answer
406 views

How do I install the debug symbols for gcov?

Which package has the debug symbols for gcov from the gcc package? I've tried installing gcc-5-dbgsym, but it didn't have the symbols. Not a duplicate of [1]. As I mentioned I've already enabled the ...
0
votes
0answers
743 views

error while loading shared libraries: libncurses.so.6: cannot open shared object file: No such file or directory

error while loading shared libraries: libncurses.so.6: cannot open shared object file: No such file or directory While i tried to debug the project in eclipse, it shows the above error. please guide ...
2
votes
0answers
461 views

“Error: No space left on device” when booting ubuntu

How would I repair the graphical OS from the terminal tty1? I'm given the error: Error: No space left on device. Even though there is enough space. Detailed description of the system: df -h ...
1
vote
0answers
121 views

How do I figure out which library is causing ldconfig to segfault?

I downloaded the Ubuntu 16.04 distro for NanoPi Neo 2 and found something interesting. Running ldconfig.real -i (ignoring auxiliary cache) ought to rebuild the library cache. Instead, the binary ...
0
votes
0answers
36 views

Passing `ddd --debugger /usr/bin/bashdb ` parameters fails

On Lubuntu v17.04 passing parameters to the bashdb debugger works: bash --debugger -- <(printf "%s\n" '#!/bin/bash' 'echo hello $1') foobar ...the above code starts bashdb and loads the simple ...
-1
votes
1answer
190 views

Reference materials on Linux shell error messages

I am new to Linux and although I've been Using Ubuntu for a while I'm still not familiar with the error messages generated by the shell commands. For example, when installing some driver/software or ...
1
vote
1answer
70 views

Apt debug-symbols package empty

I am trying to install debug symbols for gcc. Searching around I have: gcc-4.7-dbgsym/xenial,now 4.7.4-3ubuntu12 amd64 [installed] debug symbols for package gcc-4.7 gcc-4.7-multilib-dbgsym/xenial,...
1
vote
1answer
632 views

Debugging Ubuntu 17.04 server freeze?

I'm a novice at Ubuntu and my server is occasionally locking up. It's not while I'm doing anything in particular so it's difficult for me to figure know where to start. I'm more familiar with ...
1
vote
1answer
928 views

How to view output of /usr/lib/apt/apt.systemd.daily after apt-daily.service is run by systemd?

In /usr/lib/apt/apt.systemd.daily it reads that # APT::Periodic::Verbose "0"; # - Send report mail to root # 0: no report (or null string) # 1: progress ...
0
votes
1answer
361 views

VS code Debugger cant the Program C# on Ubuntu OS

I'm new to Visual Studio Code, i installed it on my Ubuntu Machine and installed the debugger. i can run my program normally by using the "donnet run" command. i configured the the debugger by adding ...
0
votes
1answer
2k views

How to enable kernel core dumps on Ubuntu?

Is it possible to get a kernel crash dump on ubuntu? If so, how do I enable it? I have a recurring hang, with systemd sleeping uninterruptably, and I want to figure out what it's doing. Pointers to ...
0
votes
0answers
38 views

show what command is used in graphical mode

Is it possible to use some kind of verbose to show on the terminal what commands are executed when using graphical mode? For example: if I click on chrome it must show: google-chrome. My goal is to ...
5
votes
1answer
389 views

What happened to the qtbase5-dbg package in Zesty?

I am attempting to install the debug symbols for the Qt core library using the following command, which worked perfectly fine in 16.10: sudo apt-get install qtbase5-dbg However, this doesn't work in ...
1
vote
0answers
170 views

installing dtrace on ubuntu with latest kernel

I am on uname -a Linux ubuntu 4.11.0-rc3+ #5 SMP Tue Apr 4 12:05:39 PDT 2017 x86_64 x86_64 x86_64 GNU/Linux When I typed 'dtrace', it asked me to install systemtap. Now I have: systemtap-sdt-dev/...
0
votes
0answers
152 views

Ubuntu takes much time to boot cause of cleaning orphaned inodes

So usually my system boots almost instantly (I have a fast SSD) but for some time now after some freezes that seem to now to have disappeared it used to take like 2 minutes or so maybe more to the ...
0
votes
1answer
4k views

Ubuntu 16.04 has experienced an internal error

I will show here what I got with error tracker Error reports sent from this system Occurred Received Problem Type Program 2017-02-21 08:02 2017-02-21 09:02 UTC Crash boinc-client ...
1
vote
1answer
265 views

Solution for Black Screen after setting the Screen Brightness Cursor to 0

My screen went completely black after I set the screen brightness cursor to 0 (*) Impossible to do anything anymore and rebooting keep a full black screen. I Solved it by rebooting in Kubuntu "rescue"...
0
votes
0answers
30 views

Two direcories.. Two capacities.. One drive.. How to fix this?

This is my predicament You see here one drive (the Intel SSD shown on disks app) which is labeled as /device/sdb yet some how an other drive (WD HDD) labeled as /device/sdc link to the same directory ...
11
votes
1answer
8k views

VLC wont open video files from a secondary interal hard disk

I have installed ubuntu 16.10 on a 120GB hard drisk (sda) and I have a secondary interal hard disk 500GB (sdc) which has nothing else but a folder with video files in it. When I try to open a video ...
2
votes
1answer
274 views

How do I use snappy-debug to debug a snap?

I am attempting to use the snap "snappy-debug" to watch the behavior of a snap (specifically trying to use strace on containers run with the lxd snap in order to watch their behavior) Unfortunately, ...
0
votes
0answers
93 views

how can i modify my MAC address forever for Ubuntu?

I have to modify my Ubuntu MAC address for some reason. through google it, I choose to edit the /etc/network/interfaces file. Before edit(the file content): # interfaces(5) file used by ifup(8) and ...
1
vote
0answers
1k views

How to analyze an old /core file?

I found this old core file in my root directory from June: $ ll /core -rw------- 1 root root 46215168 Jun 20 16:16 /core $ sudo file /core /core: ELF 64-bit LSB core file x86-64, version 1 (SYSV), ...
0
votes
0answers
42 views

How can I debug missing menu clicks?

After turning on the option "Show menus in the window's title bar" I'm intermittently experiencing an issue where clicking (left-click) on an application menu has no effect (i.e. the menu does not ...
1
vote
0answers
427 views

Easy way to install AddressSanitizer enabled package?

I told a friend to install Ubuntu, but he is having problems with some software (libreoffice mostly). I would like to fix the problem, but he would need to install an AddressSanitizer enabled package ...
1
vote
1answer
170 views

how to troubleshoot libertine x apps?

Some of the apps in custom libertine container fails to launch, crashes randomly and some systematically. On normal desktop launching the application throught terminal casually provides at least some ...
0
votes
0answers
64 views

Where to report garbled files on ddebs.ubuntu.com

I downloaded a file: wget http://ddebs.ubuntu.com/pool/main/l/linux/linux-image-3.19.0-65-generic-dbgsym_3.19.0-65.73_i386.ddeb dpkg-deb -x barf on that one. How to report this in order to get it ...
1
vote
2answers
241 views

Juju charms - how to run and debug reactive charm

I'm developing a juju charm in python using a reactive pattern. All my hooks are called using decorators provided by 'basic' base layer. When trying to deploy the charm I encountered an error. In ...
2
votes
1answer
1k views

When I run the debugger: “failed to set controlling terminal”

In a book I read, the author's CPU was 32-bit. Mine is 64-bit. I run the NASM assembler in the terminal with: nasm -f elf -g -F stabs asmwork/eatsyscall.asm Then I run the linker: ld -o eatsyscall ...
7
votes
4answers
280 views

Is the number of bugs falling as new Ubuntu releases are released? [closed]

If we could count the number of bugs per Ubuntu release (... 10.04, 10.10, 11.04, ...), would it be a decreasing line? If not, why not? Is not the whole point of new releases to fix previous issues? ...
0
votes
1answer
79 views

Do Seahorse and GPG terminal program work standalone?

I have generated a Personal PGP Key with the Seahorse GUI as instructed by Launchpad. I have to manually sign a file for the Ubuntu Code of Conduct but... GPG doesn't find the Key so I need to know if ...
0
votes
1answer
424 views

Tab Autocomplete “Command Substitution error”

I used to never rely on it, but now that I am hooked, this is driving me nutty. When I am in terminal and hit Tab to autocomplete my statement, it works for most commands (cd, mv, rm, etc) but it is ...
1
vote
1answer
89 views

“Aw, snap!” (chromium bugs out)

I didn't had this issue before but now (without any software or hardware change) "aw snap" screens tend to appear very frequently and it's very irritating!!! I tends to happen (I think) more often ...
1
vote
1answer
943 views

Where to find core dumps from gcc and g++ compiled code?

I compiled some C code, once with gcc, and then with g++, so I got two output executable files. When executing both files I found that it told me: Segmentation fault (core dumped) But there is no ...
2
votes
1answer
1k views

Why does the menu bar appear only when the window is maximized?

My problem is that most graphical programs don't have a menu bar (File, Edit, View, etc.) when not on full screen (maximized) native built-in Ubuntu programs or third party stuff alike from VLC to ...
5
votes
2answers
3k views

How to see why “snapd.refresh.service” failed to start on startup?

After upgrading to snapd version 2.0.8 I have noticed that I get an error message about snapd.refresh.service failing to start on startup, the error tells me which command to run in order to see why ...
4
votes
2answers
432 views

How to provide a backtrace?

gnome-shell appears to be crashing with unsavoury results and the developers have asked me to provide a backtrace, what exactly is a backtrace and how do I get them what they need? I am running Ubuntu ...