 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Andy Kaufman Guest
|
Posted: Fri Nov 21, 2003 8:30 pm Post subject: Native code bug with shared memory |
|
|
I am building a server side java program that calls a C native
library. The C native code allocates shared memory. This code used
to work but now I get:
Unexpected Signal : 11 occurred at PC=0x4C7CB34A
Function=shm_alloc+0x1C6
I believe that signal 11 is a memory violation.
Do I need to request more memory on the command line when I invoke the
java program ? I tried using the -Xss100m switch, but it did not
help.
I am really at a loss to why the native library errors now and worked
fine 9 months ago.
Thanks,
|
|
| Back to top |
|
 |
Michael Amling Guest
|
Posted: Sat Nov 22, 2003 6:05 pm Post subject: Re: Native code bug with shared memory |
|
|
Andy Kaufman wrote:
| Quote: | I am building a server side java program that calls a C native
library. The C native code allocates shared memory. This code used
to work but now I get:
Unexpected Signal : 11 occurred at PC=0x4C7CB34A
Function=shm_alloc+0x1C6
I believe that signal 11 is a memory violation.
Do I need to request more memory on the command line when I invoke the
java program ? I tried using the -Xss100m switch, but it did not
help.
I am really at a loss to why the native library errors now and worked
fine 9 months ago.
|
Not much to go on. Any particular operating system? Do you have the C
native library source? Was it tested at any time between 9 months ago
and now? And here's the big one. Did anything change in those 9 months?
--Mike Amling
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|