I was getting regular lockups with the debian gcfclient binary - it would just lock and GDB would report nothing but the client had to be killed. Installed Valgrind and ran the client with that and naturally it didn't lockup at all (at least untill I had to stop). The only difference is I installed the sound package (deb crossfire-client-sounds). I will keep on playing. There were some errors showing in the Valgrind log but as I say it appeared to run fine. Maybe I'll try again wo/ sound although it is nice to have noises again. On Thu, 2004-09-30 at 09:40, Bob Tanner wrote: > On Wednesday 22 September 2004 02:34 pm, Todd Mitchell wrote: > > Bob Tanner wrote: > > >UNLike the official 1.7.0 debian release ;-) sound IS active in this > > > package, but -fully- UNTESTED. > > > > > >Just wanted to get this out there for people to play with (Todd are you > > >reading this? :-P) > > > > I have been using your debian built client for a while now - it > > installed fine on my system (unstable - mostly to date) but I did notice > > it would hang after playing for a while. I haven't had time to figure > > out if that is me or the client since I am using a *mostly* updated > > unstable system. I'll try to capture the error with gdb if it > > persists. I will update the client from your source and check it again > > soon (However I may be watching STARWARS with my kids over the next few > > nights). > > I'll build a -dbg version so the symbols stay out there to make gdb work a > little better. > > As an aside, I've found the valgrind works pretty well on stripped binaries. > > These are the debian packages I have installed: > > kcachegrind > valgrind -------------- next part -------------- ==3690== Memcheck, a memory error detector for x86-linux. ==3690== Copyright (C) 2002-2004, and GNU GPL'd, by Julian Seward et al. ==3690== Using valgrind-2.2.0, a program supervision framework for x86-linux. ==3690== Copyright (C) 2000-2004, and GNU GPL'd, by Julian Seward et al. ==3690== ==3690== My PID = 3690, parent PID = 3111. Prog and args are: ==3690== /usr/games/gcfclient ==3690== ==3690== Valgrind library directory: /usr/lib/valgrind ==3690== Command line ==3690== /usr/games/gcfclient ==3690== Startup, with flags: ==3690== --tool=memcheck ==3690== -v ==3690== --log-file=gcfV.txt ==3690== -- ==3690== Contents of /proc/version: ==3690== Linux version 2.6.8-1-k7 ( dilinger at toaster.hq.voxel.net ) (gcc version 3.3.4 (Debian 1:3.3.4-11)) #1 Mon Sep 13 23:56:00 EDT 2004 ==3690== Reading syms from /usr/games/gcfclient (0x8048000) ==3690== object doesn't have a symbol table ==3690== object doesn't have any debug info ==3690== Reading syms from /lib/ld-2.3.2.so (0x1B8E4000) ==3690== object doesn't have a symbol table ==3690== object doesn't have any debug info ==3690== Reading syms from /usr/lib/valgrind/stage2 (0xB0000000) ==3690== Reading syms from /lib/ld-2.3.2.so (0xB1000000) ==3690== object doesn't have a symbol table ==3690== object doesn't have any debug info ==3690== Reading syms from /lib/tls/libdl-2.3.2.so (0xB1023000) ==3690== object doesn't have a symbol table ==3690== object doesn't have any debug info ==3690== Reading syms from /lib/tls/libc-2.3.2.so (0xB1026000) ==3690== object doesn't have a symbol table ==3690== object doesn't have any debug info ==3690== Reading syms from /usr/lib/valgrind/vgskin_memcheck.so (0xB1262000) ==3690== Reading suppressions file: /usr/lib/valgrind/default.supp ==3690== REDIRECT soname:libc.so.6(__GI___errno_location) to soname:libpthread.so.0(__errno_location) ==3690== REDIRECT soname:libc.so.6(__errno_location) to soname:libpthread.so.0(__errno_location) ==3690== REDIRECT soname:libc.so.6(__GI___h_errno_location) to soname:libpthread.so.0(__h_errno_location) ==3690== REDIRECT soname:libc.so.6(__h_errno_location) to soname:libpthread.so.0(__h_errno_location) ==3690== REDIRECT soname:libc.so.6(__GI___res_state) to soname:libpthread.so.0(__res_state) ==3690== REDIRECT soname:libc.so.6(__res_state) to soname:libpthread.so.0(__res_state) ==3690== REDIRECT soname:libc.so.6(stpcpy) to *vgpreload_memcheck.so*(stpcpy) ==3690== REDIRECT soname:libc.so.6(strnlen) to *vgpreload_memcheck.so*(strnlen) ==3690== REDIRECT soname:ld-linux.so.2(stpcpy) to *vgpreload_memcheck.so*(stpcpy) ==3690== REDIRECT soname:ld-linux.so.2(strchr) to *vgpreload_memcheck.so*(strchr) ==3690== ==3690== Reading syms from /usr/lib/valgrind/vg_inject.so (0x1B8FE000) ==3690== Reading syms from /usr/lib/valgrind/vgpreload_memcheck.so (0x1B901000) ==3690== Reading syms from /usr/lib/libgtk-1.2.so.0.9.1 (0x1B917000) ==3690== object doesn't have a symbol table ==3690== object doesn't have any debug info ==3690== Reading syms from /usr/lib/libgdk-1.2.so.0.9.1 (0x1BA60000) ==3690== object doesn't have a symbol table ==3690== object doesn't have any debug info ==3690== Reading syms from /usr/lib/libgmodule-1.2.so.0.0.10 (0x1BA99000) ==3690== object doesn't have a symbol table ==3690== object doesn't have any debug info ==3690== Reading syms from /usr/lib/libglib-1.2.so.0.0.10 (0x1BA9D000) ==3690== object doesn't have a symbol table ==3690== object doesn't have any debug info ==3690== Reading syms from /lib/tls/libdl-2.3.2.so (0x1BABF000) ==3690== object doesn't have a symbol table ==3690== object doesn't have any debug info ==3690== Reading syms from /usr/X11R6/lib/libXi.so.6.0 (0x1BAC3000) ==3690== object doesn't have a symbol table ==3690== object doesn't have any debug info ==3690== Reading syms from /usr/X11R6/lib/libXext.so.6.4 (0x1BACE000) ==3690== object doesn't have a symbol table ==3690== object doesn't have any debug info ==3690== Reading syms from /usr/X11R6/lib/libX11.so.6.2 (0x1BADD000) ==3690== object doesn't have a symbol table ==3690== object doesn't have any debug info ==3690== Reading syms from /lib/tls/libm-2.3.2.so (0x1BBA5000) ==3690== object doesn't have a symbol table ==3690== object doesn't have any debug info ==3690== Reading syms from /usr/lib/libpng12.so.0.1.2.5 (0x1BBC9000) ==3690== object doesn't have a symbol table ==3690== object doesn't have any debug info ==3690== Reading syms from /usr/lib/libz.so.1.2.1.2 (0x1BBEE000) ==3690== object doesn't have a symbol table ==3690== object doesn't have any debug info ==3690== Reading syms from /lib/tls/libc-2.3.2.so (0x1BC01000) ==3690== object doesn't have a symbol table ==3690== object doesn't have any debug info ==3690== TRANSLATE: 0x1BC757C0 redirected to 0x1B90586A ==3690== TRANSLATE: 0x1BC75090 redirected to 0x1B904E4C ==3690== TRANSLATE: 0x1BC75220 redirected to 0x1B9053DA ==3690== TRANSLATE: 0x1BC7BB00 redirected to 0x1B904740 ==3690== Reading syms from /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2 (0x1B909000) ==3690== object doesn't have a symbol table ==3690== object doesn't have any debug info ==3690== TRANSLATE: 0x1BC752E0 redirected to 0x1B90592D ==3690== Reading syms from /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2 (0x1C644000) ==3690== object doesn't have a symbol table ==3690== object doesn't have any debug info ==3690== Reading syms from /lib/tls/libnss_compat-2.3.2.so (0x1C66F000) ==3690== object doesn't have a symbol table ==3690== object doesn't have any debug info ==3690== Reading syms from /lib/tls/libnsl-2.3.2.so (0x1C678000) ==3690== object doesn't have a symbol table ==3690== object doesn't have any debug info ==3690== Reading syms from /lib/tls/libnss_nis-2.3.2.so (0x1C68E000) ==3690== object doesn't have a symbol table ==3690== object doesn't have any debug info ==3690== Reading syms from /lib/tls/libnss_files-2.3.2.so (0x1C699000) ==3690== object doesn't have a symbol table ==3690== object doesn't have any debug info ==3690== Syscall param write(buf) contains uninitialised or unaddressable byte(s) ==3690== at 0x1BCCFF4E: write (in /lib/tls/libc-2.3.2.so) ==3690== by 0x1BB309FE: _X11TransWrite (in /usr/X11R6/lib/libX11.so.6.2) ==3690== by 0x1BB10261: (within /usr/X11R6/lib/libX11.so.6.2) ==3690== by 0x1BB1190C: _XReply (in /usr/X11R6/lib/libX11.so.6.2) ==3690== Address 0x1BD43418 is 152 bytes inside a block of size 2048 alloc'd ==3690== at 0x1B905901: calloc (vg_replace_malloc.c:176) ==3690== by 0x1BB0209C: XOpenDisplay (in /usr/X11R6/lib/libX11.so.6.2) ==3690== by 0x1BA6A678: gdk_init_check (in /usr/lib/libgdk-1.2.so.0.9.1) ==3690== by 0x1B9B6C10: gtk_init_check (in /usr/lib/libgtk-1.2.so.0.9.1) ==3690== Reading syms from /usr/lib/libXcursor.so.1.0.2 (0x1C6C3000) ==3690== object doesn't have a symbol table ==3690== object doesn't have any debug info ==3690== Reading syms from /usr/lib/libXrender.so.1.2.2 (0x1C6CD000) ==3690== object doesn't have a symbol table ==3690== object doesn't have any debug info ==3690== ==3690== Syscall param write(buf) contains uninitialised or unaddressable byte(s) ==3690== at 0x1BCCFF4E: write (in /lib/tls/libc-2.3.2.so) ==3690== by 0x1BB309FE: _X11TransWrite (in /usr/X11R6/lib/libX11.so.6.2) ==3690== by 0x1BB10261: (within /usr/X11R6/lib/libX11.so.6.2) ==3690== by 0x1BB100E6: _XFlush (in /usr/X11R6/lib/libX11.so.6.2) ==3690== Address 0x1BD433AC is 44 bytes inside a block of size 2048 alloc'd ==3690== at 0x1B905901: calloc (vg_replace_malloc.c:176) ==3690== by 0x1BB0209C: XOpenDisplay (in /usr/X11R6/lib/libX11.so.6.2) ==3690== by 0x1BA6A678: gdk_init_check (in /usr/lib/libgdk-1.2.so.0.9.1) ==3690== by 0x1B9B6C10: gtk_init_check (in /usr/lib/libgtk-1.2.so.0.9.1) ==3690== Reading syms from /lib/libnss_db-2.2.so (0x1B90F000) ==3690== object doesn't have a symbol table ==3690== object doesn't have any debug info ==3690== Reading syms from /usr/lib/libdb3.so.3.0.2 (0x1C838000) ==3690== object doesn't have a symbol table ==3690== object doesn't have any debug info ==3690== Reading syms from /lib/tls/libnss_dns-2.3.2.so (0x1C6A4000) ==3690== object doesn't have a symbol table ==3690== object doesn't have any debug info ==3690== Reading syms from /lib/tls/libresolv-2.3.2.so (0x1C6A9000) ==3690== object doesn't have a symbol table ==3690== object doesn't have any debug info ==3690== ==3690== Conditional jump or move depends on uninitialised value(s) ==3690== at 0x806A7FC: SetupCmd (in /usr/games/gcfclient) ==3690== by 0x8069E3F: DoClient (in /usr/games/gcfclient) ==3690== by 0x806A35B: negotiate_connection (in /usr/games/gcfclient) ==3690== by 0x8064784: main (in /usr/games/gcfclient) ==3690== ==3690== Conditional jump or move depends on uninitialised value(s) ==3690== at 0x8061D6B: do_timeout (in /usr/games/gcfclient) ==3690== by 0x1BAADEC3: (within /usr/lib/libglib-1.2.so.0.0.10) ==3690== by 0x1BAAD03C: (within /usr/lib/libglib-1.2.so.0.0.10) ==3690== by 0x1BAAD4F3: (within /usr/lib/libglib-1.2.so.0.0.10) ==3690== ==3690== Conditional jump or move depends on uninitialised value(s) ==3690== at 0x805BA96: draw_lists (in /usr/games/gcfclient) ==3690== by 0x8061D7A: do_timeout (in /usr/games/gcfclient) ==3690== by 0x1BAADEC3: (within /usr/lib/libglib-1.2.so.0.0.10) ==3690== by 0x1BAAD03C: (within /usr/lib/libglib-1.2.so.0.0.10) ==3690== ==3690== Conditional jump or move depends on uninitialised value(s) ==3690== at 0x805BAA8: draw_lists (in /usr/games/gcfclient) ==3690== by 0x8061D7A: do_timeout (in /usr/games/gcfclient) ==3690== by 0x1BAADEC3: (within /usr/lib/libglib-1.2.so.0.0.10) ==3690== by 0x1BAAD03C: (within /usr/lib/libglib-1.2.so.0.0.10) ==3690== ==3690== Syscall param writev(vector[...]) contains uninitialised or unaddressable byte(s) ==3690== at 0x1BCD6F7D: (within /lib/tls/libc-2.3.2.so) ==3690== Address 0x1BD4344D is 205 bytes inside a block of size 2048 alloc'd ==3690== at 0x1B905901: calloc (vg_replace_malloc.c:176) ==3690== by 0x1BB0209C: XOpenDisplay (in /usr/X11R6/lib/libX11.so.6.2) ==3690== by 0x1BA6A678: gdk_init_check (in /usr/lib/libgdk-1.2.so.0.9.1) ==3690== by 0x1B9B6C10: gtk_init_check (in /usr/lib/libgtk-1.2.so.0.9.1) ==3690== discard syms at 0x1C66F000-0x1C677000 in /lib/tls/libnss_compat-2.3.2.so due to munmap() ==3690== discard syms at 0x1C68E000-0x1C698000 in /lib/tls/libnss_nis-2.3.2.so due to munmap() ==3690== discard syms at 0x1C678000-0x1C68D000 in /lib/tls/libnsl-2.3.2.so due to munmap() ==3690== discard syms at 0x1B90F000-0x1B914000 in /lib/libnss_db-2.2.so due to munmap() ==3690== discard syms at 0x1C838000-0x1C8E2000 in /usr/lib/libdb3.so.3.0.2 due to munmap() ==3690== discard syms at 0x1C699000-0x1C6A3000 in /lib/tls/libnss_files-2.3.2.so due to munmap() ==3690== discard syms at 0x1C6A4000-0x1C6A8000 in /lib/tls/libnss_dns-2.3.2.so due to munmap() ==3690== discard syms at 0x1C6A9000-0x1C6BB000 in /lib/tls/libresolv-2.3.2.so due to munmap() ==3690== ==3690== ERROR SUMMARY: 176 errors from 7 contexts (suppressed: 57 from 1) ==3690== ==3690== 1 errors in context 1 of 7: ==3690== Syscall param writev(vector[...]) contains uninitialised or unaddressable byte(s) ==3690== at 0x1BCD6F7D: (within /lib/tls/libc-2.3.2.so) ==3690== Address 0x1BD4344D is 205 bytes inside a block of size 2048 alloc'd ==3690== at 0x1B905901: calloc (vg_replace_malloc.c:176) ==3690== by 0x1BB0209C: XOpenDisplay (in /usr/X11R6/lib/libX11.so.6.2) ==3690== by 0x1BA6A678: gdk_init_check (in /usr/lib/libgdk-1.2.so.0.9.1) ==3690== by 0x1B9B6C10: gtk_init_check (in /usr/lib/libgtk-1.2.so.0.9.1) ==3690== ==3690== 1 errors in context 2 of 7: ==3690== Conditional jump or move depends on uninitialised value(s) ==3690== at 0x806A7FC: SetupCmd (in /usr/games/gcfclient) ==3690== by 0x8069E3F: DoClient (in /usr/games/gcfclient) ==3690== by 0x806A35B: negotiate_connection (in /usr/games/gcfclient) ==3690== by 0x8064784: main (in /usr/games/gcfclient) ==3690== ==3690== 3 errors in context 3 of 7: ==3690== Conditional jump or move depends on uninitialised value(s) ==3690== at 0x805BAA8: draw_lists (in /usr/games/gcfclient) ==3690== by 0x8061D7A: do_timeout (in /usr/games/gcfclient) ==3690== by 0x1BAADEC3: (within /usr/lib/libglib-1.2.so.0.0.10) ==3690== by 0x1BAAD03C: (within /usr/lib/libglib-1.2.so.0.0.10) ==3690== ==3690== 9 errors in context 4 of 7: ==3690== Syscall param write(buf) contains uninitialised or unaddressable byte(s) ==3690== at 0x1BCCFF4E: write (in /lib/tls/libc-2.3.2.so) ==3690== by 0x1BB309FE: _X11TransWrite (in /usr/X11R6/lib/libX11.so.6.2) ==3690== by 0x1BB10261: (within /usr/X11R6/lib/libX11.so.6.2) ==3690== by 0x1BB100E6: _XFlush (in /usr/X11R6/lib/libX11.so.6.2) ==3690== Address 0x1BD433AC is 44 bytes inside a block of size 2048 alloc'd ==3690== at 0x1B905901: calloc (vg_replace_malloc.c:176) ==3690== by 0x1BB0209C: XOpenDisplay (in /usr/X11R6/lib/libX11.so.6.2) ==3690== by 0x1BA6A678: gdk_init_check (in /usr/lib/libgdk-1.2.so.0.9.1) ==3690== by 0x1B9B6C10: gtk_init_check (in /usr/lib/libgtk-1.2.so.0.9.1) ==3690== ==3690== 14 errors in context 5 of 7: ==3690== Syscall param write(buf) contains uninitialised or unaddressable byte(s) ==3690== at 0x1BCCFF4E: write (in /lib/tls/libc-2.3.2.so) ==3690== by 0x1BB309FE: _X11TransWrite (in /usr/X11R6/lib/libX11.so.6.2) ==3690== by 0x1BB10261: (within /usr/X11R6/lib/libX11.so.6.2) ==3690== by 0x1BB1190C: _XReply (in /usr/X11R6/lib/libX11.so.6.2) ==3690== Address 0x1BD43418 is 152 bytes inside a block of size 2048 alloc'd ==3690== at 0x1B905901: calloc (vg_replace_malloc.c:176) ==3690== by 0x1BB0209C: XOpenDisplay (in /usr/X11R6/lib/libX11.so.6.2) ==3690== by 0x1BA6A678: gdk_init_check (in /usr/lib/libgdk-1.2.so.0.9.1) ==3690== by 0x1B9B6C10: gtk_init_check (in /usr/lib/libgtk-1.2.so.0.9.1) ==3690== ==3690== 74 errors in context 6 of 7: ==3690== Conditional jump or move depends on uninitialised value(s) ==3690== at 0x805BA96: draw_lists (in /usr/games/gcfclient) ==3690== by 0x8061D7A: do_timeout (in /usr/games/gcfclient) ==3690== by 0x1BAADEC3: (within /usr/lib/libglib-1.2.so.0.0.10) ==3690== by 0x1BAAD03C: (within /usr/lib/libglib-1.2.so.0.0.10) ==3690== ==3690== 74 errors in context 7 of 7: ==3690== Conditional jump or move depends on uninitialised value(s) ==3690== at 0x8061D6B: do_timeout (in /usr/games/gcfclient) ==3690== by 0x1BAADEC3: (within /usr/lib/libglib-1.2.so.0.0.10) ==3690== by 0x1BAAD03C: (within /usr/lib/libglib-1.2.so.0.0.10) ==3690== by 0x1BAAD4F3: (within /usr/lib/libglib-1.2.so.0.0.10) --3690-- --3690-- supp: 57 Ugly strchr error in /lib/ld-2.3.2.so ==3690== ==3690== IN SUMMARY: 176 errors from 7 contexts (suppressed: 57 from 1) ==3690== ==3690== malloc/free: in use at exit: 9241069 bytes in 3685 blocks. ==3690== malloc/free: 881916 allocs, 878231 frees, 81285913 bytes allocated. ==3690== --3690-- TT/TC: 0 tc sectors discarded. --3690-- 1983954 tt_fast misses. --3690-- translate: new 41587 (630149 -> 8266141; ratio 131:10) --3690-- discard 1358 (21823 -> 282292; ratio 129:10). --3690-- chainings: 34358 chainings, 0 unchainings. --3690-- dispatch: 4412550000 jumps (bb entries); of them 833931978 (18%) unchained. --3690-- 1398670/4973630 major/minor sched events. --3690-- reg-alloc: 6221 t-req-spill, 1496298+49855 orig+spill uis, --3690-- 204890 total-reg-rank --3690-- sanity: 903955 cheap, 36159 expensive checks. --3690-- ccalls: 149687 C calls, 55% saves+restores avoided (491514 bytes) --3690-- 208231 args, avg 0.88 setup instrs each (45860 bytes) --3690-- 0% clear the stack (448596 bytes) --3690-- 56223 retvals, 28% of reg-reg movs avoided (31228 bytes) -------------- next part -------------- _______________________________________________ crossfire-devel mailing list crossfire-devel at lists.real-time.com https://mailman.real-time.com/mailman/listinfo/crossfire-devel