home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.sun.misc:5355 comp.windows.x.motif:7603 comp.windows.x:19370
- Newsgroups: comp.sys.sun.misc,comp.windows.x.motif,comp.windows.x
- Path: sparky!uunet!munnari.oz.au!metro!brutus!hughg
- From: hughg@brutus.ee.su.oz.au (Hugh Garsden)
- Subject: SUN LWP + X + C++
- Message-ID: <1992Nov20.035413.11992@ucc.su.OZ.AU>
- Sender: hughg@brutus (Hugh Garsden)
- Nntp-Posting-Host: brutus.ee.su.oz.au
- Organization: University of Sydney, EE Dept.
- Date: Fri, 20 Nov 1992 03:54:13 GMT
- Lines: 25
-
- Standard apologies (FAQ, just been discussed etc.).
-
- I have a program written in C++ which uses X/Motif and SUN's light weight
- processes (LWP).
-
- When I initially tried to run it I got this error -
-
- malloc(0)...core file created
- Error: Cannot perform calloc
-
- The error occurred in a call to a Motif function that creates a widget. This
- was done before I called any LWP routines.
-
- Checking the man page for malloc, I discovered the file
- /usr/lib/debug/malloc.o, which is supposed to provide diagnostics. I linked my
- program with this, and the program works! No diagnostics.
-
- So, can anyone tell me what's happened here?
-
- --
- Hugh Garsden
- University of Sydney
- hughg@ee.su.oz.au
-
-
-