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

learn more… | top users | synonyms

147
votes
8answers
38k views

I have a hardware detection problem, what logs do I need to look into?

I am trying to ask a question about getting my hardware to work but I don't know what information to add to my question to get help, what do I need to do? Related if you don't have access to a GUI: ...
105
votes
9answers
41k views

There's an issue with an Alpha/Beta Release of Ubuntu, what should I do?

I've been running Alpha releases of Ubuntu for some time now. I keep running into issues - how can I get these resolved? What should I do when I encounter these problems? And where can I find other ...
11
votes
1answer
6k 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 ...
9
votes
1answer
450 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
1answer
355 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 ...
52
votes
2answers
60k views

How do I debug Upstart scripts?

For some reason I'm getting an error during apport upgrades, the cause of which is % sudo service apport start start: Job failed to start Under sysvinit, I could debug this kind of problem by ...
8
votes
1answer
934 views

How to determine what happened and locate the problem when my system freezes?

Hello I had some freezes with my desktop. It is Lucid 10.04 on a Lenovo 3000 N200. System freezes completely. How can I locate the problem?
9
votes
1answer
329 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 ...
13
votes
4answers
9k 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 ...
8
votes
2answers
1k views

How do I rebuild a package to include debugging information?

I want to rebuild a package to include debugging symbols, how would I do that? There is no -dbg package available and also no -dbgsym package from the ddebs repository.
8
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 ...
2
votes
2answers
580 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
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 ...
41
votes
2answers
32k views

after upgrade gdb won't attach to process

I just recently upgraded from 10.04 to 11.04 and gdb won't allow me to attach to processes anymore I get the error Attaching to process 10144 Could not attach to process. If your uid matches ...
22
votes
4answers
5k views

Can one pick up a running application from terminal?

Sometime I need to run an application from terminal for debugging. If I am sure the bug will occur short after launching the application, I can run this application from the Terminal. However, bugs ...
5
votes
2answers
1k 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 ...
7
votes
2answers
9k 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, ...
6
votes
2answers
7k 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 ...
3
votes
3answers
72 views

Making sense of Time in dmesg

I know the time in dmesg is the time since boot. But my specific question is this time is calculated at the start or end of the process mentioned in the line? Why this is important? take this ...
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.
3
votes
3answers
3k views

What PHP & Xdebug based Editors do people use other than Eclipse, Netbeans (anything java based) or VIM

What editor do people here use in linux? I want Xdebug support but I don't want something java based (eclipse, netbeans, etc) nor do I really want to use VIM. Any native GTK based editor/sdk that ...
2
votes
1answer
851 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
vote
1answer
2k 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 ...
5
votes
1answer
224 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 ...
3
votes
1answer
5k 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 ...
3
votes
1answer
587 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
1answer
177 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, ...
2
votes
2answers
129 views

Print numbered arguments in Command Line Tool

Is there a packaged program that shows command line arguments? I often find it helpful to have users run this type of program to either help them understand what their shell commands do, or to get ...
1
vote
2answers
81 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. ...
1
vote
1answer
779 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. ...
1
vote
2answers
116 views

What is debugging and how do I get involved?

Well what is it? And how do I get involved?
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 ...