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
534 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
147 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
184 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
1k 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
106 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
257 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
391 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
926 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
426 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
84 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. ...
5
votes
1answer
4k 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
401 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 ...
1
vote
0answers
153 views

Why is the libindicator reporting all scroll event signals as UP?

I am trying to investigate this bug; the gist is, if you have a Unity application indicator, and you scroll over it, the scroll event is always 'up', even if you scroll down. Here is a sample ...
0
votes
1answer
379 views

how to get the address with /proc/kallsyms

cat /proc/kallsyms | grep "\ doexecve$" i run this command in ubuntu 13.04 in virtual box in order to get address. However, no result. How to get the address for kprobe debug
0
votes
2answers
5k views

How do I troubleshoot boot problems when stuck at the Ubuntu splash screen?

I was tweaking some settings on my Ubuntu 12.04 install. Specifically I was altering the default color scheme of the terminal, following these instructions Now whenever I boot Ubuntu, I get stuck in ...
1
vote
1answer
135 views

How to debug executable (using gdb) that reads another file?

I have a small application let's call it program. In general to use this application I need to stream a file into it: ./program < file_with_data.txt How do I debug such program using dbg? I ...
-1
votes
1answer
559 views

KDbg on Ubuntu 10.04 LTS [closed]

I wanted a good debugger gui for gdb and found that KDbg is the best one. When I tried searching for it in Synaptic Package Manager I could not found it, then after a bit of googling found out that it ...
0
votes
1answer
123 views

Glade GUI in Python 2.7 crashes

I created a simple program using a glade .xml file and it, whenever I run the program, it crashes! Here's the Python code: #!/usr/bin/env python import pygtk pygtk.require("2.0") import gtk class ...
-1
votes
1answer
400 views

Is there a virus active in my Ubuntu? [closed]

I m Using Ubuntu 13.04. Whenever I insert any external memory card or pan drive, a new folder Trash is generated there, which uses huge space of it.. The most important thing is that it is not ...
0
votes
3answers
3k views

Choosing C++ debugger on linux

I recently changed from Windows where I was using Qt Creator to Ubuntu. The problem is that Qt Creator in Ubuntu can't properly debug due to some problem attaching ptrace to the program which was ...
1
vote
1answer
60 views

Graphical Bug: how to debug?

I have been experiencing a strange graphical bug which I'd like to report on Launchpad. The bug occurs randomly when pressing mouse buttons in some applications, like for example when I resize ...
6
votes
2answers
6k views

Asking all remaining processes to terminate… fail

Ubuntu 12.10 64 bits with Unity. When I restart or shutdown the PC, it takes too long to do it. It shows the line Asking all remaining processes to terminate... [fail] and after Killing all remaining ...
9
votes
1answer
4k views

How can I debug my wireless problem?

How can I get started with debugging my wireless problem? How can I tell whether or not Linux has recognized my wireless hardware at all? What are the main programs/daemons associated with wireless ...
0
votes
1answer
154 views

Problem with jdb debugger

I am trying to use Ubuntu 12.04 lts on a system76 box. when I try to run the java debugger, jdb, i get a timeout after i attempt to run the application. i have tried several things and I think the ...
3
votes
1answer
1k views

How can I know the usb port?

I'm working on a project with an ATmega1280 (Atmel) board. I want to take a look at the stack, so I'm trying to do an OCD (On Chip Debugging). In the tutorial is written: Use this AVRDUDE command ...
1
vote
1answer
407 views

How do I install the necessary debug packages to report tracebacks in Kubuntu?

I've had many a Kubuntu install, but across all of them, I've had this problem. When KDE crashes, I get the "Crash Reporting Assistant" dialog that wants me to install debug symbols to get a full ...
3
votes
0answers
168 views

xubuntu 12.10 how do shortcuts (technically) trigger actions. Trying to debug shortcut randomly stop working

Keyboard shortcuts randomly stops working, it appears to primarily affect shortcuts involving the Alt-key. I have seen this issue in 12.04 as well. I'm now trying to research the issue in more ...
10
votes
3answers
7k views

Receiving error while trying to debug in QtProject

I installed the latest version of the QtProject so now I can debug C++ code. While trying to debug for the first time I got this error: ptrace: Operation not permitted. Could not attach to the ...
1
vote
1answer
947 views

What does “Gtk-ERROR **: GTK+ 2.x symbols detected.” mean?

When starting gparted, it crashes with the error: Gtk-ERROR **: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported I already opened LP bug #1094354 for this. ...
1
vote
1answer
660 views

FlashBuilder 4 Linux — Debugger disconnects after a while

I am running ubuntu 12.04 64Bit, I have installed eclipse via the software center, FlashBuilder for Linux and the flash debugger plugin as decribed here. everything is working fine accept that the ...
2
votes
1answer
379 views

How to investigate display lockup after Alt-Tab switching? [closed]

Running Kubuntu 12.10 on a Dell Latitude E6500 running the free NVIDIA driver for my display. If I hit alt-tab to switch between windows too fast the display locks up and the only way I can unlock it ...
1
vote
2answers
77 views

