New SHM server broken?

Matthijs Kooijman <[email protected]>
Newsgroups gmane.comp.emulators.winex.devel
Message-ID <[email protected]>
Hey,

I downloaded the CVS version yesterday, and it had some problems
running. When starting (indifferent of the application being run) it
exited with an out of memory error (In the function simple_allocator,
server/shm.c:394).
Some investigation showed me that the error occured during the loading
of the default registry entries. During the loading, every now and then
4099 bytes were allocated in the SHM segment. The allocated SHM segment
is only 4MB in size, so it quickly fills up and crashes.
To solve this, i changed server/shm.c:356 to
SERVER_GLOBAL_VARIABLE( shared_memory_server ) = NULL;
(`NULL' instead of `shm'). Consequently the SHM segment is not used and
all is well.
So, are there any others having this problem? Since this does not seem
to be very specific for my case, I think?

The way I see it, there is too much stored is SHM, since it can only be
4M. So, maybe it should be split over multiple segments?

Gr.

Matthijs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.