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
vote
0answers
29 views

problem trying to log in after update

after an update I can't pass the log in with my user, I log in as guest and the error "no session for pid 2149" apears and I cant really use it either; searched for solutions and it apears to be a bug ...
0
votes
1answer
48 views

how to do a kernel bisection

I posted a bug on luanchpad a few days back (https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1452166). I have been told to do a kernel bisection from 3.16 to 3.19. Can someone give me a simple ...
0
votes
2answers
148 views

PHP.ini change not reflected

I am trying to install Zabbix and the following errors appeared during pre-installation I proceeded to change the setting in PHP.ini file to the minimum requirements The problem is that though ...
1
vote
1answer
172 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 ...
6
votes
1answer
3k views

How to get an apache core dump?

I am having problems with my 14.10 Ubuntu Server. Upon performing certain actions my apache2 restarts with a segmentation fault error. In order to debug this issue I would like to create a core dump. ...
5
votes
2answers
713 views

How to trace/monitor the I/O of a Linux command

I ran find / -name abc.html and a short time after I ran this command again. This time it was very fast, so I know the find must be caching the result somewhere. How can I find out where the cache is ...
8
votes
2answers
4k views

Very slow Chromium browser

On my machine Chromium is very slow, I had to switch to Firefox where everything works fine. Looks like this is a kind of JavaScript problem (eg. slowed down typing on Facebook), pages loading slower, ...
1
vote
1answer
93 views

Catch program crash when there is no terminal

This question may belong to Unix/Linux in general, but I guess the answer is dependent on distro or desktop environment [I use KDE and Xfce so I would like an answer that is applicable on booth]. ...
1
vote
0answers
84 views

Chrome Debugger (remote) won't expand elements, or objects output in console

I am running chrome debugger remotely on an app I am building (appgyver, so javascript and HTML etc) and having real issues accessing the debugging data in the elements and console tabs. For elements,...
5
votes
1answer
226 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 ...
1
vote
0answers
65 views

Problem occured while installing Ubuntu 14.04 - Package authentication failed

As you can see this is the syslog from my installation of ubuntu 14.04 and the authentication of the initramfs-tools package faild. I have 2 questions here How could that be? Where can I report ...
0
votes
1answer
556 views

Syntax Error: Unexpected end of file

I'm trying to run this script below and I have no idea why its not working. I keep getting an error message that says "Syntax Error: Unexpected end of file" and I don't know how to trouble shoot this ...
3
votes
1answer
4k views

Device not found when setting up android usb debugging in Ubuntu 14.10

I have an HP 10 Plus 2210xx tablet, and I want to use it for Android USB debugging. I followed the following steps: Enabled usb debugging in developers option on phone. After connecting to PC, phone ...
0
votes
1answer
109 views

openjdk-7 gdb list main.c sources error

I'm currently struggling with debugging openjdk in Trusty Tahr. I already installed opejdk-7-jdk openjdk-7-dbg. When I issue gdb java I see it reads the symbols properly, but when I ask to list the ...
1
vote
0answers
15k views

How to mount a Samsung galaxy S5?

My laptop runs on Ubuntu 12.04 and when trying to connect my phone to access files through the USB port, this comes up: **Unable to mount SAMSUNG_Android** Error initializing camera: -60: Could not ...
0
votes
1answer
81 views

My IDE keeps crashing instantly: How do I diagnose?

I am using Aptana, Java-based IDE. Starting today, it is crashing suddenly every few minutes. This may have to do with the fact that I recently upgraded to Xubuntu 14.04. There is no error message. ...
1
vote
0answers
344 views

TCP hash tables in Linux Kernel

I have implemented a solution to migrate sockets between servers running Linux OS. The migration mechanism works very well and the client is capable of continuing receiving his service from the new ...
1
vote
1answer
1k views

Is there a gedit plugin that will detect errors in php code?

I dont know if this is even possible inside of gedit, i know there are third party editors that will do this but i like gedit and would like to know if anyone knows of such a plugin because i cant ...
1
vote
0answers
24 views

How to build eglibc in debug mode [duplicate]

I am trying to create a debug version of the eglibc to allow step by step debugging in a program that crashes in the eglibc. I want the created ".so" file to be as close as possible to the eglibc ...
7
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, ...
0
votes
1answer
517 views

How to install debug symbols for installed packages?

I try to watch how programs work by running them by the 'Qt Creator' debugger. For better orientation I'd like to see also the system (core) utilities fully in the call stack window as I am used from ...
2
votes
0answers
329 views

Why does Ubuntu's webkit inspector look (and work) just like Safari?

In older Ubuntu, the python-webkit inspector looked like Chrome, as you can see in these screenshots: http://stackoverflow.com/questions/13132459 (It had some annoying bugs, too.) I see Midori's ...
4
votes
0answers
2k views

Ubuntu 14.04 nautilus/nemo file manager hanging on every action

I cannot use nautilus or nemo because of high loading time on each action, many times the applications simply hang and I've busted my time on trying to fix it with no success whatsoever. Here's how ...
2
votes
0answers
153 views

Ubuntu server periodically unreachable

