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

learn more… | top users | synonyms

0
votes
0answers
8 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 ...
1
vote
1answer
25 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
23 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 ...
0
votes
1answer
25 views

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

My problem is that most graphical programs dont have a menu bar (file,edit,view etc) when not on full screen (maximized) native built in ubuntu programs or 3rd party stuff alike from VLC to ...
3
votes
2answers
140 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 ...
3
votes
2answers
32 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 ...
0
votes
0answers
34 views

Possible Chromium problems and or stability issues

I have the latest version of ubuntu up to date and I use it quite some time now... but it starts showing up some "old windows" issues... I mean that it freezes sometimes without apparent reason (...
0
votes
2answers
256 views

Ubuntu 16.04 freezes during use

This fault has only emerged since upgrading from Ubuntu 14.04.4 to 16.04. My laptop is an Acer Aspire E13, Intel Pentium N3540 no graphics card. I am duel booting this laptop, no issues with windows ...
0
votes
1answer
68 views

Running Ubuntu Touch applications in command line for gdb debugging?

I have already seen some answers related to this, but they didn't bring me to a definitive answer, so I'm going to try again. Basically, my question is: how can I run Ubuntu Touch applications from ...
0
votes
0answers
54 views

Default file manager does not open

What the title says when I try to start nautilus on terminal this is the output: (nautilus:5593): GLib-GIO-CRITICAL **: g_dbus_interface_skeleton_unexport: assertion 'interface_->priv- >...
0
votes
0answers
16 views

Chromium window disappears randomly but runs it just gets invisible o.O

What the title sais is the short description... its very strange and I dont know if its a ubuntu bug or a chromium one thus I had to make a huge post explaining it... :/ TLTR; I am not sure if it's ...
0
votes
0answers
67 views

Problems after upgrading from ubuntu 15.10 to 16.04 LTS

ok I was just upgrading ubuntu online nothing seemed to go wrong.... I was just watching a video on firefox while it downloaded everything etc and then when it asked me to restart now I chose not to ...
0
votes
1answer
96 views

Ubuntu 15.10 uses only 1 core

System monitor app shows that ubuntu uses only one core 100% (constantly over 99%) and the other 7 are not used at all (0%) also -while one core being at 100%- checking on the processes tab (which I ...
0
votes
0answers
33 views

Keyboard input problem

I have a Japanese computer (a Fujitsu FMVA 78HA) I recently moved from Ubuntu 12.04 (which crashed) and installed Ubuntu 14.04 The installation went fine but after a few days the computer crashed ...
1
vote
2answers
78 views

abnormal logout debugging

I am getting some abnormal behaviour lately from my Ubuntu 14.04.4 LTS Desktop machine. With no apparent reason or failure, all program close and I get logged out. I have also noticed lately a lot of ...
3
votes
3answers
86 views

Making sense of Time in dmesg

I know the time in dmesg is the time since boot. But my specific question is this time is calculated at the start or end of the process mentioned in the line? Why this is important? take this example:...
1
vote
0answers
41 views

Ubuntu 15.10 can't connect nexus 5

I have installed on my computer only Ubuntu 15.10 and I program with Android Studio, but Ubuntu can't find my Nexus 5 when I connect via USB. I try with other smartphone (Huawei P8 Lite) and Ubuntu ...
0
votes
0answers
10 views

Bash debugging symbols for 4.3-7ubuntu1.5

I want to install debugging symbols for bash 4.3-7ubuntu1.5 on Ubuntu 14.04.3 LTS. I tried to follow steps described in this blog - http://linux-debugger-bits.blogspot.co.uk/2014/04/bash-symbols.html ...
0
votes
0answers
8 views

What debug steps would you take to debug system not sleeping first attempt but sleeps on the second attempt?

I have a Thinkpad W510 on Ubuntu 14.04. I develop software on this box so have added a ton of software and config to it over the past 2 years. Currently if I put it to sleep, it will go through the ...
0
votes
0answers
12 views

AbatronBDI 2000 installation and configuration failes in ubuntu 14.04

i have problem in AbatronBDI2000 debugger how to update the processor i am usingppc440,i have given bdisetup -u -p/dev/ttyS0 -b115 -aGDB -tPPC400 -d. it will goes to infinite loop MODE:RED LED is ...
2
votes
0answers
69 views

Weird mouse behaviour in Xubuntu - BUG?

I have Xubuntu 14.04 x64 installed and I'm noticing a very strange behaviour. Sometimes my mouse acts as if I've pressed the right button and opens context menus at random. I've tried finding out ...
3
votes
2answers
283 views

How to debug c programs by gedit?

Is it possible to debug our programs written in c by gedit text editor ? If not, how can i do it ?
0
votes
0answers
26 views

Scidavis project corrupted on re-opening a saved project

I had fitted few graphs and plotted them in a SciDaVis project file and had saved it. I get the following error message while re-opening the project file. How can I solve this problem? My question ...
0
votes
1answer
218 views

How to connect my Android phone in USB Debugging mode? [duplicate]

In windows, I used to connect my phones (Samsung Galaxy S3 I9300 & Samsung Galaxy Note3 N9005) to my PC after installing the USB driver, and enable USB Debuggng in the phone and debug my ...
9
votes
1answer
433 views

Why do xrandr errors “BadMatch”, “BadName”, “Gamma Failed” happen?

I have not found a single solution to such errors, despite the rather large number of users out there who have them. So I want to try to find a solution myself. However, I have no idea why they occur....
0
votes
1answer
635 views

How do I install Insight Debugger on ubuntu 15.10 64 bit

I was trying to install insight debugger in ubuntu 15.10 64 bit. Here's what I did: First I opened /etc/apt/sources.list in gedit sudo gedit /etc/apt/sources.list then I add these two line at the ...
9
votes
1answer
534 views

How to debug an unmet dependencies problem?

Note about possible duplicate: AFAIK, This is not a duplicate of How do I resolve unmet dependencies after adding a PPA? otherwise please prove it by solving the test problem I mention below using ...
1
vote
0answers
85 views

Using qt debug symbols from ppa in qtCreator

How to make use of debug symbols in qtCreator, that are installed using ppa? I use Stephan Binner "Qt 5.5.1 for /opt Trusty" packages, including packages with -dbg postfix. Running command: dpkg-...
0
votes
0answers
37 views

How to fix this debug message upon Emacs startup?

I run GNU Emacs 25.1.50.2 on my machine having Ubuntu 15.04 and there is always an error on startup: Warning (initialization): An error occurred while loading ‘/home/ffs/.emacs.d/init.el’: Symbol's ...
0
votes
1answer
52 views

Why isn't this cron job working?

I am using Ubuntu 14.04 and have created in the the following script inside /etc/cron.hourly and made it executable filename: remove_old_tmux_resurrect_saves #! /bin/bash ls ~/.tmux/resurrect/* -...
2
votes
0answers
97 views

How to understand a lot of bug messages exactly after the start?

I receive a lot of annoying "system program problem detected" exactly after the start of my ubuntu (usually 5-6). And I can't understand what is it. Window is closing and nothing happens when I click ...
2
votes
0answers
452 views

cinnamon yields black background in Ubuntu 15.10

I just installed U15.10. The only thing I did was sudo apt-get install cinnamon Then I logged off, logged in with cinnamon, and I get a black background, terminal has white background, some icons ...
0
votes
1answer
1k views

C++ 'Hello World' with Codelite-iostream not found

I appreciate any help with this, as I am relatively new to both Linux and coding in general. I am comfortable using bash commands and have been playing with Linux for a little over a year, but please ...
0
votes
0answers
120 views

Theming bug with GNOME apps?

GNOME Calendar, MenuLibre, Boxes, and several others have thick bars around the window. This happens when using Numix, Arc, Flatabulous, and probably others. I'm running Unity on Ubuntu 15.10
0
votes
0answers
22 views

Hello I need personal help with squashfs! [duplicate]

Already searched but not yet found! How to create a squashfs with 5gb and bootable?
0
votes
0answers
12 views

Workflow recommendations for Racket (Beginning Student)

One of my kids is taking "CS100" at university and is using Racket - they are using the Beginning Student dialect and Dr. Racket IDE. I see her making all the classic mistakes (version control, etc)...
0
votes
1answer
27 views

Log all program external call

When I execute a third-party program, is it possible to see (and keep track) all the possible external calls to other programs, with corresponding parameters? Suppose I have a program "foo" which, at ...
1
vote
0answers
13 views

Is there “build-dep” for debug symbols?

When we need to build package from source there is handy "build-dep" option that install everything needed for building package from source. Is there some built-in option to install "dbg" packages? I ...
0
votes
0answers
95 views

process_vm_writev fails where process_vm_readv succeeded

I'm using process_vm_readv to read the contents of a function in a child process. This works fine. I then place breakpoints at certain places in the local copy of the function. Finally, I try to send ...
0
votes
0answers
74 views

How to log all smtp conversations for postfix?

I use tail -fn200 /var/log/maillog to view the logs of postfix. But I cannot see all smtp conversations here. How can I see all smtp conversations?
0
votes
1answer
46 views

How to use DBG with a shell script program?

I'm having some problems with Ardour 4 in Ubuntu Studio 14.04 (it crashes in plugin search with the message 'segmentation fault (core dumped)'. So I’m trying to create a backtrace with DBG for it (in ...
5
votes
2answers
2k views

How to load a module in initrd?

I want to explicitly load a module (say, netconsole) during the initrd stage, similarly to /etc/modules in the main system startup procedure. First, I checked that the initrd in my system already ...
0
votes
0answers
350 views

Failed thaw/resume from hibernate: How to debug from crash report?

I'm having intermittent problems with thaw/resume from hibernate on an ASUS k501LX running 14.04. Sometimes it resumes just fine. Other times it will get to the Grub menu (it's a dual boot with Win 10)...
1
vote
3answers
533 views

Serial Port Debugging on Ubuntu

I have a written a C++ program on Ubuntu 14.04 LTS which communicates with a USB2Serial device /dev/ttyUSB0 . I want to know if the connection parameters are set correctly on this file handle, what ...
1
vote
0answers
69 views

Setup in Ubuntu 14.04 for debugging CUDA code

I'm trying to set my machine with Ubuntu 14.04 (3.13.0-59) for debugging CUDA code. I have an nVidia discrete card and an integrated GPU. The plan is to have the display connected to the integrated ...
0
votes
0answers
52 views

ubuntu 14.04 freezes and mouse light turns off

ubuntu (14.04 64bit, mate 1.8.2, nvidia) frequently, randomly freezes. no shortcuts work (alt+ctrl+ whatever, reisub etc). mouse pointer doesn't move. what's strange: usb mouse light turns off i see ...
0
votes
1answer
154 views

Can't install GNU GSL library from source

I'm trying to install the GNU GSL Scientific library 1.16 from source under Ubuntu Server 14. I've already done that several times under OS X with no problems, but I keep getting the same error on the ...
0
votes
1answer
114 views

New line in python script creating EOL error [closed]

I'm creating a Python program for Ubuntu, and I need to write a python script into a file, but the \n in the code creates a new line in the file, it isn't copied as \n, so I get an EOL error. This is ...
1
vote
0answers
44 views

Debugging 14.04 freeze with syslog

Since upgrading to 14.04 a few weeks back, I have been experiencing a problem wherein Ubuntu will freeze (i.e. the entire UI stops working, can't drop down runlevels, etc.), and the only solution is ...
1
vote
1answer
171 views

dovecot with antispam plugin

I am trying to enable antispam plugin for dovecot, but then dovecot stops working: Jun 4 19:31:25 newmail dovecot: imap-login: Login: user=<tomasz_grobelny>, method=PLAIN, rip=127.0.0.1, lip=...