KDbg not working / starting on ubuntu

I'm new to assembler programming, I read this assembly step by step by Jeff Duntemnom. one of his instructions was to download KDbg for debugging codes, however, when I try to run the code with kdbg, this error occurs over and over more than 100 times, and I don’t know what it is.

Example: when i run my linked file ./ExampleProgram like this -> kdbg ExampleProgram i get the following error : MNG error 11: function is invalid at this point ; chunk MHDR; subcode 0:0 MNG error 11: function is invalid at this point ; chunk MHDR; subcode 0:0 MNG error 11: function is invalid at this point ; chunk MHDR; subcode 0:0 MNG error 11: function is invalid at this point ; chunk MHDR; subcode 0:0 MNG error 11: function is invalid at this point ; chunk MHDR; subcode 0:0 MNG error 11: function is invalid at this point ; chunk MHDR; subcode 0:0 

Can someone please help me solve this problem. I am new to assembly language and gdb framework. I am using ubuntu on virtualBox. I searched the Internet and could not find the answer why KDbg does not work. Your support will be highly appreciated.

+6
source share
2 answers

You can find this topic helpful https://bbs.archlinux.org/viewtopic.php?id=170379 . He suggests deleting the icon file /usr/share/kde4/apps/kdbg/icons/hicolor/22x22/actions/pulse.mng . Try to check if this solves your problem.

If this is not the case, you can find additional information and updates on this issue at https://bugs.launchpad.net/ubuntu/+source/kdbg/+bug/1311893 . As you can see, it clearly accepts this as an error in the kdbg package.

+8
source

The file "pulse.mng" (the animated image that kdbg uses to display your program) does not work with the current version of kdbg. The good news is that you can easily create a fixed version of the file, and the source .png images are provided for this (at least in Ubuntu 14.04).

 find /usr/share -name "pulse.mng" 

Go to the specified directory and create a fixed version (additional help here) ...

 sudo convert pulse0000??.png pulse-fixed.mng 

Replace the old "pulse.mng" with the new version or a link to it.

Here's a gif of the same one you could use as a source for convert : enter image description here

+2
source

Source: https://habr.com/ru/post/980274/


All Articles