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
29 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
14 views

How to trubleshoot an intermittently freezing system?

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
221 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 ...
-1
votes
0answers
15 views

Vdebug no connection made

I am trying to install Vdebug to debug PHP in Vim. Unfortunately, when I press F5 this message appears after a few seconds Waiting for a connection (Ctrl-C to cancel, this message will ...
1
vote
0answers
63 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
0answers
43 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
14 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 ...
4
votes
0answers
69 views

Debugging a crash when keyboard is not responsive

Ububtu 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
32 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
93 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
127 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 ...
1
vote
1answer
832 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
53 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
230 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
197 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
59 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
36 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 ...
0
votes
1answer
7k 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
48 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
142 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 ...
0
votes
0answers
27 views

Is this a bug or normal (mis) behavior?

When I sudo-rebooted from the top-right menu, after Unity closed I was taken to an open tty, where I saw my login password in plaintext where I had typed it in earlier. In Ubuntu-bug, a specific ...
0
votes
0answers
25 views

Kernel debugging

I am trying to set a kernel debugging between 2 Ubuntu machines, using a com port. It just does not work. I have tried to compile 3.15.6 kernel from kernel.org. Can somebody please help me? I am ...
1
vote
1answer
208 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 ...
0
votes
0answers
36 views

System regularly hangs when opening or closing windows

After a day or two of usage this problem starts happening where whenever I open a new window (or even a dialog in an app that has them) it will fade in about 50% and then freeze for about 10 seconds. ...
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
3k 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
191 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
227 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 ...
0
votes
0answers
68 views

Getting interleaved source code and assembly code for shared object files in Ubuntu

I would like to get interleaved source code and assembly code for a number of .so shared objects using "objdump -S" command. However, it seems that the installed libraries on my machine do not include ...
2
votes
0answers
1k 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 ...
0
votes
0answers
33 views

Internet connection occasionally becomes mis-configured

~2-3 times a month I'll be using the internet and the connection speed will drop to 0Kbps. At this point I usually try disconnecting and reconnecting from the network which solves the problem ...
1
vote
0answers
92 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
2k 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
629 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
163 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 ...
17
votes
4answers
23k 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
55 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
158 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
445 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
116 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
444 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 ...
0
votes
1answer
133 views

Where are the missing build files for performing a kernel bisection?

I am attempting my first-ever kernel bisection to try and help debug a regression that occurred somewhere between 13.04 and 13.10. I am trying to follow the instructions listed at ...
1
vote
0answers
154 views

Itellij debug problem with maven

When I try to make a debug with intellij in a maven project in Ubuntu 13.04 i get this error, I try with another ports, remote debug, and check the host file, have the same result. Tested in a clean ...
1
vote
1answer
942 views

Debugging PHP in Ubuntu (Xdebug)

PHP Vim Debugger: Configuring Apache I am trying to install Vdebug to debug PHP in Vim. Unfortunately, when I press F5 this message appears after a few seconds Waiting for a connection (Ctrl-C to ...
1
vote
1answer
93 views

How to get the output (stdout/stderr) of a click application?

I have a click application installed on Ubuntu Touch, and I need to be able to read its standard output in order to debug it. Is the output captured somewhere, or is it possible to see it on the ...
1
vote
1answer
133 views

How to upgrade or downgrade the Kernel in Ubuntu (to any stable or testing release)

When I report a bug I may be asked to "try out the latest upstream Kernel", how do I do that? I see a lot of version specific answers to this question here on ask ubuntu, what are the general ...
0
votes
1answer
331 views

Get Rhythmbox debugging info

I'm having a weird problem with Rhythmbox that no one else seems to have. When I pause on any audio CD, I can't get Rhythmbox to play it again. I've tried various workarounds including trying to play ...