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

learn more… | top users | synonyms

-1
votes
0answers
20 views

Problem when debugging softwares

I am trying to use a debugger on ubuntu 14.04, with my home directory on a NAS (i am in a lab, and did not set up the machine). If i try to debug any software something weird happens. I will list ...
0
votes
0answers
11 views

Why does lldb failed to step into function of shared library [migrated]

I'm having trouble with lldb3.8 on ubuntu16.04. lldb failed to step in functions of my shared library while gdb can. The code is very simple: main.cpp: int main(int argc, char *argv[]) { MyLib ...
0
votes
1answer
39 views

How do I debug a system crash probably caused by Chrome?

I have an issue on my Dell XPS 13 9343 laptop. I have used 14.04 15.04 and 15.10 on this machine and each one has been a fresh install (deleted the partition and made a new one of a slightly different ...
0
votes
0answers
32 views

upgraded to 16.04 LTS and everything is lost [duplicate]

everything is lost, my settings, half of my programs even plugins in browsers and their cookies.... also unity doesnt start when booting... after I log into my account I can see only the wallpaper ...
0
votes
0answers
13 views

/usr/bin/script hangs, how to debug

Context In Ubuntu 16.04 /usr/bin/script freezes sometimes in situation where it never did in other distros (including older Ubuntu, Debian, Fedora). For details see the bug I reported on Bug ...
1
vote
1answer
100 views

Ubuntu freezes a few minutes after login

I use Ubuntu 15.10 (running from disk) I run diagnostics and the disk doesn't seem to have any problems nor my drive should have (it and "expensive" bd-r dvd-r drive from a big brand and never had ...
2
votes
1answer
50 views

How to receive a desktop notification on a kernel lockup or bug/warning?

Apport doesn't react at all on any segfaults/problems warnings that happen in kernel [modules], the only way I know of to see them is to check kernel log (dmesg). I'd like to receive a notification ...
0
votes
1answer
85 views

How to download dbgsym kernel for 15.10?

I have an issue trying to find the dbgsym kernel from the ww repositories. Unfortunately i cannot find it. My system crashes when running wine and chrome and i am trying to read the crash dump. ...
0
votes
0answers
19 views

usb help kubuntu bug

I used this USB to install Kubuntu 15.10 on a PC but i wanna replace it with a LTS release but the image creator is giving me this error and i cant reformat it with gparted help? ...
0
votes
1answer
28 views

booting debugging kernel for perf

I am trying to do some performance tests, I found out that most overhead is insde the kernel (kernel.kallsyms). So I need kernel with debuging symbols and extracted vmlinuz in order to run perf ...
0
votes
1answer
41 views

How to use DBG with a shell script program?

I'm having some problems with Ardour 4 in Ubuntu Studio 14.04 (it crashes in plugin search with the message 'segmentation fault (core dumped)'. So I’m trying to create a backtrace with DBG for it (in ...
0
votes
0answers
182 views

How to check crash log of qtcreator?

My qtcreator 3.0.1 randomly crashes.How can I view logs of it, to look for future solutions?
0
votes
0answers
68 views

Kernel debug symbols for ARM64 Trusty

I have qemu running ARM64 Trusty image that I obtained from the ubuntu website. The image name is ubuntu-core-14.04.1-core-arm64.img. I'm trying to install kernel debug symbols onto the image. ...
1
vote
0answers
202 views

How do I disable the automatic fade to black on lock? (15.04)

I have an issue where I lock my desktop, and it will fade to black almost immediately. It does not always resume correctly when "waking up", so I'd like to disable the fading entirely. I have tried ...
1
vote
1answer
24 views

How to debug a process developed in C running as a Wi-Fi Access Point?

I have two processes developed in C. The first one is running as a WiFi Access Point in Ubuntu machine and the second is running as a controller in another Ubuntu machine in the ethernet network. This ...
0
votes
0answers
52 views

Get Systemtap to work on 14.04

I'm trying to get systemtap to work on 14.04. So far I've had very little success: I couldn't find debug symbols for the kernel version for trusty. I ended up installing utopic's kernel (*-38), and ...
0
votes
1answer
26 views

Should I install debug tools?

I've been a long time user of Ubuntu (Warty) Now I wonder if I should install debug tools for various installed software? I don't really understand how they work; for instance (have to be activated or ...
0
votes
1answer
158 views

How can I use --gdk-debug with GTK2 programs?

I want to view the GDK events received by a GTK 2 program (Xournal) for debugging purposes, which should be possible by passing the option --gdk-debug=events). However, the option apparently is passed ...
0
votes
1answer
324 views

Where to put “-p” for solving “pptpd is not running”?

I'm working with pptpd on 14.04 and got a problem that when run /etc/init.d/pptpd start and /etc/init.d/pptpd status, it states that /use/sbin/pptpd is not running. I'm searching for a reason and ...
1
vote
1answer
429 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
99 views

c++ debug jump back netbeans and eclipse

All the latest netbean ide and eclipse ide for c++ open some project and then rebuild and debug, it will somehow jump back to somewhere when I press step over,like this (from 44 to 40): Can ...
1
vote
1answer
1k 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
638 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
3k 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
844 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
1k 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
4k 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
57 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
549 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
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
5answers
26k 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
1k 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 ...
1
vote
0answers
498 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 ...
3
votes
1answer
289 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
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: ...
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 ...
1
vote
4answers
7k 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
573 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
582 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
428 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 ...
7
votes
2answers
3k 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
751 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
726 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
5k 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
264 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
1k 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 ...
3
votes
3answers
2k views

Debugging the execution order of Upstart jobs [duplicate]

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?
15
votes
3answers
13k 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
736 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
369 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 ...