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

learn more… | top users | synonyms

150
votes
8answers
39k 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: ...
106
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
608 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
360 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 ...
53
votes
2answers
64k 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 ...
42
votes
2answers
33k 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 ...
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
1answer
941 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?
2
votes
2answers
623 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 ...
19
votes
5answers
9k views

How to debug bash script?

Is there any way to debug bash script without using echo and logging? I'm talking about using breakpoints and stuff like that.
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
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 ...
9
votes
1answer
518 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 occur....
8
votes
2answers
10k 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 ...
5
votes
2answers
2k 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 ...
3
votes
3answers
105 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 example:...
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
1answer
877 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 ...
3
votes
1answer
6k 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
618 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 ...
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
1answer
797 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. Thanks!...
1
vote
1answer
176 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, lip=...