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

Stracing a kernel shut down?

I'm on Linux 4.2.0, the Ubuntu Wily HWE kernel for Ubuntu 14.04 (which is what I'm running). There's a nasty bug on MacBook 11,4 and 11,5 models where the laptops won't actually ever shut off, they ...
0
votes
0answers
9 views

How to debug a bash script in a qemu-arm chroot

I'm running a debian debootstrap script which creates an arm system. However, the script fails at some point and the error message does not really help. So I'll have to do some more debugging which is ...
0
votes
1answer
23 views

Why is echo not working for mt valgrind command?

So I have my makefile working great, except that It doesn't create the valgrind.out file and I don't know why. So the console succesfully prints out that my executable file line is created but not ...
2
votes
1answer
35 views

Inline debug (xtrace) in scripts

Is there a way to force enable or disable debug (xtrace) per command line in scripts ? In Windows Shell ("ms-dos") is an "@" which can prefix a command line, disabling that line to be showed if the ...
0
votes
0answers
10 views

Does Manjaro Linux have a debug packages

One of my biggest frustrations with Arch Linux is the need to recompile half my OS every few weeks in order to provide meaningful bug reports to upstream projects. Most other distributions provide ...
1
vote
1answer
91 views

“rcu_preempt detected stalls on CPUs / tasks” message appears to continue

My board continues to display the message below. The terminal does not have any input. What is it with the following message, which I know? (T, g, c, q ...) What is the cause of this phenomenon? ...
1
vote
0answers
68 views

Linux Kernel module Remote Debugging with GDB + KGDB, Remote 'g' packet reply is too long

I am trying to remotely debug Linux Kernel and I am having issues. My setup: Target machine with Ubnutu Linux with my custom kernel 4.3 which I built with debugging information and KGDB. ...
0
votes
1answer
35 views

Debugging: OwnCloud horribly slow

I am trying to figure out why my OwnCloud installation stalls of 10s of seconds before it runs again for 10s of seconds normally. What kind of debugging can I enable on OwnCloud (server+client), so I ...
0
votes
0answers
31 views

printk does not prints in terminal

I inserted some printk in kernel 3.15.1 functions such as theese: in fs/read_write.c in function read(): printk("Ata: Im in fs/read_write.c and in function read"); in same file in function ...
0
votes
1answer
40 views

Syntax error: Unterminated quoted string. Cannot find error

I'm writing a script to parse a larger file into usable data. I will attach the script below. The script was not running as I wanted and I thought it might have been the if/then statement I used, but ...
0
votes
0answers
20 views

OpenVPN Connection without disabling Internet debugging

I've recently configured OpenVPN on my server (CentOS 7) and been configuring it for hours now and everything seems to work fine except that when I connect using a client machine I cannot access the ...
2
votes
1answer
33 views

After my system crashed and I run crash, but I get the following error: not a supported file format

My system crashed and even though I haven't been able to know what caused the crash after going through the usual logs: messages, dmesg, secure, etc. There's nothing valuable I have seen on them so I ...
1
vote
1answer
163 views

Where is vagrant's log file?

