Gdb and libc debug symbols
hi, im trying to make gdb use debugging symbols for libc, but to no avail. I am running a standard 64-bit arch install, fully updated.
gdb is 7.9, gcc is 4.9.2, glibc is 2.21
file shows
/usr/lib/libc-2.21.so: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /usr/lib/ld-linux-x86-64.so.2, BuildID[sha1]=879c9c4ffc5aabfd0a9c9d1b1c73d5f1df969aac, for GNU/Linux 2.6.32, not stripped
readelf --syms reads a million lines of symbols, however readelf --debug-dump=info on libc gives no output (nor any errors).
gdb says
Reading symbols from /usr/lib/libc.so.6...(no debugging symbols found)...done.
on verbose after run, and
574d0 0x00007ffff7b83ee4 Yes (*) /usr/lib/libc.so.6
(*): Shared library is missing debugging information.
on info shared.
i have built glibc from the abs with the debug option added, that built 2 packages, glibc and glibc-debug. i have installed the debug one with pacman, the files went into /usr/lib/debug/usr/lib.
i have set debug-file-directory to /usr/lib/debug/usr/lib, that didnt help either. i have manually tried to load the symbols from the debug file with symbol-file, no dice.
help would be much appreciated, doing this on debian systems is a piece of cake (just install the debug package for the library et voila), i must be doing something wrong. thank you
options=('debug' 'staticlibs')
these are the options i have set in the PKGBUILD, i might try giving CFLAGS directly, but compiling libc on this old dualcore takes quite a bit of time unfortunately
Similar Messages
-
Difference between VS2013 and GCC debug symbols
Hi guys,
I am writing you today as I am having trouble with my software. it has a Windows and a Linux version, each of them respectively using a static library (C++).
I notice that, if I build my Windows static library as RELEASE without any debug info : /O2, and Debug Information Format -> None and manually removed.pdb, the .lib file size about 40mb.
On the contrary, regarding the Linux library, I use GCC in order to build it as RELEASE as well: -O2 and -g0.
Once compiled, my .a file's size is about 12mb.
Well, those compilers are completely different, and the library's size doesn't really matter.
Of course, my application, which needs the library, has debug symbols generated (whether I am on Windows or Linux).
While debugging, I can have access to all of the members/classes of my application (and also the ones from my Windows library), using Microsoft Visual Studio 2013.
And now, while debugging with the Linux lib (within Eclipse), I have access to my class members, except the one from the library.
I was wondering what's happening in the background:
_ Why does it seem like the Windows version of my library contains more symbols/data, which allows me to debug my program using the library ?
_ Why can't I debug the objects from my Linux library ? (this one is about four times smaller than the Window's one)
If I try to access to some classes from my library, Eclipse/GDB says <incomplete type> in the Debug view.
I am lost on this point. Does anyone know about that ?
Thank you very much for your help !Hi ddocteur,
Appreciate your patience and sharing detailed information.
It does need to cost some time to to involve someone familiar with this topic to further look at this issue. Your detailed information will be quite helpful, and there might be some time delay.
Thanks for your sharing and understanding.
Best Regards,
Carl
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
SUNWspro C++ option to generate debug symbols for GDB
Hi,
I support a set of programs that must be built with SUNWspro 6.2 C++ compiler. When I try to debug these programs via gdb, gdb comlpains that the binaries have no debug symbols found. Is there an option to SUNWspro 6.2 C++ compiler to produce extra debugging symbols suitable for gdb debug sessions? NOTE: these exact binaries are debuggable using dbx, which does not complain about missing debug info. I would like to used gdb, however, if that is possible. Also NOTE: If I compile the whole thing in GCC, then GDB works fine .... bu, by policy, we cannot deploy GCC built niaries into our PROD environment.
Buidl with SUNWSpro 6.2 C++ compiler and debug via gdb. Is that possible?{color:#800000}+{color:#808080}And I feel I must ask why can't you use dbx? Are there any features missing or it is just an unfamiliar environment?+
+{color}+{color:#808080}{color:#0000ff}Very good question. To be frank, I am extremely envious of the modern C++ development environments enjoyed by the Linux/EclipseCDT/GCC community. I can't fully enjoy that environment because by my client's mandate is that I must use the SUNWspro 6.2 CC++ compiler. I can still use Eclipse with CDT 5.0 environment for development. And I can still build, for my own confirmation purposes via GCC, but when I deploy my build to production, I must make the final binary with. And that forces me to use dbx for debugging those builds. And it leaves me left out with all the very, very nice distributed debugging features that come with Eclipse CDT 5.0 (Eclipse CDT has no support for dbx, just gdb, and no support for SUNWspro C++ build chain. just GCC).
Stranded on this point, I use SunStudio11 with its dbx support to distibuted debugging of my production binary builds. It is way, way behind what others are doing with Linux/EclipseCDT/GCC.
In my ideal world, I would develop from Eclipse CDT 5.0 supported by the SUNWspro C++ build chain that would produce gdb-compatible compatible debugging symbols. Then I could take advantage of Eclipse's very nice distributed debugging capabilites.
No offense to SunStuido, but if I could achieve that reality I would no longer be envious of the Linux/MSFT/etc. C++ IDEs.
{color}{color}{color} -
Debugging servers with gdb and compiled with gcc
I have trouble debugging my servers on Solaris.
Setup: Solaris 8 (2.8?)
[user@ ~]$ gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.3/specs
Configured with: ../configure disable-nls with-as=/usr/ccs/bin/as --with-
ld=/usr/ccs/bin/ld
Thread model: posix
gcc version 3.2.3
[ ~]$ gdb -v
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.8".
I can run the server, debug and step through the code, inspecting variables. But when i
type "cont" to continue and let the server finish, what heppens is:
The server finishes (bec i get my result back to the client)
GDB hangs saying "Continue" and i wont get the GDB-promt back.
I have to kill the gdb from the unixprompt
Question: Has anyone tried to run and debug tuxedo servers using gcc and gdb?
any input is of value even if someone has had success on linux with gcc and gdb.
My guess is that it has to do with the threading of gdb and tuxedo that will not match.
Mats Gårdstad Friberg
Datarutin AB Swedenoptions=('debug' 'staticlibs')
these are the options i have set in the PKGBUILD, i might try giving CFLAGS directly, but compiling libc on this old dualcore takes quite a bit of time unfortunately -
No Debug Symbols for Xboard?
Hi guys, i'm trying to create debug symbols for xboard.
I've followed this ( http://wiki.archlinux.org/index.php/Deb … ing_Traces ) and i've created this:
# $Id: PKGBUILD 22465 2008-12-26 20:58:13Z jgc $
# Maintainer: Jason Chu <[email protected]>
# Contributor: Tom Newsom <[email protected]>
pkgname=xboard
pkgver=4.2.7
pkgrel=3
pkgdesc="XBoard is a graphical user interfaces for chess"
depends=('libxaw')
source=(ftp://gatekeeper.dec.com/pub/GNU/xboard/$pkgname-$pkgver.tar.gz)
license=('GPL2')
install=xboard.install
arch=('i686' 'x86_64')
url="http://www.tim-mann.org/chess.html"
md5sums=('b70ad8ff7569975302c5fb402d5eea32')
options=(!strip)
build() {
export CFLAGS="$CFLAGS -g"
export CXXFLAGS="$CXXFLAGS -g"
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --mandir=/usr/share/man || return 1
make || return 1
make prefix="${pkgdir}/usr" mandir="${pkgdir}/usr/share/man" install || return 1
rm -f "${pkgdir}/usr/share/info/dir"
after that i run makepkg and pacman -U xboard-4.2.7-3-i686.pkg.tar.gz
but when i start gdb xboard i see this:
#gdb xboard
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
(no debugging symbols found)
i've verified xboard in /usr/bin is updated. What did i do wrong?
ThanksHi guys, i'm trying to create debug symbols for xboard.
I've followed this ( http://wiki.archlinux.org/index.php/Deb … ing_Traces ) and i've created this:
# $Id: PKGBUILD 22465 2008-12-26 20:58:13Z jgc $
# Maintainer: Jason Chu <[email protected]>
# Contributor: Tom Newsom <[email protected]>
pkgname=xboard
pkgver=4.2.7
pkgrel=3
pkgdesc="XBoard is a graphical user interfaces for chess"
depends=('libxaw')
source=(ftp://gatekeeper.dec.com/pub/GNU/xboard/$pkgname-$pkgver.tar.gz)
license=('GPL2')
install=xboard.install
arch=('i686' 'x86_64')
url="http://www.tim-mann.org/chess.html"
md5sums=('b70ad8ff7569975302c5fb402d5eea32')
options=(!strip)
build() {
export CFLAGS="$CFLAGS -g"
export CXXFLAGS="$CXXFLAGS -g"
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --mandir=/usr/share/man || return 1
make || return 1
make prefix="${pkgdir}/usr" mandir="${pkgdir}/usr/share/man" install || return 1
rm -f "${pkgdir}/usr/share/info/dir"
after that i run makepkg and pacman -U xboard-4.2.7-3-i686.pkg.tar.gz
but when i start gdb xboard i see this:
#gdb xboard
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
(no debugging symbols found)
i've verified xboard in /usr/bin is updated. What did i do wrong?
Thanks -
How to get debugging symbols for libGL.so.1 library? (nvidia-utils)
Hello all
Will see, I am getting many crashes of applications in KDE. In the majority of these accidents I get a backtrace from KBugbuster (or whatever that application is called) that includes the library libGL.so.1. Here a small example:
#0 0xb7888424 in __kernel_vsyscall ()
#1 0xb54d198b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0xb57740ec in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3 0xb2926af3 in vlc_cond_wait () from /usr/lib/libvlccore.so.4
#4 0xb28a412e in ?? () from /usr/lib/libvlccore.so.4
#5 0xafac170c in ?? () from /usr/lib/libGL.so.1
#6 0x00000000 in ?? ()
I know libGL.so.1 is a library included into nvidia-utils package becouse:
$ pacman -Ql | grep /usr/lib/libGL.so.1
nvidia-utils /usr/lib/libGL.so.1
I downloaded the PKGBUILD for nvidia-utils through abs and I changed it a bit by adding the !strip flag at the option field:
options=('!strip')
But it did not work. Today, still, I don't have debugging symbols for libGL.so.1. I have corroborated this using nm command:
$ nm -a /usr/lib/libGL.so.1
nm: /usr/lib/libGL.so.1: no symbols
Watching the PKGBUILD for nvidia-utils I see this is not a build, apparently it only download the files and put them in the appropriate places. I think this is why the flag !strip does not work in this case.
So I have looked for information at the official nvidia site for compiling libGL.so.1 by myself but only appears complex information for developers not for a end user like me.
Can anyone guide me or something with this? please.
Thanks so much.
Last edited by zuargo (2011-11-21 03:03:16)Hi Alexander,
As you need read-only access to the SBO database, you could use a straight database connection. You could maybe use the following Microsoft php extension:
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=ccdf728b-1ea0-48a8-a84a-5052214caad9&displaylang=en
The Web Service wrapper for the DI Server is a good solution if you want to be able to write data back to SBO. Please note the DI Server requires additional licensing from SAP.
You don't mention what database platform is used by your e-shop site. An alternative approach would be to use an integration tool (something like Pentaho) to pull or push data between the e-shop database and the SBO database (again, this is only possible for reading data from SBO not writing).
Kind Regards,
Owen -
[Solved] Recompile Software with debugging symbols?
Has anyone an idea how to compile darktable with debugging symbols? I've grabbed the sources from the arch package and added the strings
export CFLAGS="$CFLAGS -O0 -fbuiltin -g"
export CXXFLAGS="$CXXFLAGS -O0 -fbuiltin -g"
to the PKGBUILD as the arch wiki described in the "Step by step debugging guide", but it don't seems to work proberly. I can't obtain a proper backtrace.
"gdb darktable" only gives me the message:
Reading symbols from /usr/bin/darktable...(no debugging symbols found)
What's my fault?
Last edited by Thorsten Reinbold (2013-12-29 14:40:22)Sorry, that was really stupid. Thanks for the hints, I was able to compile now. But the next problem is knocking on the door: when I try to get a backtrace, I get a "No stack."-message from gdb. Google wasn't helpful with this and those are my first steps in debugging. Maybe some has an Idea? I only need a full backtrace for an upstream bugreport.
Edit: got it. There was a gdb Zombie in the background.
Solved!
Last edited by Thorsten Reinbold (2013-12-29 14:40:04) -
Trying, failing to build qt5 with debugging symbols
As per this article, I modified my PKGBUILD like so (-developer-build):
build() {
cd ${_pkgfqn}
export QTDIR="${srcdir}"/${_pkgfqn}
export LD_LIBRARY_PATH="${QTDIR}"/qtbase/lib:"${QTDIR}"/qttools/lib:"${LD_LIBRARY_PATH}"
export QT_PLUGIN_PATH="${QTDIR}"/qtbase/plugins
export PATH="${srcdir}/python2-path:$PATH"
[[ "${CARCH}" = "i686" ]] && SSE2="-no-sse2"
PYTHON=/usr/bin/python2 ./configure -confirm-license -opensource -developer-build \
Don't know if I put the option in the wrong place, though, or if that information is outdated for qt5 - but it's not building for me. Here's where makepkg stops:
ln -s libQt5Widgets.so.5.4.0 libQt5Widgets.so
ln -s libQt5Widgets.so.5.4.0 libQt5Widgets.so.5
ln -s libQt5Widgets.so.5.4.0 libQt5Widgets.so.5.4
rm -f ../../lib/libQt5Widgets.so.5.4.0
mv -f libQt5Widgets.so.5.4.0 ../../lib/
rm -f ../../lib/libQt5Widgets.so
rm -f ../../lib/libQt5Widgets.so.5
rm -f ../../lib/libQt5Widgets.so.5.4
mv -f libQt5Widgets.so ../../lib/
mv -f libQt5Widgets.so.5 ../../lib/
mv -f libQt5Widgets.so.5.4 ../../lib/
make[3]: Leaving directory '/home/chris/Software/qt5/src/qt-everywhere-opensource-src-5.4.0/qtbase/src/widgets'
make[2]: Leaving directory '/home/chris/Software/qt5/src/qt-everywhere-opensource-src-5.4.0/qtbase/src'
Makefile:45: recipe for target 'sub-src-make_first' failed
make[1]: *** [sub-src-make_first] Error 2
make[1]: Leaving directory '/home/chris/Software/qt5/src/qt-everywhere-opensource-src-5.4.0/qtbase'
Makefile:70: recipe for target 'module-qtbase-make_first' failed
make: *** [module-qtbase-make_first] Error 2
==> ERROR: A failure occurred in build().
Aborting...
Not sure what happened. How do I get more information?
I need qt5-base with debugging symbols so I can get helpful traces for plasma-desktop crashes. So I should also ask: is it possible to modify the PKGBUILD to just compile qt5-base (and perhaps qt5-webkit and qt5-webengine)? qt5 is huge...
EDIT: and yes I had qtwebkit uninstalled at the time
Last edited by YAOMTC (2015-01-03 06:12:49)I hate it when the only result for a problem is an unanswered question...
Anyway, invoking make manually uncovers what is the problem - there's a bunch of errors similar to this:
../gui/text/qfontengine_ft.cpp:1146:39: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
for (int x = 0; x < slot->bitmap.width; x++) {
^
cc1plus: all warnings being treated as errors
So the -Werror is the culprit. Looking at the ./configure -help output it turns out that the -developer-build enables -Werror. But there's -no-warnings-are-errors. So yeah, passing -no-warnings-are-errors in addition to -developer-build should fix the compilation.
I have updated the wiki accordingly.
EDIT: the compilation gets a bit further, but it now fails because of tests.
EDIT2: it pays off to read configure rather than rely on some random suggestion from the wiki. There's a "-debug" option, which should just enable debugging. It hasn't finished compiling here yet, but it got a lot further than before.
Last edited by 6xx (2015-02-03 21:13:49) -
Hi, I have a Flash file someone else created that I need to debug and repair.
I get the following errors, when running debug:
Symbol 'nms_new_all.flv', Layer 'Layer 6', Frame 1, Line 1, Column 40
1172: Definition de.alex_uhlmann.animationpackage could not be found.
Symbol 'nms_new_all.flv', Layer 'Layer 6', Frame 1, Line 2, Column 50
1172: Definition de.alex_uhlmann.animationpackage.animation could not be found.
Symbol 'nms_new_all.flv', Layer 'Layer 6', Frame 1, Line 3, Column 48
1172: Definition de.alex_uhlmann.animationpackage.drawing could not be found.
Symbol 'nms_new_all.flv', Layer 'Layer 6', Frame 1, Line 4, Column 48
1172: Definition de.alex_uhlmann.animationpackage.utility could not be found.
Symbol 'nms_new_all.flv', Layer 'Layer 6', Frame 1, Line 5, Column 31
1172: Definition com.robertpenner.easing could not be found.
Symbol 'nms_new_all.flv', Layer 'Layer 6', Frame 1, Line 1, Column 40
1172: Definition de.alex_uhlmann.animationpackage could not be found.
Symbol 'nms_new_all.flv', Layer 'Layer 6', Frame 1, Line 2, Column 50
1172: Definition de.alex_uhlmann.animationpackage.animation could not be found.
Symbol 'nms_new_all.flv', Layer 'Layer 6', Frame 1, Line 3, Column 48
1172: Definition de.alex_uhlmann.animationpackage.drawing could not be found.
Symbol 'nms_new_all.flv', Layer 'Layer 6', Frame 1, Line 4, Column 48
1172: Definition de.alex_uhlmann.animationpackage.utility could not be found.
Symbol 'nms_new_all.flv', Layer 'Layer 6', Frame 1, Line 5, Column 31
1172: Definition com.robertpenner.easing could not be found.
Symbol 'nms_new_all.flv', Layer 'Layer 6', Frame 1, Line 7, Column 1
1120: Access of undefined property APCore.
That symbol is in my library.
When I go to the code, it shows:
import de.alex_uhlmann.animationpackage.*;
import de.alex_uhlmann.animationpackage.animation.*;
import de.alex_uhlmann.animationpackage.drawing.*;
import de.alex_uhlmann.animationpackage.utility.*;
import com.robertpenner.easing.*;
APCore.initialize();
nextBtn._alpha = 0;
I downloaded what I believe to be the correct animation package from here, versions 2.0 and 3.0, for Flash Pro CC2014, Flash Player 13:
AnimationPackage
I have no idea how I am supposed to import this package into my library, since none of the files are available to import, or what procedure I'm supposed to follow to correct this error. I emailed the programmer, but I have no idea if he is even still around. Does anyone have an answer on how to resolve this? Email me at [email protected] if you want the FLA file, since I can't attach it here. Thanks for the help!you need the classes mentioned after 'Definition" in the lines below and they should be place in de/alex_uhlmann/animationpackage subdirectory of your default directory.
Symbol 'nms_new_all.flv', Layer 'Layer 6', Frame 1, Line 2, Column 50
1172: Definition de.alex_uhlmann.animationpackage.animation could not be found.
Symbol 'nms_new_all.flv', Layer 'Layer 6', Frame 1, Line 3, Column 48
1172: Definition de.alex_uhlmann.animationpackage.drawing could not be found.
Symbol 'nms_new_all.flv', Layer 'Layer 6', Frame 1, Line 4, Column 48
1172: Definition de.alex_uhlmann.animationpackage.utility could not be found.
you also need penner's easing class in com/robertpanner -
Cannot compile code with debug symbols
I have a source code file that will not compile with debug symbols. I get an assertion failed in file ../src/regman/regman_local.cc at line 5224. The compile command and output are below.
/opt/SUNWspro/bin/cc -g -xarch=v9b -xopenmp=noopt -xc99=all -c -o output/spirecon.o spirecon.c
cg: assertion failed in file ../src/regman/regman_local.cc at line 5224
cg: Out of range
cg: 1 errors
cc: cg failed for spirecon.c
However without the debug options and using the default -fast switch, i.e.
/opt/SUNWspro/bin/cc -fast -xarch=v9b -xopenmp=noopt -xc99=all -c -o output/spirecon.o spirecon.c
it compiles without any problems.
I was hoping someone might have a suggestion as to how what might cause this type of error.I have been told this is bugid: 4420630
It only happens when you try to use the optimizing
backend code generator without any optimization.
(That's what -xopenmp=noopt does)
If you add an -xO1 flag the assertion should go away, but you
will also lose some (but not all) of your debuggability.
--chris -
[solved]How to compile a software with debug symbol from aur?
How does auch developers compile their project? Seems that archlinux user always trying to avoid build software from git/svn directly. But after searching a lot I sill haven't found how to compile with debug symbol while using PKGBUILD.
Anyone help?
Last edited by ranjiao (2009-08-27 14:28:09)ranjiao wrote:PKGBUILD calls autogen.sh before calling make, and gnome-autogen.sh is called in autogen.sh
I have tried to add --enable-debug while calling autogen.sh and gnome-autogen.sh, but it doesn't work.
Isn't PKGBUILD just a script? It calls what you make it calls by adding commands... -
Makepkg hangs at "Stripping debugging symbols from binaries [...]"
Hi,
I made a PKGBUILD for the io (programming language) virtual machine but makepkg hangs at:
==> Tidying install...
-> Removing info/doc files...
-> Compressing man pages...
-> Stripping debugging symbols from binaries and libraries...
The PKGBUILD:
# Contributor:
pkgname=io
pkgver=2008.03.30
pkgrel=1
pkgdesc="Virtual machine for Io, a small, prototype-based programming language"
url="http://www.iolanguage.com/"
arch=(i686)
license=()
depends=()
makedepends=()
options=()
conflicts=()
source=(http://github.com/tarballs/stevedekorte-io-4debb4b25740b8dd46ad16f43f04f0fc5b4a23e1.tar.gz)
md5sums=('')
build() {
mv $startdir/src/stevedekorte-io-4debb4b25740b8dd46ad16f43f04f0fc5b4a23e1 $startdir/src/$pkgname-$pkgver
cd $startdir/src/$pkgname-$pkgver
make vm || return 1
make INSTALL_PREFIX=${startdir}/pkg/usr install
rm -rf ${startdir}/src/io-2008.03.30/_build
has anyone a hint where to start searching for a solution? Or can anyone explain to me what "Stripping debugging symbols from binaries and libraries ..." in this context means?
Thanks,
hightowerOk,
First of all thanks to shining.
I found the reason. The responsible piece of code:
for file in $(find {,usr/{,local/},opt/*/}{bin,lib,sbin} -type f 2> /dev/null || true); do
case "$(file -biz "$file")" in
*application/x-sharedlib*) # Libraries
/usr/bin/strip --strip-debug "$file";;
*application/x-executable*) # Binaries
/usr/bin/strip "$file";;
esac
done
As some filenames contain spaces they are split in the wrong way so the "filename storage" contains wrong file names. As several files contain " - " the script tries to read from stdin which causes the hang (I suppose). I'll file a bug report.
hightower
Last edited by hightower (2008-04-26 21:54:48) -
Getting debug symbols for stable version of KDE apps
Is there a way of loading a stable version of KDE with the debug symbols compiled in ? I use KDE extensively and need a stable working environment however I would like to contribute useful bug reports.
Ability to add debug versions of specific apps would be a nice to have.
thanks for reading and happy thanksgiving !
VikramIf, for example, kwin is crashing, which kde packages need to be rebuilt?
I just tried building & installing kdebase-workspace, but I ended up destroying my kde installation completely and had to uninstall and reinstall every kde package to get it working again.
Would I have to build everything in abs extra/kde*? -
Hi,
I'm using Kde but kwin crashes very often. I have submitted the bug to bugs.kde (http://bugs.kde.org/show_bug.cgi?id=150130) but I cannot manage to install debug symbols.
I have read the wiki (http://wiki.archlinux.org/index.php/Deb … ing_Traces), and after recompiling glibc all is the same.
This is the trace:
(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1231751456 (LWP 2910)]
[KCrash handler]
#6 0xb774d637 in NETWinInfo::windowType () from /opt/kde/lib/libkdecore.so.4
#7 0xb670e186 in KWinInternal::Client::windowType ()
from /opt/kde/lib/libkdeinit_kwin.so
#8 0xb670ea91 in KWinInternal::Client::isDesktop ()
from /opt/kde/lib/libkdeinit_kwin.so
#9 0xb670f2b2 in KWinInternal::Client::isSpecialWindow ()
from /opt/kde/lib/libkdeinit_kwin.so
#10 0xb67577fd in KWinInternal::findClientInList<KWinInternal::FetchNameInternalPredicate> () from /opt/kde/lib/libkdeinit_kwin.so
#11 0xb6732ace in KWinInternal::Client::setCaption ()
from /opt/kde/lib/libkdeinit_kwin.so
#12 0xb674c7b0 in KWinInternal::Client::manage ()
from /opt/kde/lib/libkdeinit_kwin.so
#13 0xb674e676 in KWinInternal::Workspace::createClient ()
from /opt/kde/lib/libkdeinit_kwin.so
#14 0xb6751ccd in KWinInternal::Workspace::workspaceEvent ()
from /opt/kde/lib/libkdeinit_kwin.so
#15 0xb6751dce in KWinInternal::Application::x11EventFilter ()
from /opt/kde/lib/libkdeinit_kwin.so
#16 0xb70b0575 in ?? () from /opt/qt/lib/libqt-mt.so.3
#17 0xbffba0b0 in ?? ()
#18 0xbffb9f88 in ?? ()
#19 0x00100000 in ?? ()
#20 0xb75c7dd0 in ?? () from /opt/qt/lib/libqt-mt.so.3
#21 0xb75c7dd0 in ?? () from /opt/qt/lib/libqt-mt.so.3
#22 0x0000000c in ?? ()
#23 0xbffb9e98 in ?? ()
#24 0xb70bf548 in QApplication::x11ProcessEvent ()
from /opt/qt/lib/libqt-mt.so.3
Backtrace stopped: frame did not save the PC
Any suggestions?
Thanks.This error is still occurring for the latest HP-UX JDK 1.5.0_05. I created a simple servlet that performed the following functions:
1) Write output to PrintWriter from HttpServletResponse
2) Overrirde the init() method for the servlet
3) Set a System Property
4) Open a client socket to a DMI Listener Port
It appears that items 1-3 completed properly, but the server crashed when opening a client socket from within a servlet container. This is now a highly visible issue that is preventing some of my company's customers from utilizing SunOne as a web server platform for our web interface. I am going to open a support issue with Sun support and see where things go from there. If anyone has any updated information, please post soon. Thanks,
Morgan Monger
Senior Software Developer
Datatel, Inc. -
Basically I've been using Visual Studio 2005 for a few weeks now moving a Pocket PC project from 2003 to 2005. When I hit the Start Debugging Button every time until today the project would rebuild and deploy to my pocket PC allowing me to debug etc but now I get
The remote connection to the device has been lost.
Please verify the device conection and restart debugging.
I used to get this problem in VS2003 sometimes and just like the numerous posts on different sites that I've looked at the problem eventually goes away and I'm none the wiser. One guy said that he found that if he went to bed the problem was resolved when he came back!
My PDA running Windows 2003 2nd Edition is directly connected to my PC via a USB port. I've rebooted my PC and done a soft reset on the PDA but it didn't help. I'm using ActiveSync 4.1.
Does anyone know how to resolve this problem?I still can't debug. I have just tried a hard reset and I get the same problem
The build output is as follows
------ Build started: Project: BO, Configuration: Debug Any CPU ------
BO -> C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\bin\Debug\BO.dll
------ Build started: Project: Printing, Configuration: Debug Any CPU ------
No way to resolve conflict between "System.Data.SqlServerCe, Version=3.0.3600.0, Culture=neutral, PublicKeyToken=3be235df1c8d2ad3, Retargetable=Yes" and "System.Data.SqlServerCe, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=969db8053d3322ac, Retargetable=Yes". Choosing "System.Data.SqlServerCe, Version=3.0.3600.0, Culture=neutral, PublicKeyToken=3be235df1c8d2ad3, Retargetable=Yes" arbitrarily.
Printing -> C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\Printing\bin\Debug\Printing.dll
------ Build started: Project: MobileSeller, Configuration: Debug Any CPU ------
Consider app.config remapping of assembly "System.Data, Culture=neutral, PublicKeyToken=969db8053d3322ac, Retargetable=Yes" from Version "1.0.5000.0" [] to Version "2.0.0.0" [C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE\System.Data.dll] to solve conflict and get rid of warning.
Consider app.config remapping of assembly "System.Windows.Forms, Culture=neutral, PublicKeyToken=969db8053d3322ac, Retargetable=Yes" from Version "1.0.5000.0" [] to Version "2.0.0.0" [C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE\System.Windows.Forms.dll] to solve conflict and get rid of warning.
Consider app.config remapping of assembly "System, Culture=neutral, PublicKeyToken=969db8053d3322ac, Retargetable=Yes" from Version "1.0.5000.0" [] to Version "2.0.0.0" [C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE\System.dll] to solve conflict and get rid of warning.
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets : warning MSB3247: Found conflicts between different versions of the same dependent assembly.
MobileSeller -> C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\bin\Debug\MobileSeller.exe
Done building project "MobileSeller.vbproj".
------ Skipped Deploy: Project: BO, Configuration: Debug Any CPU ------
Project not selected to build for this solution configuration
------ Skipped Deploy: Project: Printing, Configuration: Debug Any CPU ------
Project not selected to build for this solution configuration
------ Deploy started: Project: MobileSeller, Configuration: Debug Any CPU ------
Deploying 'C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\CompactFramework\2.0\v2.0\windowsce\wce400\armv4\NETCFV2.ppc.armv4.cab'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\bin\Debug\System.Data.Common.dll'
Deploying 'C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\SQL Server\Mobile\v2.0\wce400\ARMV4\sqlce20.ppc.wce4.armv4.CAB'
Deploying 'C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\SQL Server\Mobile\v2.0\wce400\ARMV4\sqlce20.dev.ppc.wce4.armv4.cab'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\bin\Debug\InTheHand.Data.Adoce.dll'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\bin\Debug\InTheHand.Interop.dll'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\Printing\bin\Debug\PocketHTMLprint_NetCF.dll'
Deploying 'C:\Dev\MILLAR CODE CABINET\VS2003CF\References\USICF.dll'
Deploying 'C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\SQL Server\Mobile\v3.0\wce400\ARMV4\sqlce30.ppc.wce4.armv4.CAB'
Deploying 'C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\SQL Server\Mobile\v3.0\wce400\ARMV4\sqlce30.repl.ppc.wce4.armv4.CAB'
Deploying 'C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\SQL Server\Mobile\v3.0\wce400\ARMV4\sqlce30.dev.enu.ppc.wce4.armv4.CAB'
Deploying 'C:\Dev\VS2005CF\References\release\Signature.dll'
Deploying 'C:\Dev\VS2005CF\References\release\RealUpDown.dll'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\Printing\bin\Debug\Printing.dll'
Deploying 'C:\Dev\VS2005CF\References\release\PhoneAPI.dll'
Deploying 'C:\Dev\VS2005CF\References\release\MVnetApplication.dll'
Deploying 'C:\Dev\VS2005CF\References\release\MobileHList.dll'
Deploying 'C:\Dev\VS2005CF\References\release\MobileGrid.dll'
Deploying 'C:\Dev\VS2005CF\References\release\ImageButtons.dll'
Deploying 'C:\Dev\VS2005CF\References\release\CreditCardValidator.dll'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\BO\bin\Debug\BO.dll'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\View.ico'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Unscheduled.ico'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Unschedule.ico'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\tr.gif'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\top.gif'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Tools.ico'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\tl.gif'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\SmlButUnPressed.jpg'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\SmlButSquUnPressed.jpg'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\SmlButSquPressed.jpg'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\SmlButPressed.jpg'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Select1.jpg'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\sekonda3.gif'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\sekonda2.gif'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\sekonda1.gif'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\ScrewDriver.ico'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Scheduled.ico'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Scheduled.gif'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Schedule.ico'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Scan.ico'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Save.ICO'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Remove.ico'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\ReceiptTemplate.htm'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Problem.ico'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\PrintDC.dll'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Print.ico'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Prev.ico'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\bin\Debug\PocketHTMLprint_NetCF.dll'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\pocketHTMLprint.dll'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Phone.gif'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Page.ico'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\NotesExist.ICO'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Notes.ICO'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Next.ico'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\NewCust.ico'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\MVNetLogoSmall.png'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\mtiny.jpg'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\MoneyScrew.ico'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Money.ico'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Magnify.ico'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Lock.ico'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Line.gif'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\InvoiceTemplate.htm'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\gradus4.gif'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\gradus3.gif'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\gradus2.gif'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\gradus1.gif'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\FindVisit.ico'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\FindCustomer.ico'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Find.ico'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\DropDown.jpg'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\dentsplus3.gif'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\dentsplus2.gif'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\dentsplus1.gif'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\DentDevilsCar.gif'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\DentDevils2.gif'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\DentDevils1.gif'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Default2.gif'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Default1.gif'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Cust.ico'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Completed.gif'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Cancelled.gif'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\Call.ico'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\br.gif'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\bottom.gif'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\bl.gif'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\BigButUnPressed.jpg'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\Resources\BigButPressed.jpg'
Deploying 'C:\Dev\millar\MobileSeller\code\2005\MobileSeller\MobileSeller\MobileSeller\bin\Debug\MobileSeller.exe'
Deploying 'C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\CompactFramework\2.0\v2.0\windowsce\diagnostics\System_SR_enu.cab'
========== Build: 3 succeeded or up-to-date, 0 failed, 0 skipped ==========
========== Deploy: 1 succeeded, 0 failed, 2 skipped ==========
Visual studio indicates that
Deployment Started
Depolyment Succeeded
Loading Symbols
Ready
and then I get the same problem ie The Remote connection to the device has been lost
Maybe you are looking for
-
Hello - I am receiving this error code on all my Apple computers (iMac and MacBook) which have the most current Mac OS X 10.6.7. I'm a photographer and burn CDs frequently and out of the blue began having issues two days ago: The disc can't be burned
-
How to set up a second Time Capsule as a Hard Drive?
Hi, I have a macbook pro and the older version of Time Capsule for back up. I was needing more space in my hard drive, so I went shopping for an external hard drive today. The largest drive they had in store here was a 1TB lacie. As I need more space
-
Set up assistant stuck transferring data from iMac to iMac
Hi there. I've got a 2008 iMac running Mavericks and have just upgraded to the new 27" iMac. During set up I opted to transfer my information from the old iMac using wi fi. Once I saw that it was going to take 51 hours, I found an ethernet cable and
-
There is no separate search window in Firefox as there is when this program is picked up by IE. I did a couple of searches with just the Google search window in Firefox, but the results did not give any indication that Norton had reviewed them. Norto
-
Summing and Finding Maximum in 2d array
So I have an 2d array of numbers and I am trying to find the maximum sum of the rows and give back the row number. So far I can get the sum and the maximum number but I need to give back the row number of the maximum value. public static void RowSumR