Hello,

Rick McGuire wrote:
> If you want to have assistance wit this, you really need to provide
> informaton more than "it hangs" or "it seg faults".  
I know :-((
> Ok, WHERE does it
> hang (give me a stack trace)?  WHERE does it seg fault (again, at
> lease a location and a stack trace will help)?  I can't telepathically
> look at what's happening on your system, and I don't have a version of
> that system to allow me to reproduce it myself, so you need to be be
> taking the extra step of providing as much information as possible to
> I can at least suggest places to look to debug the problems.
>
>   
The problem on SLES10 was that the .libs/lt-rexximage did not finish.
After the build the process was still there.... I can see the same
problem on SLES9.

On SLES9 I got seg fault this time...

g++ -shared -nostdlib
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../crti.o
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/crtbeginS.o 
.libs/librexxutil_la-rexxutil.o  -lpthread
-L/usr/lib/gcc-lib/i586-suse-linux/3.3.3
-L/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/lib
-L/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../.. /usr/lib/libstdc++.so
-lm -lc -lgcc_s /usr/lib/gcc-lib/i586-suse-linux/3.3.3/crtendS.o
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../crtn.o  -Wl,-soname
-Wl,librexxutil.so.4 -o .libs/librexxutil.so.4.0.0
(cd .libs && rm -f librexxutil.so.4 && ln -s librexxutil.so.4.0.0
librexxutil.so.4)
(cd .libs && rm -f librexxutil.so && ln -s librexxutil.so.4.0.0
librexxutil.so)
creating librexxutil.la
(cd .libs && rm -f librexxutil.la && ln -s ../librexxutil.la librexxutil.la)
cp ./interpreter/RexxClasses/*.orx .
cp ./interpreter/platform/unix/*.orx .
./rexximage
creating the system specific methods ...
Adding setlike methods to RELATION
creating .!server and defining its instance methods
Stream methods setup
make: *** [rexx.img] Segmentation fault

Unfortunately there is no core dump....

The I called ./rexximage again and this time no seg fault.

But:

cgsrv00:~ # ps -ef | grep rex
root     22312     1  0 12:15 ?        00:00:00
/daten/source/ooRexx-4.0.0-3610/.libs/lt-rexximage
root     22351     1  0 12:17 ?        00:00:00
/daten/source/ooRexx-4.0.0-3610/.libs/lt-rexximage
root     25350     1  0 12:18 ?        00:00:00
/daten/source/ooRexx-4.0.0-3610/.libs/lt-rexx samples/usepipe.rex
root     25367     1  0 12:18 ?        00:00:00
/daten/source/ooRexx-4.0.0-3610/.libs/lt-rexx samples/usepipe.rex
root     25373  6089  0 12:19 pts/1    00:00:00
/daten/source/ooRexx-4.0.0-3610/.libs/lt-rexx samples/greply.rex
...

attatch to rexximage

cgsrv00:/daten/source/ooRexx-4.0.0-3610 # ps -ef | grep rex
root     25459     1  0 12:23 ?        00:00:00
/daten/source/ooRexx-4.0.0-3610/.libs/lt-rexximage
root     25461 25393  0 12:23 pts/2    00:00:00 grep rex
cgsrv00:/daten/source/ooRexx-4.0.0-3610 # gdb
GNU gdb 6.6
Copyright (C) 2006 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 "i586-suse-linux".
(gdb) attach 25459
Attaching to process 25459
Reading symbols from
/daten/source/ooRexx-4.0.0-3610/.libs/lt-rexximage...done.
Using host libthread_db library "/lib/tls/libthread_db.so.1".
Reading symbols from
/daten/source/ooRexx-4.0.0-3610/.libs/librexx.so.4...done.
Loaded symbols for /daten/source/ooRexx-4.0.0-3610/.libs/librexx.so.4
Reading symbols from
/daten/source/ooRexx-4.0.0-3610/.libs/librexxapi.so.4...done.
Loaded symbols for /daten/source/ooRexx-4.0.0-3610/.libs/librexxapi.so.4
Reading symbols from /usr/lib/libstdc++.so.5...done.
Loaded symbols for /usr/lib/libstdc++.so.5
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/tls/libpthread.so.0...done.
[Thread debugging using libthread_db enabled]
[New Thread 1077825440 (LWP 25459)]
Loaded symbols for /lib/tls/libpthread.so.0
Reading symbols from /lib/tls/libm.so.6...done.
Loaded symbols for /lib/tls/libm.so.6
Reading symbols from /lib/libgcc_s.so.1...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/tls/libc.so.6...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
0xffffe410 in __kernel_vsyscall ()
(gdb) where
#0  0xffffe410 in __kernel_vsyscall ()
#1  0x4029a31e in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0
#2  0x402970dc in _L_mutex_lock_88 () from /lib/tls/libpthread.so.0
#3  0x00000001 in ?? ()
#4  0x00000000 in ?? ()

> Rick
>
>   

Bye
  Rainer

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to