Bug 12.10. No reply to the bug report or alternative to submit the report or bug not answered

First, I am new to Ubuntu, and then I was getting a recurring error: window titled "crash report" (it's contents are as below). There is Stop sign being shown at the top next to the battery indicator. ...
6
votes
1answer
436 views

What are -dbg packages for?

1- What are -dbg packages really for? 2- Is it a good/bad idea to install them for, at least, my preferred applications/packages? 3- Does installing them for my preferred applications/packages helps ...
0
votes
2answers
1k views

Find which program caused a core dump file

I've been going through intense program/package installation recently, so I can't tell for sure which of the newly installed programs (or old programs) caused the appearance of a core file in my home ...
5
votes
1answer
13k views

How to install flash player 11 debug on Ubuntu 12.04?

I had hard time to figure this out, but I did it finally and I'm going to post an answer to my own question for others.
2
votes
0answers
322 views

How do I speed up initial login?

The initial login on my Ubuntu 12.04 machine can take anywhere from 45 seconds to two minutes. If I log out, then log back in again, the login time takes between 4 and 7 seconds. How can I find out ...
1
vote
1answer
308 views

How to bisect upstream 12.10 kernel on 12.04?

I'd like to locate a kernel regression on ubuntu mainline kernel (from kernel-ppa/mainline - Kernel Ubuntu) between Quantal 3.6.1 and Quantal 3.6.2. I build on Mint 13 Maya (which is based on Ubuntu ...
1
vote
1answer
392 views

Shut down dialog appears at random / random shutdowns

For the past week or so, the standard "Shut down" dialog appears at random, with no apparent cause. I upgraded from 12.04 to 12.10 and it still continues. It's unbelievably irritating. It can ...
4
votes
0answers
107 views

Would installing debugging symbols help for reporting bugs?

I'm running a beta version of Ubuntu (12.10) and I've been reporting crashes through apport's automated system. I've glanced at the stacktraces for a couple of the issues and noticed a lot of what ...
1
vote
1answer
684 views

Is there tool to see call-stack of running thread similar to Process Explorer by Sysinternals?

Is there tool to see call-stack of running thread similar to Process Explorer by Sysinternals ? So far I tried htop, qps and Linux Process Explorer. None of them can provide that information. ...
8
votes
1answer
477 views

Is there a simple, safe way to trigger a GPU lockup on a susceptible computer?

Answers to my previous question, Ubuntu 12.04 froze, requiring powercycle. What should I look / grep for in the logs?, have led me to suspect that my computer is experiencing an intermittent GPU ...
0
votes
5answers
2k views

What can I do when Ubuntu freezes for some unknown mysterious reasons?

I'm using Ubuntu 12.04 but of some unknown reason sometime Ubuntu get stuck, no motion what so ever. If i try to move a mouse it doesn't respond and same thing with the keyboard. I hope at least some ...
7
votes
3answers
2k views

Ubuntu 12.04 froze, requiring powercycle. What should I look / grep for in the logs?

This is not the first time that Ubuntu has froze. Last time, I checked 'recently updated files' in /var/log/ and /var/crash/ and the cause of the problem appeared to be 'LibreOffice'. Now, it has ...
1
vote
2answers
786 views

How to enable SIGQUIT core dumps with apport?

I noticed that on a 12.04 system setting ulimit -c unlimited and sending Ctrl+\ does not have the expected result. Though the shell prints ^\zsh: quit (core dumped) no core dump is written as far ...
0
votes
1answer
1k views

Update fails after checking all settings for system updates [duplicate]

Possible Duplicate: Failed to download repository information due to missing CDROM W:Failed to fetch cdrom://Ubuntu 12.04 LTS Precise Pangolin - Release i386 ...
1
vote
1answer
1k views

How to install dbx?

I use dbx on an AIX server and I would like to use it on my ubuntu 12.04 too. How do I get it?
0
votes
1answer
2k views

Ubuntu 12.04 menu bar, nautilus, terminal, and gtk themes not working after installation of Gimp 2.8

I installed gimp2.8 from this ppa: ppa:otto-kesselgulasch/gimp after that, my system began having problems. This is my thought process in trying to fix what's happened and the order in which it ...
2
votes
4answers
1k views

Is this fix for Avast Antivirus crashing safe to use?

Well I have installed avast anti virus on Ubuntu 12.04. But after updating, it crashes! So I have made some tweaks like below: Press Ctrl+Alt+T to open the Terminal. When it opens, run the command ...
11
votes
2answers
11k views

Why won't strace/gdb attach to a process even though I'm root?

I logged in as root but strace gives me this: root@kyznecov-System:/home/kyznecov# ps -e | grep 111 3807 pts/2 00:00:00 111 3810 pts/2 00:00:00 111 root@kyznecov-System:/home/kyznecov# ...
2
votes
1answer
164 views

unity components debugging

Following up on my question here, I would like to ask about best-practices for debugging additions to the unity components. Integrating apps into unity requires many components: service files, ...