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)

0
votes
2answers
42 views

viewing printf after pipe (or subshell?)

Ok, this is hard to distill to a single question because it really depends on how I'm going to troubleshoot it. The following script is meant to pipe mount.cifs commands to a while loop that enters ...
3
votes
1answer
135 views

detect process that executes portscans

I have to administer an ubuntu 12.04 server, where there seem to go portscans to the whole subnet. How can I find out the process that does the scans? pstree init─┬─acpid ...
2
votes
1answer
59 views

Why is my Compose key not being passed to Synergy?

The key that I assign to the compose key (right Alt) is not passed to the remote computer by Synergy. I don't know if it's a problem with Synergy or with X, but my guess is that the compose key is ...
2
votes
1answer
781 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
1answer
130 views

How to compile without optimizations -O0 using CMake?

I am using scientific linux. I am trying to compile a project that uses a bunch of cpp files. In the directory user/project/Build, I enter make to compile and link all the cpp files. I then have to ...
1
vote
1answer
83 views

Which log files do I look at to debug copy/paste and Klipper?

Short Version What log files do I look at to monitor copy/paste actions? And what logs do I look at to monitor all Klipper actions? Long Version After using my desktop for a while (could be a few ...
1
vote
1answer
231 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
1answer
176 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. ...
0
votes
1answer
33 views

Linux Mint 17.1 Mate stops responding

I was using LM 17.1 Mate version quite smoothly until one day I found my desktop wallpaper had changed to the original. Then after refreshing for 2nd time it keeps on refreshing and it seems that my ...
0
votes
1answer
75 views

How to debug an installed Qt5 library with GDB?

Background: I am programming with Qt5 and want to debug the core Qt5 libraries on Debian using GDB. I have installed all the necessary -dev and -dbg packages. When I try to debug, GDB complains that ...
0
votes
1answer
213 views

How do I get debug information from rsyslog?

I followed the directions from: http://www.rsyslog.com/doc/debug.html I put the following in /etc/rsyslog.conf: $DebugLevel 2 $DebugFile /root/RSYSLOG.txt then I try: kill -USR1 `cat ...
0
votes
1answer
69 views

Getting Sublime + xDebug to work on Debian

I have been trying to get sublime and xdebug to work on debian, but have had no luck. I can't seem to find any debian specific guides. I have tried using the ubuntu based guides, but they don't work ...
4
votes
0answers
225 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 ...
3
votes
0answers
129 views

Understanding line numbers reported when using eval

Okay, so I'm stuck working with a shell script that needs to use eval (I know, I know, ultimate evil etc…) however I'm having difficulty debugging some of the line numbers being thrown out by errors. ...
2
votes
0answers
50 views

How can I monitor the interactions of an application with dbus?

I think the title says it all. I have a set of applications, I want to montior any and all interactions of the applications with dbus. The things I've played with don't seem to have a way of focusing ...
2
votes
0answers
149 views

What is the correct way to fix the configure error: “Requested 'libdrm_nouveau >= 2.4.33' but version of libdrm_nouveau is 0.6”?

This issue came up when trying to assist a user with the questions: What are the required build dependencies of mesa for Debian-based distros? and How do I backport Mesa on Debian Wheezy?. Mesa on ...
2
votes
0answers
137 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 ...
2
votes
0answers
438 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
61 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
141 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
845 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 ...
1
vote
0answers
16 views

ath0 wi-fi connection breaks

Can't hold wi-fi connection in hostapd mode. Sometimes it's good, sometimes not, yesterday all day wi-fi works, today no chance even to connect. % more /etc/rc.conf wlans_ath0="wlan0" ...
1
vote
0answers
73 views

Transfer file to pc from embedded linux device via serial communications

I'm working on an AT91SAM9G20. I'm connected to AT91SAM9G20 via the debug port using rs232 serial communications. It has Linux version 3.4.8 but does not appear to have any of the common file ...
1
vote
0answers
40 views

Debugging info in linux kernel - how does it work?

I have found that I can compile linux kernel with some flags adding debugging support like CONFIG_DEBUG_INFO. These options while useful in debugging are also required by some utilities like ...
1
vote
0answers
136 views

linux mint hangs - how to find a reason?

My Linux Mint system (17 Cinnamon, lenovo g565) hangs up frequently during work (say, 2-4 times a day). It usually looks like a white or black screen (or off if the lid was closed). CPU seems to be a ...
1
vote
0answers
243 views

How to display printk messages filtered by level as they come?

I wrote a hello word module that performs a printk when it is loaded in level ALERT and another printk when it is released with level INFO: #include <linux/module.h> #include ...
1
vote
0answers
1k views

What does “Cannot make/remove an entry for the specified session” mean?

Instead of logging me in, PAM greets me with the message "Cannot make/remove an entry for the specified session" after I enter the password. What entry is it talking about (and what session)? The ...
1
vote
0answers
173 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
257 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 ...
0
votes
0answers
15 views

How to debug freeze at start, output of syslog

Every now and then, my computer freezes while starting. I can see some "Oops" in /var/log/syslog, but from there I am not sure what to do to try and fix the problem. Jun 5 12:47:40 fulla kernel: [ ...
0
votes
0answers
21 views

Trying to use KDBG, but it produces error 11

I am trying to start kdbg on Ubuntu, but it produces this error message: MNG error 11: function is invalid at this point ; chunk MHDR; subcode 0:0 MNG error 11: function is invalid at this point ; ...
0
votes
0answers
32 views

How to debug : Screen starts blanking after running wget

My system is currently running Cubieez 2.2, a Debian image for CubieTruck. My bash script is tasked with downloading driver files from a server to a specific folder through wget. I've tested this bash ...
0
votes
0answers
184 views

Analyze backtrace of kernel panic on Android

I have this problem on my Samsung Galaxy Note 2 LTE with random reboots and kind of clean restarts in the kernel logs (no oops / panic, even though some usb errors) and now I got a kernel panic in the ...
0
votes
0answers
69 views

Linux unresponsiveness

I'm using a Packard Bell EasyNote laptop (4GB RAM, 500GB HDD) with Arch Linux and xmonad. My problem is that machine becomes fully unresponsive or obtains a large lag. Sometimes when I only have a ...
-3
votes
0answers
13 views

My program is not finding a file and/or the directory the file is in, even though it exists

My program is not finding a file and/or the directory the file is in, even though it exists. when I search for the file : /example_dir/example.txt it comes up fine. What would be the problem, ...