Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Virtual Machine / November 2003

Tip: Looking for answers? Try searching our database.

Native code bug with shared memory

Thread view: 
Andy Kaufman - 21 Nov 2003 20:30 GMT
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,
Michael Amling - 22 Nov 2003 18:05 GMT
> I am building a server side java program that calls a C native
> library.  The C native code allocates shared memory.  This code used
[quoted text clipped - 11 lines]
> 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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.