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
89 views

How to debug initramfs scripts?

For my Ubuntu 14.04 setup, I have 4 LUKS partitions that work as backing block devices form my BTRFS root partition. Using the default settings I could not get the 4 encrypted partitions unlocked at ...
0
votes
1answer
31 views

Grub2 mutual dependency issue

For various reasons I am installing .deb dependencies for grub2 using dpkg directly (rather than apt-get). root@ubuntu:/dl# dpkg -i grub-gfxpayload-lists_0.6_amd64.deb Selecting previously ...
4
votes
1answer
171 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 ...
0
votes
1answer
57 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 ...
4
votes
1answer
116 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
2answers
172 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 ...
1
vote
0answers
598 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
42 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 ...
0
votes
1answer
92 views

How to save “initctl” log-priority options?

I would like to save init log-prority debug options. What is the whole process from startup event? However, the init log-priority option to reboot and reset to the message. What should I do? If ...
1
vote
1answer
244 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 ...
0
votes
1answer
2k 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 ...
0
votes
3answers
458 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
0answers
129 views

Valgrind Fatal error at startup Ubuntu 13.04 64bit

I have an Ubuntu 13.04 x86_64 kernel 3.8.0-31-generic If I try to use valgrind on any binary it returns: ==10571== Memcheck, a memory error detector ==10571== Copyright (C) 2002-2012, and GNU ...
1
vote
0answers
178 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 ...
0
votes
0answers
62 views

What are the tools and workflows to inspect and tweak GUI applications?

I came to Ubuntu for it's openness and now I feel for little practical experimenting in the realms of the current GUI. Concretely I'd like to make some little changes to the Dash behaviour (single ...
3
votes
1answer
124 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 ...
1
vote
0answers
919 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: ...
5
votes
1answer
2k 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
2k 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 ...
1
vote
0answers
138 views

How to use dmatest.ko?

I want to initiate a DMA-Transfer for testing. I stumbled accross a dmatest.c in the kernel sources (drivers/dma). I compiled a Kernel with this Module and tried it without any params. sudo modprobe ...
1
vote
0answers
562 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
1answer
402 views

How do I fix a noisy input device (Internal Mic)? snd_hda_intel - debug included

As the title says, I'm having trouble with a very noisy audio input device - the internal mic or any plugged in mics. So far I've narrowed it down to an problem in ALSA since my debug info is showing ...
6
votes
1answer
244 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 ...
1
vote
0answers
613 views

where can i get vmlinux file for running kernel

I'm developing several kernel module. Also i need some profiling to be done. As all my work is kernel modules, rebuilding kernel seems a overkill. I've seen KGDB/KDB and Oprofile is enabled in default ...
0
votes
1answer
340 views

Compiling objective c code, how to?

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 ...
6
votes
2answers
1k 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. ...
0
votes
1answer
518 views

Segment fault error when try to scan host by ettercap

I wanna scan host via ettercap in ubuntu 11.04 but it return following error Ooops ! This shouldn't happen... Segmentation Fault... Please recompile in debug mode, reproduce the bug and send a ...
1
vote
2answers
570 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 ...
0
votes
1answer
3k 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 ...
3
votes
2answers
238 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 ...
2
votes
2answers
612 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
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?
9
votes
3answers
7k 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 ...
2
votes
0answers
575 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, ...
2
votes
1answer
228 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 ...
1
vote
2answers
90 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? ...
3
votes
3answers
4k 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 ...
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 ...
25
votes
2answers
16k 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 ...
4
votes
1answer
141 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 ...
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 ...
4
votes
2answers
373 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)? ...
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
322 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 ...
5
votes
1answer
957 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 ...
8
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 ...
4
votes
1answer
4k 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 ...
0
votes
2answers
2k 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 ...
12
votes
3answers
7k 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 ...
1
vote
1answer
644 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 ...