is a process of finding and reducing the number of bugs, or defects, in a computer program, thus making it behave as expected

learn more… | top users | synonyms (1)

2
votes
2answers
78 views

whats a good tool to search tail -f output

I am dumping some debug info into a text file that I am using tail -f to monitor. Is there a tool that I can then pipe that tail -f data into to be able to search the text on screen using regular ...
2
votes
1answer
85 views

Submitting bug reports for Arch Linux

I come from Ubuntu and when things crashed I could collect the relevant information and submit a bug report. Is there an easy or preferred way to do this in Arch Linux after an application crashes?
2
votes
1answer
121 views

How can we trace problems of crashing programs in Linux?

If an application crashes in Windows we can check the Event Viewer in the Administration tools to see what has crashed. Sometimes it has useful information others not, but it is a start. In linux if ...
2
votes
4answers
75 views

Is it possible to trace Linux source from initial bootup to desktop-GUI userland code?

I am wondering if, since Linux is 100% open-source, it is possible to follow line-by-line instructions of Linux to observe how the OS works entirely, so that one may get a better knowledge of how OSes ...
2
votes
1answer
388 views

Debugging dmesg logs

I noticed I have the following in my logs. I just am not sure as to how to go about figuring out how to fix or find out what is causing them and if they are serious. [582046.956291] Core dump to ...
2
votes
1answer
1k views

Kernel and QEMU : Unable to mount root fs error

I am trying to run a distro in the virtual disk image with a custom kernel,so that I can experiment and debug the kernel. I followed this to make a disk image and then install Debian to it. Now I ...
2
votes
1answer
3k views

How to debug csh scripts?

My lab uses csh scripts to run jobs. It is usually difficult for me to debug a shell script, so I'm wondering if there is a csh debugger I can use. I know there are some flags like -x or -v that can ...
2
votes
1answer
398 views

Installing slime and emacs

I'm trying to install SLIME on Fedora 17 so that I can do some lisp. Here is what I downloaded: http://www.common-lisp.net/project/slime/#downloading The CVS Snapshot link. I have a .emacs file: ...
2
votes
3answers
320 views

Kernel debugging

I would like to study the flow of some linux device drivers and some minimal flow of kernel (threading cum context switching and interrupt management). How can I debug the linux kernel? What are the ...
2
votes
1answer
212 views

How can I figure out why gnome-panel is frequently misbehaving?

On my system (Debian Lenny AMD64), gnome-panel seems to act up now and again. I've not found a way to force it to happen, but it seems to be related to launching processes. Basically, I launch some ...
2
votes
1answer
69 views

Best practices for maintaining error logs (system, device driver & application)

I have many Pandaboards with Ubuntu armhf and one PC server networked with Wi-Fi. On each embedded board I have a real-time application running constantly. I don't know how to reasonably maintain the ...
2
votes
2answers
49 views

How to tell which files have been created by an application?

I want to find out what files an application has created or modified. In the old days it was easy. cc foo.c created a.out, cc -o foo foo.c created foo, cc -c foo.x created foo.o. Now applications ...
2
votes
1answer
193 views

How can I run gdb in one machine and run kgdb kernel in another machine?

I want to run two machine: debugged machine: compiled kernel with kgdb option. debugger machine: for running gdb How can I debug machine 1 from machine 2?
2
votes
1answer
784 views

Debugging Linux Kernel with QEMU

I was trying to study the debugging of kernel using QEMU. I tried initially and failed due to the fact that there was no virtual file system. The answers to this post suggests that there should be a ...
2
votes
1answer
119 views

Start and stop multiple executable for easy debugging

I'm debugging a networking project, which involves interacting of 3 programs, ie a server, two different clients. However I find it difficult to start and stop them for debugging. Some methods I have ...
2
votes
1answer
394 views

Disable browser logging output to console

I'm currently using Ubuntu 11.04 and I'm running into a really annoying issue while developing for web. I'm rather new to Ubuntu, coming from FreeBSD where I never encountered an issue like this, so ...
2
votes
0answers
55 views