I have an Ubuntu Server 14.04 server running. The server has two NICs and acts as a NAT router, with the help of shorewall. Shorewall also acts as a plain firewall for blocking ports that I don't want ...
3
votes
2answers
8k views

how to use the geany debugger?

I am new to debugging and I need to how to use the debugger in geany IDE. Is there any documentation or a video available in the internet related to the geany debugger? I have surfed everywhere but I ...
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
1answer
247 views

Ubuntu 14.04 image preview never loads

After updating to 14.04 my image preview never shows up Is this common to update? Maybe it is related to my image viewer? Can I replace the default one or if its nautilus fault, what replacement ...
49
votes
6answers
74k views

Nginx failing to reload - how to track down why?

Hi I've had my Nginx server running great on Ubuntu server 12.04 for a while. I've been gradually bolting on various bits, and got as far as optimising load times on my wordpress page. After making ...
3
votes
3answers
2k views

How to change Firefox debugger font size

It's too small to read. Bug report is https://bugzilla.mozilla.org/show_bug.cgi?id=143119 Notice: it's not about Firebug.
1
vote
0answers
136 views

What is the purpose of libstdc++-dbg?

The Synaptics package manager says that: This package contains the shared library of libstdc++ compiled with debugging symbols. But I can successfully print the contents of std members in the ...
0
votes
2answers
250 views

Confusing input error

During general use my laptop (Lenovo Thinkpad Edge 15 running Ubuntu 12.10) will suddenly mute its volume and stall for a few seconds, seemingly for no reason. At the same time if I'm in a terminal ...
0
votes
1answer
70 views

What is the role of a Bug reporter?

What is the role of a Bug reporter in reporting bugs and after reporting bugs? When and how can he get out of the bug-related problem? Most people get the benefits of the bug report after the bug is ...
2
votes
1answer
870 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 ...
0
votes
1answer
963 views

weird shell script error: invalid option return: usage: return [n]

This programme checks if a certain book title exist by matching user input of book title and book author. function removebook_option() { echo -n "Title : " read title_input2 echo -n "...
0
votes
1answer
171 views

Where are the missing build files for performing a kernel bisection?

I am attempting my first-ever kernel bisection to try and help debug a regression that occurred somewhere between 13.04 and 13.10. I am trying to follow the instructions listed at https://wiki.ubuntu....
1
vote
0answers
253 views

Itellij debug problem with maven

When I try to make a debug with intellij in a maven project in Ubuntu 13.04 i get this error, I try with another ports, remote debug, and check the host file, have the same result. Tested in a clean ...
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 ...
1
vote
1answer
143 views

How to get the output (stdout/stderr) of a click application?

I have a click application installed on Ubuntu Touch, and I need to be able to read its standard output in order to debug it. Is the output captured somewhere, or is it possible to see it on the ...
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 ...
1
vote
1answer
573 views

Get Rhythmbox debugging info

I'm having a weird problem with Rhythmbox that no one else seems to have. When I pause on any audio CD, I can't get Rhythmbox to play it again. I've tried various workarounds including trying to play ...
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 ...
2
votes
2answers
606 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
1answer
99 views

system crash reason

One of our server recently get frequently crash....I am pasting some of the syslog here, anyone familar with system would give me a hint what caused this? Much appreciated. I am using Ubuntu 12.10. ...
14
votes
1answer
16k views

GDB crashes with: ImportError: No module named libstdcxx.v6.printers

I have a problem with GDB. Whenever I try to debug any C++ program, just after running it, GDB gives this error: (gdb) run Starting program: /home/errikos/Workspaces/tests/a.out Traceback (most ...
5
votes
1answer
564 views

Why debug packages don't include sources?

I was expecting that after installing the package libgtk-3-0-dbg I would get DDD to show the source code when stepping into gtk+, however I had to download the source package myself (from here) and ...
1
vote
0answers
174 views

Why is the libindicator reporting all scroll event signals as UP?

I am trying to investigate this bug; the gist is, if you have a Unity application indicator, and you scroll over it, the scroll event is always 'up', even if you scroll down. Here is a sample ...
0
votes
1answer
828 views

how to get the address with /proc/kallsyms

cat /proc/kallsyms | grep "\ doexecve$" i run this command in ubuntu 13.04 in virtual box in order to get address. However, no result. How to get the address for kprobe debug
0
votes
2answers
9k views

How do I troubleshoot boot problems when stuck at the Ubuntu splash screen?

I was tweaking some settings on my Ubuntu 12.04 install. Specifically I was altering the default color scheme of the terminal, following these instructions Now whenever I boot Ubuntu, I get stuck in ...
1
vote
1answer
259 views

How to debug executable (using gdb) that reads another file?

I have a small application let's call it program. In general to use this application I need to stream a file into it: ./program < file_with_data.txt How do I debug such program using dbg? I don'...
-1
votes
1answer
838 views

KDbg on Ubuntu 10.04 LTS [closed]

I wanted a good debugger gui for gdb and found that KDbg is the best one. When I tried searching for it in Synaptic Package Manager I could not found it, then after a bit of googling found out that it ...