Assigned to karltk to allow him to explore the joy of
using slowaris.
The configure-line used when compiling static on HA:
./configure --prefix=/Home/stud/stig/tmp
--with-cmucl=/Home/stud/stig/bin/solaris/cmulisp
--with-java-prefix=/usr/java/bin --disable-shared
The problem is still there for all c/c++ code that is
dynamically linked it seems. A report:
stig@korkeik(23:37)260> gdb ~/tmp/bin/cxx2csf
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.6"...
(gdb) set args --csf-dump frob.xml cpp-example.cpp
(gdb) run
Starting program: /Home/stud/stig/tmp/bin/cxx2csf --csf-dump
frob.xml cpp-example.cpp
Program received signal SIGSEGV, Segmentation fault.
0x99df8 in GC_find_limit () at csfapi.cpp:45
45 return new CSF_Toplevel(*this);
(gdb) bt
#0 0x99df8 in GC_find_limit () at csfapi.cpp:45
#1 0x99e48 in GC_get_stack_base () at csfapi.cpp:45
#2 0x996b0 in GC_init_inner () at csfapi.cpp:45
#3 0x9df10 in GC_generic_malloc_inner () at csfapi.cpp:45
#4 0x9e0b8 in GC_generic_malloc () at csfapi.cpp:45
#5 0x9e198 in GC_malloc () at csfapi.cpp:45
#6 0xb10bc in gc::operator new (size=16) at gc/gc_cpp.h:211
#7 0x759c8 in __static_initialization_and_destruction_0
(__initialize_p=1, __priority=65535)
at mop.cpp:30
#8 0x76478 in global constructors keyed to
Class::class_list () at mop.cpp:1157
#9 0xaf874 in __do_global_ctors_aux () at include/new:39
#10 0xaf8ac in _init () at include/new:39
(gdb) set args
(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /Home/stud/stig/tmp/bin/cxx2csf
Program received signal SIGSEGV, Segmentation fault.
0x99df8 in GC_find_limit () at csfapi.cpp:45
45 return new CSF_Toplevel(*this);
(gdb) quit
The program is running. Exit anyway? (y or n) y
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=9857
Assigned to karltk to allow him to explore the joy of
using slowaris.
The configure-line used when compiling static on HA:
./configure --prefix=/Home/stud/stig/tmp
--with-cmucl=/Home/stud/stig/bin/solaris/cmulisp
--with-java-prefix=/usr/java/bin --disable-shared
The problem is still there for all c/c++ code that is
dynamically linked it seems. A report:
stig@korkeik(23:37)260> gdb ~/tmp/bin/cxx2csf
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.6"...
(gdb) set args --csf-dump frob.xml cpp-example.cpp
(gdb) run
Starting program: /Home/stud/stig/tmp/bin/cxx2csf --csf-dump
frob.xml cpp-example.cpp
Program received signal SIGSEGV, Segmentation fault.
0x99df8 in GC_find_limit () at csfapi.cpp:45
45 return new CSF_Toplevel(*this);
(gdb) bt
#0 0x99df8 in GC_find_limit () at csfapi.cpp:45
#1 0x99e48 in GC_get_stack_base () at csfapi.cpp:45
#2 0x996b0 in GC_init_inner () at csfapi.cpp:45
#3 0x9df10 in GC_generic_malloc_inner () at csfapi.cpp:45
#4 0x9e0b8 in GC_generic_malloc () at csfapi.cpp:45
#5 0x9e198 in GC_malloc () at csfapi.cpp:45
#6 0xb10bc in gc::operator new (size=16) at gc/gc_cpp.h:211
#7 0x759c8 in __static_initialization_and_destruction_0
(__initialize_p=1, __priority=65535)
at mop.cpp:30
#8 0x76478 in global constructors keyed to
Class::class_list () at mop.cpp:1157
#9 0xaf874 in __do_global_ctors_aux () at include/new:39
#10 0xaf8ac in _init () at include/new:39
(gdb) set args
(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /Home/stud/stig/tmp/bin/cxx2csf
Program received signal SIGSEGV, Segmentation fault.
0x99df8 in GC_find_limit () at csfapi.cpp:45
45 return new CSF_Toplevel(*this);
(gdb) quit
The program is running. Exit anyway? (y or n) y