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
1answer
16 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
23 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
66 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
17 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
52 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
72 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
33 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
11 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
3k 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
38 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
93 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
21 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 ...
2
votes
1answer
67 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
26 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 ...
2
votes
1answer
1k 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
104 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
171 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
51 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
28 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
71 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
1k 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
324 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
125 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 ...
8
votes
3answers
13k 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 ...
0
votes
0answers
487 views

“Code 126: Permission Denied” when using GDB Debugger

I have written a piece of C++ code and am trying to debug that using GDB Debugger. The code uses bunch of libraries, so I am using a make-file to compile and link all the required libraries, which I ...
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
2answers
820 views

How to change Firefox debugger font size

It's too little to read. Bug report is https://bugzilla.mozilla.org/show_bug.cgi?id=143119 Notice: it's not about Firebug.
1
vote
0answers
39 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
0answers
34 views

jdb not starting up

I am having a wierd problem. I manually installed the newest JDK from Oracle just about an hour ago. Now when I try running jdb through the command jdb DocumentListing1.java the output reads: The ...
0
votes
2answers
127 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
380 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
100 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
370 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
0answers
8 views

What should I do after reset?

In addition to the popular question What should I do when Ubuntu freezes? . Lately my laptop had to be rebooted a couple of times. And I don't know why. What is the standard procedure to debug a ...
0
votes
0answers
70 views

K3b problem burning cd

I can't make audio cds with K3b although in the past I could... Anyone who has a clue about it is welcome... This is my debugging output: Devices HL-DT-ST DVD+-RW GT10N A109 (/dev/sr0, CD-R, CD-RW, ...
0
votes
1answer
113 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
107 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
652 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
80 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
124 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
254 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 ...
0
votes
3answers
703 views

Debugging PHP apps with Kdevelop

I am using kdevelop 4.5.1 and I would like to debug php apps. I made a search and I found this article: http://nikosams.blogspot.com.es/2010/02 ... ugger.html which is from 2010 but I don't know how ...
2
votes
2answers
331 views

Juju debug-hooks, how to run hook in debug terminal or get more information?

I'm having trouble deploying the Havana Openstack charms on precise for cinder, nova-cloud-controller, and quantum-gateway. I'm using MaaS running Virsh managed KVM machines. I'm getting errors with ...
0
votes
1answer
75 views

system crash reason

One of our server recently get frequently crash....I am pasting some of the syslog here, anyone familar with system would give me a hint what caused this? Much appreciated. I am using Ubuntu 12.10. ...
4
votes
1answer
2k views

GDB crashes with: ImportError: No module named libstdcxx.v6.printers

I have a problem with GDB. Whenever I try to debug any C++ program, just after running it, GDB gives this error: (gdb) run Starting program: /home/errikos/Workspaces/tests/a.out Traceback (most ...
5
votes
1answer
277 views

Why debug packages don't include sources?

I was expecting that after installing the package libgtk-3-0-dbg I would get DDD to show the source code when stepping into gtk+, however I had to download the source package myself (from here) and ...