Weird problems with delivered app
Hi, we're experiencing really, really weird problems with a delivered application on _two_ machines. These machines runs debian testing and unstable but problems persists before and after updates, and on other machines,neither stable nor unstable do not show the same weirdness. Also, different motif versions in combination with LW 4.2.7 or 4.3.7 doesn't seem to help. Sometimes the CWD helps the application running a little longer (!) before it segfaults. A characteristic feature of this application is that it accesses a database at build time. We disconnect the database and remove pointers (we think) before actually delivering. An interesting thing with unstable and testing compared to stable, is that it will load the library /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2 and one of the few patterns I've found in this madness, is that on the unstable machine that show no bad behaviour, the location of xlcDef.so.2 is much lower than on the "bad" machine. The "bad" machine happens to be my workstation, so this is driving me nuts. I include below /proc/<pid>/maps for a working and the non-working machine. Excuse me for the lengthy mail, but I really hope this will ring some bells somewhere! Here the application works: 08048000-0804b000 r-xp 00000000 03:07 11 /tmp/bo-menu 0804b000-0804c000 rw-p 00002000 03:07 11 /tmp/bo-menu 0804c000-0810d000 rwxp 00000000 00:00 0 20000000-21c70000 rwxp 00010000 03:07 11 /tmp/bo-menu 21c70000-220fe000 rwxp 00000000 00:00 0 40000000-40016000 r-xp 00000000 03:05 343 /lib/ld-2.3.2.so 40016000-40017000 rw-p 00015000 03:05 343 /lib/ld-2.3.2.so 40017000-40018000 rw-p 00000000 00:00 0 40018000-40019000 r-xp 00000000 03:07 13 /tmp/fileI2aamH.so (deleted) 40019000-4001a000 rw-p 00000000 03:07 13 /tmp/fileI2aamH.so (deleted) 4001a000-4001c000 r-xp 00000000 03:09 418536 /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2 4001c000-4001d000 rw-p 00001000 03:09 418536 /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2 4001d000-40020000 r-xp 00000000 03:05 411 /lib/libnss_dns-2.3.2.so 40020000-40021000 rw-p 00003000 03:05 411 /lib/libnss_dns-2.3.2.so 40021000-40023000 r-xp 00000000 03:05 406 /lib/libdl-2.3.2.so 40023000-40024000 rw-p 00002000 03:05 406 /lib/libdl-2.3.2.so 40024000-4014c000 r-xp 00000000 03:05 404 /lib/libc-2.3.2.so 4014c000-40154000 rw-p 00127000 03:05 404 /lib/libc-2.3.2.so 40154000-40157000 rw-p 00000000 00:00 0 40157000-40162000 r-xp 00000000 03:07 12 /tmp/fileRmM0ko.so (deleted) 40162000-40164000 rw-p 0000a000 03:07 12 /tmp/fileRmM0ko.so (deleted) 40164000-40358000 r-xp 00000000 03:09 418614 /usr/X11R6/lib/libXm.so.3.0.1 40358000-40371000 rw-p 001f4000 03:09 418614 /usr/X11R6/lib/libXm.so.3.0.1 40371000-40372000 rw-p 00000000 00:00 0 40372000-403bf000 r-xp 00000000 03:09 418568 /usr/X11R6/lib/libXt.so.6.0 403bf000-403c2000 rw-p 0004d000 03:09 418568 /usr/X11R6/lib/libXt.so.6.0 403c2000-403c3000 rw-p 00000000 00:00 0 403c3000-403ca000 r-xp 00000000 03:09 418525 /usr/X11R6/lib/libXp.so.6.2 403ca000-403cb000 rw-p 00006000 03:09 418525 /usr/X11R6/lib/libXp.so.6.2 403cb000-403d9000 r-xp 00000000 03:09 418542 /usr/X11R6/lib/libXpm.so.4.11 403d9000-403da000 rw-p 0000d000 03:09 418542 /usr/X11R6/lib/libXpm.so.4.11 403da000-403e7000 r-xp 00000000 03:09 418510 /usr/X11R6/lib/libXext.so.6.4 403e7000-403e8000 rw-p 0000c000 03:09 418510 /usr/X11R6/lib/libXext.so.6.4 403e8000-403fd000 r-xp 00000000 03:09 418570 /usr/X11R6/lib/libXmu.so.6.2 403fd000-403fe000 rw-p 00015000 03:09 418570 /usr/X11R6/lib/libXmu.so.6.2 403fe000-404c2000 r-xp 00000000 03:09 418561 /usr/X11R6/lib/libX11.so.6.2 404c2000-404c5000 rw-p 000c4000 03:09 418561 /usr/X11R6/lib/libX11.so.6.2 404c5000-404cd000 r-xp 00000000 03:09 418504 /usr/X11R6/lib/libSM.so.6.0 404cd000-404ce000 rw-p 00007000 03:09 418504 /usr/X11R6/lib/libSM.so.6.0 404ce000-404e2000 r-xp 00000000 03:09 418500 /usr/X11R6/lib/libICE.so.6.3 404e2000-404e3000 rw-p 00013000 03:09 418500 /usr/X11R6/lib/libICE.so.6.3 404e3000-404e5000 rw-p 00000000 00:00 0 404e5000-404ea000 r-xp 00000000 03:05 405 /lib/libcrypt-2.3.2.so 404ea000-404eb000 rw-p 00004000 03:05 405 /lib/libcrypt-2.3.2.so 404eb000-40512000 rw-p 00000000 00:00 0 4051b000-40522000 r-xp 00000000 03:05 410 /lib/libnss_compat-2.3.2.so 40522000-40523000 rw-p 00006000 03:05 410 /lib/libnss_compat-2.3.2.so 40523000-40535000 r-xp 00000000 03:05 409 /lib/libnsl-2.3.2.so 40535000-40536000 rw-p 00011000 03:05 409 /lib/libnsl-2.3.2.so 40536000-40538000 rw-p 00000000 00:00 0 40538000-40540000 r-xp 00000000 03:05 415 /lib/libnss_nis-2.3.2.so 40540000-40541000 rw-p 00007000 03:05 415 /lib/libnss_nis-2.3.2.so 40541000-40549000 r-xp 00000000 03:05 413 /lib/libnss_files-2.3.2.so 40549000-4054a000 rw-p 00008000 03:05 413 /lib/libnss_files-2.3.2.so 4054a000-40552000 r-xp 00000000 03:09 692200 /usr/lib/libXcursor.so.1.0.2 40552000-40553000 rw-p 00007000 03:09 692200 /usr/lib/libXcursor.so.1.0.2 40553000-4055a000 r-xp 00000000 03:09 692131 /usr/lib/libXrender.so.1.2.2 4055a000-4055b000 rw-p 00006000 03:09 692131 /usr/lib/libXrender.so.1.2.2 4055b000-40577000 r-xp 00000000 03:09 418534 /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2 40577000-40579000 rw-p 0001b000 03:09 418534 /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2 40579000-408e1000 r-xp 00000000 03:09 112803 /usr/local/lib/oracle/8.0.5/lib/libclntsh.so.1.0 408e1000-408e8000 rw-p 00367000 03:09 112803 /usr/local/lib/oracle/8.0.5/lib/libclntsh.so.1.0 408e8000-408f8000 rw-p 00000000 00:00 0 408f8000-40919000 r-xp 00000000 03:05 407 /lib/libm-2.3.2.so 40919000-4091a000 rw-p 00020000 03:05 407 /lib/libm-2.3.2.so 4091a000-40929000 r-xp 00000000 03:05 420 /lib/libresolv-2.3.2.so 40929000-4092a000 rw-p 0000f000 03:05 420 /lib/libresolv-2.3.2.so 4092a000-4092c000 rw-p 00000000 00:00 0 bfff7000-c0000000 rwxp ffff8000 00:00 0 And this is the problem child: 08048000-0804b000 r-xp 00000000 00:0a 710926640 /home/ev/cvs/backoffice/build/bo-menu 0804b000-0804c000 rw-p 00002000 00:0a 710926640 /home/ev/cvs/backoffice/build/bo-menu 0804c000-08133000 rwxp 00000000 00:00 0 20000000-21c70000 rwxp 00010000 00:0a 710926640 /home/ev/cvs/backoffice/build/bo-menu 21c70000-21fee000 rwxp 00000000 00:00 0 40000000-40016000 r-xp 00000000 03:05 40747 /lib/ld-2.3.2.so 40016000-40017000 rw-p 00015000 03:05 40747 /lib/ld-2.3.2.so 40017000-40018000 rw-p 00000000 00:00 0 40018000-40019000 r-xp 00000000 03:07 18 /tmp/fileCsrLxy.so (deleted) 40019000-4001a000 rw-p 00000000 03:07 18 /tmp/fileCsrLxy.so (deleted) 4001a000-40021000 r-xp 00000000 03:05 40776 /lib/libnss_compat-2.3.2.so 40021000-40022000 rw-p 00006000 03:05 40776 /lib/libnss_compat-2.3.2.so 40022000-40024000 r-xp 00000000 03:05 40768 /lib/libdl-2.3.2.so 40024000-40025000 rw-p 00002000 03:05 40768 /lib/libdl-2.3.2.so 40025000-4014d000 r-xp 00000000 03:05 40765 /lib/libc-2.3.2.so 4014d000-40155000 rw-p 00127000 03:05 40765 /lib/libc-2.3.2.so 40155000-40158000 rw-p 00000000 00:00 0 40158000-40163000 r-xp 00000000 03:07 17 /tmp/file47aAzk.so (deleted) 40163000-40165000 rw-p 0000a000 03:07 17 /tmp/file47aAzk.so (deleted) 40165000-40359000 r-xp 00000000 03:09 338096 /usr/X11R6/lib/libXm.so.3.0.1 40359000-40372000 rw-p 001f4000 03:09 338096 /usr/X11R6/lib/libXm.so.3.0.1 40372000-40373000 rw-p 00000000 00:00 0 40373000-403c0000 r-xp 00000000 03:09 338040 /usr/X11R6/lib/libXt.so.6.0 403c0000-403c3000 rw-p 0004d000 03:09 338040 /usr/X11R6/lib/libXt.so.6.0 403c3000-403c4000 rw-p 00000000 00:00 0 403c4000-403cb000 r-xp 00000000 03:09 339116 /usr/X11R6/lib/libXp.so.6.2 403cb000-403cc000 rw-p 00006000 03:09 339116 /usr/X11R6/lib/libXp.so.6.2 403cc000-403da000 r-xp 00000000 03:09 338051 /usr/X11R6/lib/libXpm.so.4.11 403da000-403db000 rw-p 0000d000 03:09 338051 /usr/X11R6/lib/libXpm.so.4.11 403db000-403e8000 r-xp 00000000 03:09 338038 /usr/X11R6/lib/libXext.so.6.4 403e8000-403e9000 rw-p 0000c000 03:09 338038 /usr/X11R6/lib/libXext.so.6.4 403e9000-403fe000 r-xp 00000000 03:09 338044 /usr/X11R6/lib/libXmu.so.6.2 403fe000-403ff000 rw-p 00015000 03:09 338044 /usr/X11R6/lib/libXmu.so.6.2 403ff000-404c3000 r-xp 00000000 03:09 338084 /usr/X11R6/lib/libX11.so.6.2 404c3000-404c6000 rw-p 000c4000 03:09 338084 /usr/X11R6/lib/libX11.so.6.2 404c6000-404ce000 r-xp 00000000 03:09 338030 /usr/X11R6/lib/libSM.so.6.0 404ce000-404cf000 rw-p 00007000 03:09 338030 /usr/X11R6/lib/libSM.so.6.0 404cf000-404e3000 r-xp 00000000 03:09 338018 /usr/X11R6/lib/libICE.so.6.3 404e3000-404e4000 rw-p 00013000 03:09 338018 /usr/X11R6/lib/libICE.so.6.3 404e4000-404e6000 rw-p 00000000 00:00 0 404e6000-404eb000 r-xp 00000000 03:05 40766 /lib/libcrypt-2.3.2.so 404eb000-404ec000 rw-p 00004000 03:05 40766 /lib/libcrypt-2.3.2.so 404ec000-40513000 rw-p 00000000 00:00 0 40513000-40515000 r-xp 00000000 03:09 694194 /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2 40515000-40516000 rw-p 00001000 03:09 694194 /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2 40516000-40519000 r-xp 00000000 03:05 40782 /lib/libnss_dns-2.3.2.so 40519000-4051a000 rw-p 00003000 03:05 40782 /lib/libnss_dns-2.3.2.so 4051d000-4052f000 r-xp 00000000 03:05 40771 /lib/libnsl-2.3.2.so 4052f000-40530000 rw-p 00011000 03:05 40771 /lib/libnsl-2.3.2.so 40530000-40532000 rw-p 00000000 00:00 0 40532000-4053a000 r-xp 00000000 03:05 41202 /lib/libnss_nis-2.3.2.so 4053a000-4053b000 rw-p 00007000 03:05 41202 /lib/libnss_nis-2.3.2.so 4053b000-40543000 r-xp 00000000 03:05 40784 /lib/libnss_files-2.3.2.so 40543000-40544000 rw-p 00008000 03:05 40784 /lib/libnss_files-2.3.2.so 4054e000-40556000 r-xp 00000000 03:09 257540 /usr/lib/libXcursor.so.1.0.2 40556000-40557000 rw-p 00007000 03:09 257540 /usr/lib/libXcursor.so.1.0.2 40557000-4055e000 r-xp 00000000 03:09 257537 /usr/lib/libXrender.so.1.2.2 4055e000-4055f000 rw-p 00006000 03:09 257537 /usr/lib/libXrender.so.1.2.2 4055f000-4057b000 r-xp 00000000 03:09 694193 /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2 4057b000-4057d000 rw-p 0001b000 03:09 694193 /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2 4057d000-408e5000 r-xp 00000000 03:09 724813 /usr/local/lib/oracle/8.0.5/lib/libclntsh.so.1.0 408e5000-408ec000 rw-p 00367000 03:09 724813 /usr/local/lib/oracle/8.0.5/lib/libclntsh.so.1.0 408ec000-408fc000 rw-p 00000000 00:00 0 408fc000-4091d000 r-xp 00000000 03:05 40769 /lib/libm-2.3.2.so 4091d000-4091e000 rw-p 00020000 03:05 40769 /lib/libm-2.3.2.so 4091e000-4092d000 r-xp 00000000 03:05 41232 /lib/libresolv-2.3.2.so 4092d000-4092e000 rw-p 0000f000 03:05 41232 /lib/libresolv-2.3.2.so 4092e000-40930000 rw-p 00000000 00:00 0 bfff7000-c0000000 rwxp ffff8000 00:00 0 -- (espen)