“Debugging” with bashdb: why do I lose command echo after stepping into a simple script?

I heard about the bash debugger ( bashdb ) after reading a comment so I thought I should try it out and see if it can help me analyze bash scripts or more generally the execution of commands. There ...
2
votes
0answers
50 views

Is there an equivalent of addr2line on AIX system?

I'd like to debug proftpd on AIX and according to the documentation, addr2line is a usefull binary to identify what is not working. Extract of proftpd debugging documentation: The key here for ...
2
votes
0answers
143 views

How should I enable the trace log for ALSA hda_unsol_event?

I have reported an ALSA kernel bug and have been asked to "enable tracepoints" and "check the response of hda_unsol_event". I was directed to the kernel docs for instruction, which say: Except ...
2
votes
0answers
52 views

kgdb not returning control to gdb

I've compiled a kernel with kgdb support and I'm trying to debug it. I have two machines running, a debug machine (running the kgdb kernel) and the machine I'm using to debug it. They are connected ...
2
votes
0answers
101 views

How to find where driver.mod.c links to?

I'm trying to port the webcam composite gadget from kernel 2.6.37 to 2.6.32. I don't have a choice on this since I depend on other drivers and a SDK which only compile for this version. My train of ...
2
votes
0answers
587 views

Linux kernel slab usage growing on embedded system

I'm in the process of QA/debugging a project on a custom embedded linux system. The problem we're VERY tight on memory, and even a couple megs can cause issues with our software. What I'm seeing ...
2
votes
1answer
645 views

Dump Page table layout (KERNEL CONFIG)

While configuring kernel for debugging found this option: CONFIG_X86_PTDUMP: Export kernel pagetable layout to userspace via debugfs Does this mean RAM page-table layouts ? any guides on how ...
1
vote
2answers
2k views

How to proceed solving ppp connection problems?

I got an embedded system trying to create a ppp connection using a GSM modem. However the connection is never established and all I get is this error message in syslog: Oct 12 08:38:48 pppd[451]: ...
1
vote
3answers
224 views

Monodevelop doesn't run the project. When I try to run nothing happens

I've been trying to get Monodevelop up and running for almost a week now, first on my redhat and now on my fedora. The debugger doesn't work, when trying to debug I get this error: I tried ...
1
vote
1answer
249 views

Bash option to get resolved executable path?

Bash is able to trace execution script commands with the -x command line option. Each command is then output to stderr, prefixed by PS4 as stated in the man page. -x After expanding each ...
1
vote
3answers
92 views

How do I know on which IDE to edit a project's source code?

EDIT: Thanks to all answerers and commenters, there's enough material to keep me busy for a while ! I recently switch to Linux and wanted to do my first development steps with the following ...
1
vote
1answer
88 views

Is there a GUI debugger for shell scripts

Debugging bash scripts on command line is complicated. Is there a good GUI based debugger available for debugging bash scripts?
1
vote
2answers
82 views

Why does Linux print a lot of debugging messages on boot/shutdown?

Why does Linux print a lot of debugging messages during the boot and shutdown processes? The boot/shutdown processes usually have no error. Why not hide the debugging messages, and show them only ...
1
vote
2answers
253 views

How to “listen” to nginx writes to a file socket

I'm trying to get uwsgi and nginx to play nice. After moving to "file sockets" (hopefully I'm using the right terminology here) from TCP sockets, the only thing I get from uwsgi is a 400 with no ...
1
vote
1answer
57 views

How to extract running Apache configuration from core dump?

Apache is loading the configuration from files into its memory. If the config files are changing the Apache process won't activate it until a reload/restart happens. Now I have to debug the current ...
1
vote
1answer
267 views

Killed `rm` and `cp` on nfs share

I am just testing an rsnapshot installation on my laptop which should backup to a NAS mounted via nfs on my laptop. On one test rsnapshot died with a cp -al problem (i.e. a problem with hard links) ...
1
vote
1answer
199 views

Resolving executable user stack trace addresses in ftrace

I'm trying to obtain a user stack trace in ftrace, but for some reason, only my user program cannot resolve the addresses to symbols. First, the OS I'm using is: $ uname -a Linux mypc ...
1
vote
1answer
258 views

