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

learn more… | top users | synonyms

1
vote
0answers
11 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
12 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
42 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
52 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 ...
0
votes
0answers
12 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
26 views

Detecting memory leak with libc_malloc_debug_leak.so for specific processes

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
0answers
18 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
20 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
18 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
19 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
52 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
26 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 ...
4
votes
1answer
430 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
400 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 ...
2
votes
1answer
172 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
61 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
30 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
133 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
45 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
255 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 ...
0
votes
0answers
243 views

What is the safest way of parsing /etc/network/interfaces (5)?

Context: /etc/network/interfaces holds configuration for network interfaces, in this format. I doubt the format has changed significantly in years. The auto and iface lines are the most commonly ...
2
votes
1answer
2k 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
69 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 ...
0
votes
0answers
250 views

error in setting up android usb debugging in Ubuntu 14.10

I have a android phone from LG, and I want to use it for USB debugging. I followed the following steps: Enabled usb debugging in developers option on phone. After connecting to PC, phone shows as ...
0
votes
0answers
352 views

Android Phone is not recognized on Ubuntu via USB

using ubuntu 12.04 and LG optimus G E975, usb debugging was working fine 2 days ago and now it just stopped working, when I plug the device into my laptop (all 3 usb ports), it just shows the charging ...
0
votes
0answers
68 views

pidgin not opening : inconsistency detected in gnome ubuntu 14.04

After a fresh install of ubuntu 14.04 LTS, and installation of pidgin internet messenger, I get the following error message, while running pidgin on terminal: What is the problem here? How can I ...
0
votes
0answers
61 views

lldb-3.3 failed to launch on Ubuntu 12.04

I am trying to use lldb on ubuntu 12.04 because I am more familiar with it than gdb. However, it fails with uninformative messages every time. I installed it though the official repository sudo ...
1
vote
1answer
9k 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 lock ...
0
votes
1answer
62 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
186 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 ...
1
vote
1answer
407 views

Is there a gedit plugin that will detect errors in php code?

I dont know if this is even possible inside of gedit, i know there are third party editors that will do this but i like gedit and would like to know if anyone knows of such a plugin because i cant ...
1
vote
0answers
24 views

How to build eglibc in debug mode [duplicate]

I am trying to create a debug version of the eglibc to allow step by step debugging in a program that crashes in the eglibc. I want the created ".so" file to be as close as possible to the eglibc ...
4
votes
1answer
5k views

How can I find out what ibus-daemon and ibus-ui-gtk3 are doing?

Occasionally my desktop slows down a lot. The mouse pointer moves slowly or not at all, my fan starts whirring, and the end is generally nigh. If I'm very patient normality usually restores itself, ...
0
votes
1answer
256 views

debug symbols for Ubuntu 12.04

I try to watch how programs work by running them by the 'Qt Creator' debugger. For better orientation I'd like to see also the system (core) utilities fully in the call stack window as I am used from ...
2
votes
0answers
254 views

Why does Ubuntu's webkit inspector look (and work) just like Safari?

In older Ubuntu, the python-webkit inspector looked like Chrome, as you can see in these screenshots: http://stackoverflow.com/questions/13132459 (It had some annoying bugs, too.) I see Midori's ...
2
votes
0answers
2k views

Ubuntu 14.04 nautilus/nemo file manager hanging on every action

I cannot use nautilus or nemo because of high loading time on each action, many times the applications simply hang and I've busted my time on trying to fix it with no success whatsoever. Here's how ...
1
vote
0answers
107 views

Ubuntu server periodically unreachable

I have an Ubuntu Server 14.04 server running. The server has two NICs and acts as a NAT router, with the help of shorewall. Shorewall also acts as a plain firewall for blocking ports that I don't want ...
2
votes
2answers
3k views

how to use the geany debugger?

I am new to debugging and I need to how to use the debugger in geany IDE. Is there any documentation or a video available in the internet related to the geany debugger? I have surfed everywhere but I ...
4
votes
1answer
827 views

Debug faulty hardware

My sister has got a laptop that has always crashed on her during Windows times (Blue screen) (hardware is relatively new and up to date). Back then she sent the dump files from Windows to Dell, who ...
0
votes
1answer
190 views

Ubuntu 14.04 image preview never loads

After updating to 14.04 my image preview never shows up Is this common to update? Maybe it is related to my image viewer? Can I replace the default one or if its nautilus fault, what replacement ...
25
votes
4answers
33k views

Nginx failing to reload - how to track down why?

Hi I've had my Nginx server running great on Ubuntu server 12.04 for a while. I've been gradually bolting on various bits, and got as far as optimising load times on my wordpress page. After making ...
1
vote
0answers
2k views

Help debugging string descriptor 0 read error on boot [closed]

I've installed Ubuntu 14.04 on my Acer aspire v5 laptop. I would like some help debugging a boot error. What information should I provide when asking questions? How do I isolate and diagnose a ...
3
votes
3answers
1k views

How to change Firefox debugger font size

It's too small to read. Bug report is https://bugzilla.mozilla.org/show_bug.cgi?id=143119 Notice: it's not about Firebug.
1
vote
0answers
73 views

What is the purpose of libstdc++-dbg?

The Synaptics package manager says that: This package contains the shared library of libstdc++ compiled with debugging symbols. But I can successfully print the contents of std members in the ...
0
votes
2answers
171 views

Confusing input error

During general use my laptop (Lenovo Thinkpad Edge 15 running Ubuntu 12.10) will suddenly mute its volume and stall for a few seconds, seemingly for no reason. At the same time if I'm in a terminal ...
0
votes
1answer
67 views

What is the role of a Bug reporter?

What is the role of a Bug reporter in reporting bugs and after reporting bugs? When and how can he get out of the bug-related problem? Most people get the benefits of the bug report after the bug is ...
2
votes
1answer
577 views

Can't use RStudio any more after trying to set up an ODBC connection to a postgreSQL database

I tried to Setup an odbc connection from R to my PostgreSQL database located on a server (package RODBC). When trying to connect the connection failed because I entered a wrong Username in the DSN ...
-1
votes
1answer
122 views

Multiply 2 array index variables shell programming [closed]

How do i multiply 2 array index variables given the following foo=(1 2) bar=(0.1 0.2) foobar=$((foo[1]*price[1])) # this is wrong echo "$foobar" Current output : 0 Correct/Expected output : 0.4
0
votes
1answer
538 views

weird shell script error: invalid option return: usage: return [n]

This programme checks if a certain book title exist by matching user input of book title and book author. function removebook_option() { echo -n "Title : " read title_input2 echo -n ...