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

learn more… | top users | synonyms

27
votes
2answers
19k 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 ...
23
votes
1answer
22k views

How do I make cron email my @gmail account

I have a couple of cron jobs that somethime produce error output and would like to get a notification in my "real" email account, since I don't use my user's mailbox in my Ubuntu laptop, but cron (or ...
13
votes
3answers
8k views

How can I diagnose/debug “maximum number of clients reached” X errors?

I'm hitting a problem whereby X prevents processes from creating windows, uttering something like the following into ~/.xsession-errors: cannot open display: :0.0 Maximum number of clients reached ...
9
votes
3answers
8k views

Debugging: Console Output and Upstart Scripts

How do you send the output of an upstart script to a terminal so to find tracebacks in python code? It's taking me for ever to do things without trace-backs that used to take just a second. I'm ...
9
votes
2answers
2k views

How to use Moonlight to play videos on rtlmost.hu?

In Hungary, the biggest TV channel is RTL Klub, they has a video archive site. They use Silverlight instead of Flash :( What is annoying, they use the lastest version of Silverlight, about 4.x. But ...
6
votes
1answer
3k 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 ...
6
votes
1answer
325 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 ...
6
votes
3answers
296 views

Accessing a specific URL with firefox 3.6 on Ubuntu 10.4 crashed the OS, how should I debug this?

The system is a spare Dell 2400 I wiped clean, with Ubuntu 10.4 installed. Update manager has everything current, and I haven't been mucking with drivers or tricky system settings. In fact, it has ...
6
votes
2answers
2k views

How do I get the bash debugger to work with ddd?

ddd script.bsh does not open the script. It shows an our glass and if I want to close ddd, it says "bash is busy"... I found an old message, but it didn't help. ...
5
votes
3answers
933 views

How can I find out what is causing my gnome-panel to freeze? [closed]

About once a day my gnome-panel freezes. How can I produce some sort of debug information to: Figure out what is causing the freeze or File a bug or see if its an existing bug When gdb is ...
5
votes
1answer
1k views

What's the ultimate way to install debug Flash Player in Firefox?

What's the easiest way to get a debug Flash Player (the one you can download from here, though I don't care if it's downloaded automatically) working in Firefox? 64 bit system, default Firefox from ...
4
votes
1answer
5k views

Debugging php with gdb

I am attempting to debug a SIGSEGV on PHP on my Ubuntu 9.10. I've installed php5-dbg to have the debug symbols available, however, when I start gdb, it shows the following output: Reading symbols ...
4
votes
1answer
638 views

How can I debug why gnome-settings-daemon-localeexec is not started on login?

I am using Ubuntu Gnome 14.04 and gnome-settings-daemon-localeexec is not started on login. How can I debug why this is happening? I've found this question: gnome-settings-daemon not starting when I ...
4
votes
1answer
347 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 ...
4
votes
1answer
145 views

ddebs missing for hardy?

I'm trying to debug some crashes on a 8.04 LTS server, but the ddebs repository at http://ddebs.ubuntu.com/dists/ no longer has a directory for hardy... Any ideas where the debug symbols for hardy ...
4
votes
2answers
389 views

Where are debug symbols for backported packages?

Where can I download Linux kernel 2.6.35-25 debug symbols for kernel that comes from lucid-backports repository (I have enabled lucid-backports repository on Ubuntu 10.04 in /etc/apt/sources.list)? ...
3
votes
3answers
5k views

Bash Script: catching errors in a block of statements

I have a large iptables ruleset that I manage with my own bash script. Most of the commands in the script are simple, single-statment iptables commands. I am trying to improve the script by adding ...
3
votes
2answers
247 views

Is my gedit-latex-plugin working properly?

I have installed gedit-latex-plugin(0.2 rc3) to be used with gedit(2.30.3) in ubuntu 10.04. If I use the command gedit file.tex& in terminal the file is opened and it seems everything works fine ...
3
votes
2answers
3k views

How do I debug when the system freezes or when it crashes back to login?

I am fairly new to Ubuntu and I was wonder what a good way is to debug when something crashes? For example: I installed 11.04 and the default media player banshee makes my laptop crash after a few ...
3
votes
3answers
435 views

Debugging/monitoring emacs

I'm using GNU Emacs 23.1.50.1 (x86_64-pc-linux-gnu, GTK+ Version 2.18.0) and start my Emacs session inside GNU screen. Since I upgraded to Ubuntu 10.04 and the version of emacs-snapshot there I ...
3
votes
1answer
172 views

How to enable PM_DEBUG?

I have read that one should set PM_DEBUG=true in /usr/lib/pm-utils/pm-functions to get more debugging details in /var/log/pm-powersave.log At least in Ubuntu 13.04, /usr/lib/pm-utils/pm-functions ...
2
votes
3answers
1k views

Debugging the execution order of Upstart jobs

I'd like to be able to debug the execution order of the jobs started by Upstart (ideally without injecting dumping code into every job file). How can I do this?
2
votes
3answers
2k 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
2answers
675 views

Init.d script gets return code 1 when calling itself, how can I get output?

My question is, how can I modify the script so that it will tell me what goes wrong? The scenario is this: I'm trying to get Sonatype Nexus to start as a service in Ubuntu 10.04, and it just will ...
2
votes
1answer
265 views

What's the time unit in /proc/lock_stat output

What is the time unit in the lock stat output from /proc/lock_stat? microsecond or nanosecond? class name con-bounces contentions waittime-min waittime-max waittime-total acq-bounces ...
2
votes
1answer
571 views

Debugging OpenOffice crashes [closed]

This is partly an OpenOffice question and partly a Ubuntu question. I'm running OpenOffice 3.2.0 and Ubuntu 10.04. I get frequent crashes of OO, especially the Calc app, although I get crashes in the ...
2
votes
2answers
337 views

How I debug an application that loads at startup / on login?

I am having with the NetworkManger Applet 0.8.1 on Ubuntu 10.10 AMD64. It (or NetworkManager or my wireless driver) seem to crash occasionally, which means I lose all network connectivity. How can I ...
2
votes
0answers
633 views

Banshee won't start unless run as sudo or -debug [closed]

I have no idea what is going on, I just made a fresh install of Ubuntu and then after a reboot Banshee won't start. I began to poke around the forums and then tried running it as sudo and with -debug, ...
1
vote
1answer
677 views

Debugging python memory leaks [closed]

I'm trying to debug a memory leak in telepathy-butterfly. I tried to use valgrind, but Empathy does not connect to MSN when telepathy-butterfly is run this way. So, I figured out the only option left ...
1
vote
2answers
603 views

How to debug Unity? (It works from live CD, but it doesn't work after update…)

I've tested Ubuntu 12.04 from live usb before executing the automagic update (from 11.10 to 12.04) and everything was fine. Then, after updating, I couldn't even get Unity 2D to work. I've installed ...
1
vote
2answers
2k views

how to remove an item from my context menu?

I installed a program called Aptana Studio 3. It's added a menu item to my context menu(if I right click I see an option "Aptana Studio"). How can I manually remove this from my menu? I have ...
1
vote
1answer
675 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
2answers
91 views

How do I upgrade all symbol packages?

When submitting Apport reports to Launchpad, I regularly get the error "outdated debug symbol package" from the retracing service. How can I upgrade all debug symbol packages to the latest version? ...
1
vote
2answers
811 views

How to debug Nautilus extension?

I recently installed mpd-gnome which among other things adds a nautilus extension nautilus-mpd.py. This extension does not seem to be working so I decided to run nautilus from the command line to see ...
1
vote
1answer
43 views

Can I debug PHP scripts running in Apache on Ubuntu?

Coming from the Microsoft world, where Visual Studio, Windows, and IIS seemingly play nice together, I can attach the Visual Studio debugger to the IIS process and debug code in play. When a web ...
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 ...
1
vote
0answers
46 views

Recent Update Issue [duplicate]

I updated my Ubuntu 12.04 server yesterday with the latest updates and now when Ubuntu starts it is in a really strange state. A purple screen comes up but there are no Unity icons and I can't really ...
1
vote
3answers
8k views

mount.nfs: access denied by server while mounting

I have a problem I have been googling for at least 6 hours 28 hours with no luck. Whenever I try to mount a directory I get the following error (verbose version at end): mount.nfs: access denied ...
1
vote
0answers
256 views

Cannot access local variables using systemtap

I am just getting started using systemtap. On my 64bit Ubuntu 13.04 system, I installed systemtap and dependencies + systemtap-doc and elfutils then added the ddep repository to my apt/sources.list ...
1
vote
0answers
1k views

Tor browser: Vidalia exited abnormally. Exit code: 139 (32 bit)

I downloaded Tor Browser Bundle (tor-browser-gnu-linux-i686-2.3.25-4-dev-en-US) for 32-Bit Linux. Whenever I start to run it on my Ubuntu 12.04 OS it shows me; Vidalia exited abnormally. Exit code: ...
1
vote
0answers
564 views

advice for debugging apport-gpu-error-intel.py crashes? [closed]

Ever since upgrading from 12.04 to 12.10, after logging in I invariably get a "Ubuntu has detected an error" related to apport-gpu-error-intel.py. Googling around shows that Launchpad has some ...
0
votes
2answers
3k views

With `quiet` kernel option in my grub entry, can I make the boot messages visible?

I like my machine to boot quietly, if only for aestethic reasons. Sometimes, however, things go wrong, and then I would like to see the boot messages. Can I switch them on during boot, i. e. without ...
0
votes
2answers
853 views

Where is the log of pppd in ubuntu 13.10?

I am trying to find the debug infromation of pppd on Ubuntu 13.10. I have tried to read the mannual, but I found that the location of the log is for older version Ubuntu. what I have input sudo pon ...
0
votes
1answer
3k views

Debug Qt application on ubuntu with root permission using qt creator

It is possible to run my application with root priviliges using sudo, like this: sudo ./MyApp Is it possible to debug my Qt application using root priviliges using QtCreator? How can I do this on ...
0
votes
1answer
4k views

What does this mean? `LIBGL_DEBUG=verbose glxinfo`?

I type this LIBGL_DEBUG=verbose glxinfo because its supposed to help debug video problems and I get this http://pastebin.ubuntu.com/944871/ What does it all mean? Where can I learn more? What do ...
0
votes
1answer
233 views

ftrace on ubuntu 12.04

I wish to work with ftrace on ubuntu and able to use trace-cmd (http://manpages.ubuntu.com/manpages/precise/en/man1/trace-cmd-start.1.html). But as per this http://lwn.net/Articles/365835/, I want to ...
0
votes
3answers
713 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 ...
0
votes
2answers
377 views

Compiling objective c code, how to? [closed]

I am trying to compile a program using its source code and I am unable too and the problem seems to happen in the same folder in every ocurrance, and when I check the files, they are all objective c ...
0
votes
0answers
19 views

monodevelop debugging not working

using ubuntu 14.04, monodevelop 4.0.12 (which is the latest for 14.04). add-in manager shows support for gdb debugging and mono soft debugger support. When I run a F# project I get the message "could ...
0
votes
0answers
17 views

Is the /lib/debug folder essential?

My /lib directory is 4.6GB, but it contains a directory called (/lib)/debug which is 2.3 GB. What would happen if I emptied out this folder to reclaim the space? Yes I have installed some debug ...