How can I force my wifi to connect to a G-band channel?

I'm trying to debug a buggy wireless card and would like to force my Linux computer to connect using one of the g-band channels. How can I achieve this?
1
vote
1answer
538 views

How to avoid overflowing the kernel printk ring buffer?

I'm trying to debug a linux driver and a particular piece of code is behaving very strangely. In order to see what's going on I've filled the code with printk statements so I can see exactly what the ...
1
vote
1answer
152 views

Linux, Debugger program development

We are trying to implement the debugger program which will takes either PID or Program name as input and Invoke the gdb by using PID. Below is two small programs are written, Not able to figure out ...
1
vote
1answer
1k 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 ...
1
vote
1answer
120 views

Is there any way to attach latrace to an already-running process?

I want to trace a running multi-threaded process's library calls. As of 5 November 2012, there's only one way to get ltrace to fully support tracing multi-threaded processes: you must check out and ...
1
vote
1answer
2k views

Unprettyfied SSL error message?

I am trying to authenticate using my USB smartcard reader to a website. I am running Ubuntu 10.04 LTS, with its most up to date Firefox browser 3.6.24. I get the following error message: Secure ...
1
vote
0answers
33 views

SystemTap simple demo fails

Started learning SystemTap using RedHat's manual. Here is the example I'm trying to run. While executing stap open.stp I got the error: [root@ror6ax ~]# stap open.stp semantic error: while resolving ...
1
vote
0answers
47 views

An obscure autotools error with Epson iscan project

I'm seeing the following error when attempting to build iscan using the master branch on Debian wheezy. This project provides support for Epson scanners, in cases when SANE doesn't. This project ...
1
vote
1answer
40 views

What's a good way to debug issues with X forwarding over ssh where just some applications won't run?

As far as I understand it, X forwarding is usually pretty simple. Once I can run some things like xeyes or gimp over ssh, complex applications like firefox/iceweasel should also be able to run. ...
1
vote
0answers
64 views

Why is the service unavailable the second time?

How can this happen? /volume1/homes/me $ tdtool --list /volume1/homes/me $ tdtool -e 44 Learning device: 44 - Could not connect to the Telldus Service /volume1/homes/me $ tdtool --list Error fetching ...
1
vote
0answers
34 views

sysrq-trigger doesn't accept parameter 'g'

I'm trying to debug the kernel. But I couldn't trigger kgdb with echo g > /proc/sysrq-trigger, it just prints help message. I have enabled kernel debugging, kgdb over serial, frame pointer etc. ...
1
vote
0answers
88 views

How to trace calls to library from library?

I have an program that calls libcurl, and libcurl calls libgssapi_krb5. If I want to debug calls to libcurl, then ltrace works. But now I want to debug calls to libgssapi_krb5, then ltrace ...
1
vote
0answers
430 views

My Debian freezes

I installed a fresh Debian 7 install, but it freezes from time to time, and when it happens (quite often indeed) only the mouse can move around but everything is blocked. All I can do is restart. I ...
1
vote
2answers
2k views

How to detect a possible hardware error?

I'm running Debian Wheezy on a HP Pavilion dv7 laptop and it freezes every now and then, requiring a reboot. One time it didn't even load the operating system, but it wasn't I who was using it so I ...
0
votes
2answers
54 views

Emacs how do I interpret this Lisp debugger report

I am trying to make up a .emacs file on my new Fedora 20 computer, and get this line when I use emacs -debug-init &. I expect it to be a trivial mistake, but I find the help on this too detailed ...
0
votes
1answer
99 views

what are some of the best resources to learn advanced debugging techniques using gdb? [closed]

I know the basics of how to use gdb. But I would like to learn some advanced debugging techniques using gdb. What are the best resources - books, blogs, tutorials - that any of you use regularly. I ...
0
votes
1answer
92 views

How to enable printk selectively?

I want to print some statements from kernel but not all. So can I use printk selectively? By selectively I mean I want to enable printk only at particular places and disable it everywhere else. ...