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

learn more… | top users | synonyms

2
votes
0answers
24 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
143 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
18 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
52 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
144 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 ...
0
votes
1answer
93 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 ...
6
votes
1answer
117 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
35 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: ...
0
votes
0answers
22 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
44 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
53 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 ...
1
vote
0answers
248 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
268 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
111 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
9 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, ...
0
votes
1answer
21 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
40 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
42 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
27 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 ...
4
votes
2answers
398 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
176 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 ...
1
vote
3answers
262 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
53 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
39 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
112 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
92 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
30 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
0answers
92 views

Detecting memory leak with libc_malloc_debug_leak.so for specific processes [closed]

In Android, for detecting memory leak I am using libc_malloc_debug_leak.so. But as soon as I do that it starts tracking memory operation details for all processes which makes the device very slow. Is ...
0
votes
1answer
104 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, ...
0
votes
0answers
43 views

Get Systemtap to work on 14.04

I'm trying to get systemtap to work on 14.04. So far I've had very little success: I couldn't find debug symbols for the kernel version for trusty. I ended up installing utopic's kernel (*-38), and ...
1
vote
0answers
24 views

problem trying to log in after update

after an update I can't pass the log in with my user, I log in as guest and the error "no session for pid 2149" apears and I cant really use it either; searched for solutions and it apears to be a bug ...
0
votes
1answer
40 views

how to do a kernel bisection

I posted a bug on luanchpad a few days back (https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1452166). I have been told to do a kernel bisection from 3.16 to 3.19. Can someone give me a simple ...
0
votes
2answers
109 views

PHP.ini change not reflected

I am trying to install Zabbix and the following errors appeared during pre-installation I proceeded to change the setting in PHP.ini file to the minimum requirements The problem is that though ...
0
votes
1answer
100 views

How can I use --gdk-debug with GTK2 programs?

I want to view the GDK events received by a GTK 2 program (Xournal) for debugging purposes, which should be possible by passing the option --gdk-debug=events). However, the option apparently is passed ...
6
votes
1answer
2k views

How to get an apache core dump?

I am having problems with my 14.10 Ubuntu Server. Upon performing certain actions my apache2 restarts with a segmentation fault error. In order to debug this issue I would like to create a core dump. ...
0
votes
0answers
15 views

How to trubleshoot an intermittently freezing system? [duplicate]

Now and then my ubunu 14 freezes for a second or so and I can't tell why. Playing media it can freeze for a second or so. Can it be that I configured my swap file incorrectly when installing? When ...
5
votes
2answers
584 views

How to trace/monitor the I/O of a Linux command

I ran find / -name abc.html and a short time after I ran this command again. This time it was very fast, so I know the find must be caching the result somewhere. How can I find out where the cache is ...
6
votes
2answers
1k views

Very slow Chromium browser

On my machine Chromium is very slow, I had to switch to Firefox where everything works fine. Looks like this is a kind of JavaScript problem (eg. slowed down typing on Facebook), pages loading slower, ...
1
vote
1answer
83 views

Catch program crash when there is no terminal

This question may belong to Unix/Linux in general, but I guess the answer is dependent on distro or desktop environment [I use KDE and Xfce so I would like an answer that is applicable on booth]. ...
1
vote
0answers
61 views

Chrome Debugger (remote) won't expand elements, or objects output in console

I am running chrome debugger remotely on an app I am building (appgyver, so javascript and HTML etc) and having real issues accessing the debugging data in the elements and console tabs. For ...
5
votes
1answer
190 views

Debugging a crash when keyboard is not responsive

Ubuntu 14.04, Kernel 3.13 crashes very frequently, notably when using Firefox, Eclipse and VLC. The effect of the crash is: all USB devices stop responding if playing a video, it hangs up and sounds ...
1
vote
0answers
59 views

Problem occured while installing Ubuntu 14.04 - Package authentication failed

As you can see this is the syslog from my installation of ubuntu 14.04 and the authentication of the initramfs-tools package faild. I have 2 questions here How could that be? Where can I report ...
0
votes
1answer
475 views

Syntax Error: Unexpected end of file

I'm trying to run this script below and I have no idea why its not working. I keep getting an error message that says "Syntax Error: Unexpected end of file" and I don't know how to trouble shoot this ...
2
votes
1answer
3k views

Device not found when setting up android usb debugging in Ubuntu 14.10

I have an HP 10 Plus 2210xx tablet, and I want to use it for Android USB debugging. I followed the following steps: Enabled usb debugging in developers option on phone. After connecting to PC, phone ...
0
votes
1answer
99 views

openjdk-7 gdb list main.c sources error

I'm currently struggling with debugging openjdk in Trusty Tahr. I already installed opejdk-7-jdk openjdk-7-dbg. When I issue gdb java I see it reads the symbols properly, but when I ask to list the ...
1
vote
1answer
13k views

How to mount a Samsung galaxy S5?

My laptop runs on Ubuntu 12.04 and when trying to connect my phone to access files through the USB port, this comes up: **Unable to mount SAMSUNG_Android** Error initializing camera: -60: Could not ...
0
votes
1answer
75 views

My IDE keeps crashing instantly: How do I diagnose?

I am using Aptana, Java-based IDE. Starting today, it is crashing suddenly every few minutes. This may have to do with the fact that I recently upgraded to Xubuntu 14.04. There is no error message. ...
1
vote
0answers
277 views

TCP hash tables in Linux Kernel

I have implemented a solution to migrate sockets between servers running Linux OS. The migration mechanism works very well and the client is capable of continuing receiving his service from the new ...