* Problem with Xlib when using -lmalloc
@ 1992-02-06 20:11 Haresh Assumal
0 siblings, 0 replies; only message in thread
From: Haresh Assumal @ 1992-02-06 20:11 UTC (permalink / raw)
I have encountered a problem when I compile my application using
-lX11 (X library) and -lmalloc (malloc libarary). I have found that
the X application that I have written crashes in free() when a call to
XrmFreeDatabase() is made. This problem goes away when I compile the
X application without -lmalloc (i.e. uses the malloc functions from
the standard C lib -lc). Has anyone encountered this problem? Is
there a work around it, I need to use -lmalloc. The reason being that I
use mallinfo() in my code and on the DEC Ultrix workstations mallinfo()
in NOT defined in the standard C lib (-lc) but IS defined in -lmalloc.
I do not think that his problem will arrises on the Sun. If I'm not
mistaken there is no -lmalloc on the sun and mallinfo() is defined in
the standard C lib -lc, which seems to work well with X lib.
Again is there a problem with using -lmalloc on dec ultrix with the X lib?
Is there a work around?
Thanks in advance for your help.
Haresh
P.S. I would appreciate if you could send me e-mail directly. I will post
the summary.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1992-02-06 20:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1992-02-06 20:11 Problem with Xlib when using -lmalloc Haresh Assumal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox