[SunHELP] Core dumped in _malloc_unlocked and realloc onSolaris 8
Libor Chocholaty
sunhelp at sunhelp.org
Thu Dec 6 05:45:58 CST 2001
Nicholas Dronen wrote:
> On Mon, Dec 03, 2001 at 11:10:21AM +0100, Libor Chocholaty wrote:
> > Hi all,
> >
> > I am new in this list and I hope that here people which had similar
> > problems as me and give me an advice.
> >
> > I working on application which uses CORBA. One particular server-side
> > multithreaded program core dumps in call malloc. I use GCC-2.95.2 from
> > www.sunfreeware.com. I think that this bug is solved for Sun C 5.0
> > compiler, but not for GCC. Do anybody know what I do wrong?
>
> What are the compile and link commands for the source file and
> library or exectutable that dumps core?
gcc -g -I/usr/local/OB-3.3.4-woJTC/include -I/usr/include/X11 -Iinclude
-Isource/gen -DBYTEORDER=ORDER_MOTOROLA -DSHADOW_PASSWORDS -DMONITORING
-D_SOLARIS -c source/gen/date.c -o code/obj/date.o
g++ -g -I/usr/local/OB-3.3.4-woJTC/include -I/usr/include/X11 -Iinclude
-Isource/gen -Isource/impl -DBYTEORDER=ORDER_MOTOROLA -DSHADOW_PASSWORDS
-DMONITORING -DUSE_SGEN_DRIVER -D_SOLARIS -c source/am_send_cmd.cxx -o
code/obj/am_send_cmd.o
c++ -g -L/usr/lib -L/usr/X/lib -L/usr/local/OB-3.3.4-woJTC/lib -lnsl
-lsocket -o code/com/am_send_cmd code/obj/date.o code/obj/am_shutdown.o
code/lib/am_client_lib.a code/lib/gn_lib.a code/lib/machine_lib.a
code/lib/odin_base.a code/lib/convert_lib.a
-lOB -lCosNaming -lstdc++
Description:
/usr/local/OB-3.3.4-woJTC ... CORBA (ORBacus without JTC)
BYTEORDER=ORDER_MOTOROLA ... to ensure correct byteordering
SHADOW_PASSWORDS ... we use shadow passwords
MONITORING ... our debuging facility
_SOLARIS ... our mark for Solaris platform
USE_SGEN_DRIVER ... use system SCSI driver sgen instead our
libOB ... ORBacus library
libCosNaming ... ORBacus library
$ gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/specs
gcc version 2.95.2 19991024 (release)
$ g++ -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/specs
gcc version 2.95.2 19991024 (release)
$ c++ -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/specs
gcc version 2.95.2 19991024 (release)
$
Thank you for your interest.
Libor Chocholaty
More information about the SunHELP
mailing list