I am trying to debug a vagrant- or VirtualBox related problem (see taiga-vagrant fails to provide a working taiga environment #21). The command VAGRANT_LOG=debug vagrant up --debug prints out plenty ...
6
votes
2answers
56 views

xtrace equivalent in the fish shell

Is there an equivalent of POSIX shells' set -x or set -o xtrace that cause the shell to display the commands being run in the fish shell?
0
votes
0answers
12 views

Breakpoint in dynamically-linked libraries in Linux

Suppose you debug a Linux application and put a break-point into a function defined by a dynamically-linked library used by the application. Will that break-point stop any other application that makes ...
0
votes
0answers
26 views

Cannot telnet to Postgresql Forwarded Port

I'm trying to portforward a PostgreSQL port using my DLINK ADSL Router. I have the following IP addresses. Public Internet IP 197.321.321.32 PostgreSQL 192.123.123.12:5432 (Port To ...
0
votes
0answers
27 views

How can I display \n as new lines in multitail?

I am using multitail to monitor logs while I program. I really like this tool. However, it is hard to use it to view object output in a php error log because new line characters \n are not processed. ...
0
votes
1answer
25 views

SystemTap simple demo fails - Ubuntu 14.04

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
votes
1answer
89 views

Debug an open-source and be confronted with some troubles [closed]

Here is main script . I run it and get some errors like this : ╭─frankwang@ubuntu ~/ion-open-source ╰─➤ ./ionadmin ...
2
votes
2answers
114 views

shell script with interesting bug

I've found such behavior of bash GNU bash, version 4.3.30(1)-release (x86_64-pc-linux-gnu) and even latest ( How to get version of dash? ) dash on Debian. Bug as is: /bin/echo "Silent Err ...
2
votes
2answers
63 views

Why does df on a specific mount iterate over all mounts?

When running df /nfs/mount/point, I expect that it will be faster than df | grep /nfs/mount/point, because it will not stat all other mount points. But strace shows that stat is executed all NFS ...
0
votes
0answers
648 views

Kernel panic : Kernel offset disabled

I was trying to install the linux-next kernel in my system with the following steps. Copied the existing configuration file from /boot to the root of source directory Updated the .config file with ...
0
votes
0answers
38 views

Attempting to use LogLevel debug to investigate server issue

I am currently running a WordPress Multisite installation with a number of websites active. I have started getting large volumes of the following error message in my error log: Request exceeded the ...
2
votes
0answers
37 views

Network debugging: Sudden rise in packet loss and latency

My laptop sees a sudden rise in packet loss and latency (from 0.0%, 1ms to 70%, 2000ms). It remains even after resuming from suspend-to-ram. It remains after: sudo killall wpa_supplicant sudo ...
8
votes
1answer
79 views

Tool to trace library calls in Linux/ARM

I am searching for a tool that allows to trace calls to functions in shared libraries in Linux/ARM. Basically, I want to be able to specify a command line and let this tool produce a record of called ...
1
vote
2answers
49 views

How can I disable xtrace and preserve my exit code

I'm trying to figure out a good way to disable xtrace before leaving a script. These are all being executed by Wercker, a continuous integration and deployment SaaS. A previous script of mine has run ...
0
votes
0answers
120 views

Can't install additional debug infos in the CentOS 6.7

I am attempting to debug coredump of the some application on the latest CentOS 6.7 and gdb gives me hints that some debug infos are missing, for example: Missing separate debuginfo for ...
3
votes
1answer
34 views

Is it possible to compile individual software from the FreeBSD source tree?

I wonder if it is possible to compile individual software packages from FreeBSD source tree without compiling the whole kernel and world....Say,for example ex , which is included in the nvi (new vi) ...
0
votes
1answer
42 views

Is there a GUI debugger for csh script?

I have read another question in UNIX & LINUX stack exchange. The GUI provided in that question can be used to bebug *.sh file. How about to debug *.csh file? What other plugins for eclipse can I ...
0
votes
1answer
70 views

Uninstalling packages installed by debuginfo-install

How do I delete debug packages that are installed by debuginfo-install? When I search for them via sudo yum list installed none of the installed packages are listed, even when I enabled the debuginfo ...
2
votes
1answer
739 views

How to passively capture from Unix domain sockets (AF_UNIX socket monitoring)?

TCP/IP and UDP captures can be made using tcpdump/dumpcap and produces a pcap/pcapng file which can be fed to Wireshark for further analysis. Does a similar tool exist for named Unix domain sockets? ...
2
votes
1answer
143 views

What is Linux native debugging symbols format?

GCC documentation says that the -g option produces debugging information in the operating system's native format (stabs, COFF, XCOFF, or DWARF 2). So, what is Linux native debugging symbols format? ...
1
vote
2answers
387 views

How to call in a kernel level function in user space [closed]

I've developed some helper functions in the kernel. They're called by other functions in the kernel. Currently, they make my custom kernel panic :( For now (i.e. debugging), I made them as a passive ...
2
votes
1answer
256 views

How to debug a kernel panic on boot with archiso?

I have an iMac mid 2011 running OSX and I am trying to install Arch Linux following this guide. I successfully set up a dual boot last year following a similar procedure but now I can't even start ...
2
votes
0answers
29 views

Significance of Linux kernel's default_console_loglevel

What is the significance of default_console_loglevel in Linux? Commonly I see it described as the default value of console_loglevel. However, what that means I haven't seen explained anywhere. ...
0
votes
0answers
279 views

How to change the console_loglevel in linux?

I read at multiple places (e.g. here http://elinux.org/Debugging_by_printing), that you can change the console log level by echoing an integer to /proc/sys/kernel/printk. If that worked shouldn't the ...
0
votes
1answer
35 views

Linux server as a target for my C code [closed]

How to use a linux server as a target for my C code written on a different (Windows) machine. Including step by step debugging and etc... All that with Eclipse Env.
1
vote
2answers
177 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 ...
1
vote
0answers
117 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" ...
0
votes
1answer
129 views

What is the impact on system performance when kernel debug info is enabled?

In order to debug kernel or use tools like stap (https://en.wikipedia.org/wiki/SystemTap) kernel must be compiled with full debugging information included - namely option CONFIG_DEBUG_INFO has to be ...
0
votes
0answers
52 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
1answer
93 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 ...
5
votes
4answers
647 views

Easiest way to find missing quote in a bash a script?

I have a bash script which is currently 700+ lines long. After a particularly long round of editing, it now errors like so: ./run_me.sh: line 693: unexpected EOF while looking for matching `'' ...
0
votes
1answer
95 views

gdb displays not all variables in KDevelop [closed]

Hoping, the image describes the issue much better than I can do. Generally, I'm debugging a multithreaded application in KDevelop with gdb. I'm debugging the app step by step (F11 shortcut) and have ...
0
votes
1answer
170 views

USB not working : USB Ports Hijacked/Reserved Permanently by VirtualBox

This scary incident happened today morning. I started a virtual machine inside my Linux Mint host and shared my USB Wireless device with the machine. The virtual machine's image resided in an ...
0
votes
1answer
95 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
71 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 ...
1
vote
1answer
634 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 ...
4
votes
1answer
103 views

Print out unicode values of stdin?

I use od to print me the octal or hex of a file/stdin/string. This lets me see the ASCII, or UTF-8 encoded, values of my stdin. But we don't live in ASCIIland anymore. Is there any command that will ...
1
vote
0answers
204 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 ...