AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Native code bug with shared memory

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> JVM, native methods and hardware
View previous topic :: View next topic  
Author Message
Andy Kaufman
Guest





PostPosted: Fri Nov 21, 2003 8:30 pm    Post subject: Native code bug with shared memory Reply with 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.

Thanks,
Back to top
Michael Amling
Guest





PostPosted: Sat Nov 22, 2003 6:05 pm    Post subject: Re: Native code bug with shared memory Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> JVM, native methods and hardware All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.