What does error "__errno_location" mean"

Hi everybody,
I am creating a C program that calls a java class thru JNI.
I can compile the C program in 2 ways,
-with db. (Oracle 6.0)
-without db.
When I compile the c file without db, java calls work perfectly.
When I complile the c program with db, java fails when I execute JNI_CreateJVM(... first instruction where c code calls the jvm.
The error message is:
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x84FCC19
Function=__errno_location+0x15
Library=./mtc_java_test1.e
Current Java thread:
Dynamic libraries:
08048000-085c0000 r-xp 00000000 00:13 7078025 /.automount/robotnik/root/users/views/jaimeb.vws/.s/00029/800007d340590f5fmtc_java_test1.e
085c0000-085ed000 rw-p 00578000 00:13 7078025 /.automount/robotnik/root/users/views/jaimeb.vws/.s/00029/800007d340590f5fmtc_java_test1.e
40000000-40012000 r-xp 00000000 03:02 944709 /lib/ld-2.2.93.so
40012000-40013000 rw-p 00012000 03:02 944709 /lib/ld-2.2.93.so
40014000-40067000 r-xp 00000000 03:02 1303997 /opt/j2sdk_nb/j2sdk1.4.2/jre/lib/i386/libmlib_image.so
40067000-40068000 rw-p 00052000 03:02 1303997 /opt/j2sdk_nb/j2sdk1.4.2/jre/lib/i386/libmlib_image.so
40068000-40078000 r-xp 00000000 03:02 1303987 /opt/j2sdk_nb/j2sdk1.4.2/jre/lib/i386/libverify.so
40078000-4007a000 rw-p 0000f000 03:02 1303987 /opt/j2sdk_nb/j2sdk1.4.2/jre/lib/i386/libverify.so
4007a000-40626000 r-xp 00000000 03:02 2264977 /opt/j2sdk_nb/j2sdk1.4.2/jre/lib/i386/server/libjvm.so
40626000-40680000 rw-p 005ab000 03:02 2264977 /opt/j2sdk_nb/j2sdk1.4.2/jre/lib/i386/server/libjvm.so
40693000-406b3000 r-xp 00000000 03:02 1303988 /opt/j2sdk_nb/j2sdk1.4.2/jre/lib/i386/libjava.so
406b3000-406b5000 rw-p 0001f000 03:02 1303988 /opt/j2sdk_nb/j2sdk1.4.2/jre/lib/i386/libjava.so
406b5000-40980000 r-xp 00000000 03:02 1303998 /opt/j2sdk_nb/j2sdk1.4.2/jre/lib/i386/libawt.so
40980000-40995000 rw-p 002ca000 03:02 1303998 /opt/j2sdk_nb/j2sdk1.4.2/jre/lib/i386/libawt.so
409bc000-409c4000 r-xp 00000000 03:02 2264975 /opt/j2sdk_nb/j2sdk1.4.2/jre/lib/i386/native_threads/libhpi.so
409c4000-409c5000 rw-p 00007000 03:02 2264975 /opt/j2sdk_nb/j2sdk1.4.2/jre/lib/i386/native_threads/libhpi.so
409c5000-409ce000 r-xp 00000000 03:02 944742 /lib/libnss_files-2.2.93.so
409ce000-409cf000 rw-p 00008000 03:02 944742 /lib/libnss_files-2.2.93.so
409cf000-409f0000 r-xp 00000000 03:02 114021 /lib/i686/libm-2.2.93.so
409f0000-409f1000 rw-p 00021000 03:02 114021 /lib/i686/libm-2.2.93.so
409f1000-40c1e000 r-xp 00000000 03:02 1775468 /usr/X11R6/lib/libXm.so.3.0.1
40c1e000-40c38000 rw-p 0022c000 03:02 1775468 /usr/X11R6/lib/libXm.so.3.0.1
40c3a000-40c88000 r-xp 00000000 03:02 1775446 /usr/X11R6/lib/libXt.so.6.0
40c88000-40c8c000 rw-p 0004d000 03:02 1775446 /usr/X11R6/lib/libXt.so.6.0
40c8c000-40d67000 r-xp 00000000 03:02 1775418 /usr/X11R6/lib/libX11.so.6.2
40d67000-40d6a000 rw-p 000da000 03:02 1775418 /usr/X11R6/lib/libX11.so.6.2
40d6a000-40d6c000 r-xp 00000000 03:02 944722 /lib/libdl-2.2.93.so
40d6c000-40d6d000 rw-p 00001000 03:02 944722 /lib/libdl-2.2.93.so
40d6d000-40d7f000 r-xp 00000000 03:02 944726 /lib/libnsl-2.2.93.so
40d7f000-40d80000 rw-p 00012000 03:02 944726 /lib/libnsl-2.2.93.so
40d82000-40d8f000 r-xp 00000000 03:02 114023 /lib/i686/libpthread-0.10.so
40d8f000-40d92000 rw-p 0000d000 03:02 114023 /lib/i686/libpthread-0.10.so
40db3000-40dba000 r-xp 00000000 03:02 1775438 /usr/X11R6/lib/libXp.so.6.2
40dba000-40dbb000 rw-p 00006000 03:02 1775438 /usr/X11R6/lib/libXp.so.6.2
40dbb000-40dc8000 r-xp 00000000 03:02 1775426 /usr/X11R6/lib/libXext.so.6.4
40dc8000-40dc9000 rw-p 0000c000 03:02 1775426 /usr/X11R6/lib/libXext.so.6.4
40dc9000-40dcd000 r-xp 00000000 03:02 1775448 /usr/X11R6/lib/libXtst.so.6.1
40dcd000-40dce000 rw-p 00004000 03:02 1775448 /usr/X11R6/lib/libXtst.so.6.1
40dce000-40de3000 r-xp 00000000 03:02 1775434 /usr/X11R6/lib/libXmu.so.6.2
40de3000-40de4000 rw-p 00015000 03:02 1775434 /usr/X11R6/lib/libXmu.so.6.2
40de4000-40dec000 r-xp 00000000 03:02 1775416 /usr/X11R6/lib/libSM.so.6.0
40dec000-40ded000 rw-p 00007000 03:02 1775416 /usr/X11R6/lib/libSM.so.6.0
40ded000-40e01000 r-xp 00000000 03:02 1775412 /usr/X11R6/lib/libICE.so.6.3
40e01000-40e02000 rw-p 00013000 03:02 1775412 /usr/X11R6/lib/libICE.so.6.3
40e05000-40e09000 rw-s 00000000 03:02 1808707 /tmp/hsperfdata_jaimeb/29824
40e09000-40e1d000 r-xp 00000000 03:02 1303990 /opt/j2sdk_nb/j2sdk1.4.2/jre/lib/i386/libzip.so
40e1d000-40e20000 rw-p 00013000 03:02 1303990 /opt/j2sdk_nb/j2sdk1.4.2/jre/lib/i386/libzip.so
40e6a000-40e80000 r--s 00000000 03:02 1304012 /opt/j2sdk_nb/j2sdk1.4.2/jre/lib/sunrsasign.jar
40e80000-40f5b000 r--s 00000000 03:02 1304038 /opt/j2sdk_nb/j2sdk1.4.2/jre/lib/jsse.jar
40f5b000-40f6c000 r--s 00000000 03:02 1304013 /opt/j2sdk_nb/j2sdk1.4.2/jre/lib/jce.jar
40f6c000-414c5000 r--s 00000000 03:02 1304039 /opt/j2sdk_nb/j2sdk1.4.2/jre/lib/charsets.jar
42000000-42126000 r-xp 00000000 03:02 114019 /lib/i686/libc-2.2.93.so
42126000-4212b000 rw-p 00126000 03:02 114019 /lib/i686/libc-2.2.93.so
4212f000-43aba000 r--s 00000000 03:02 1304041 /opt/j2sdk_nb/j2sdk1.4.2/jre/lib/rt.jar
Heap at VM Abort:
Heap
def new generation total 576K, used 0K [0x45ac0000, 0x45b60000, 0x461d0000)
eden space 512K, 0% used [0x45ac0000, 0x45ac0048, 0x45b40000)
from space 64K, 0% used [0x45b40000, 0x45b40000, 0x45b50000)
to space 64K, 0% used [0x45b50000, 0x45b50000, 0x45b60000)
tenured generation total 1408K, used 0K [0x461d0000, 0x46330000, 0x49ac0000)
the space 1408K, 0% used [0x461d0000, 0x461d0000, 0x461d0200, 0x46330000)
compacting perm gen total 16384K, used 289K [0x49ac0000, 0x4aac0000, 0x4dac0000)
the space 16384K, 1% used [0x49ac0000, 0x49b08450, 0x49b08600, 0x4aac0000)
Local Time = Thu Mar 25 12:18:38 2004
Elapsed Time = 0
# The exception above was detected in native code outside the VM
# Java VM: Java HotSpot(TM) Server VM (1.4.2-b28 mixed mode)
Another exception has been detected while we were handling last error.
Dumping information about last error:
ERROR REPORT FILE = (N/A)
PC = 0x084fcc19
SIGNAL = 11
FUNCTION NAME = __errno_location
OFFSET = 0x15
LIBRARY NAME = ./mtc_java_test1.e
Please check ERROR REPORT FILE for further information, if there is any.
Good bye.
I am using JVM 1.4.2 on reddog 8.0, kernell 2.4.18
Thanks in advance,
JB

The next most likely reason is because you are usingthe database interface incorrectly (like not calling >
an init function, or passing bad parameters, etc.)
I was thinking on that, but, I don't havae any
problem using db with a simple c program
Yes, but that doesn't mean this implementation is doing it correctly, it just makes it more likely.
And finally you might have found a but in either thedb library or in the VM.
Can I have a bug if both java w/o db works ok, and db
w/o java works ok?Perhaps but the could be other explainations. For one compilation options can subtly affect things like the way the stack is set up. This would occur if the library you are using used slightly different options than the JNI shared library.
>
Can be a thread problem since __errno_location() is a
pthread function?
C threads can cause problems in Java. In particular if an unregistered thread calls anything in Java it is a problem
Do you know if JVM used pthreads to run?
No idea. Although I believe there is a way to switch it back and forth.

Similar Messages

  • What does error OxE8000084 mean

    What does error OxE8000084 mean and how do I fix it?

    iPhone, iPad, iPod touch: Unknown error containing '0xE' when connecting

  • What does error OXE800008A mean

    What does error OXE800008A mean & how do I fix it?

    See my response on your other post

  • What does error 0x80092013 mean?

    What does error 0x80092013 mean?  my itunes will not let me connect to the store from my PC.  The diagnostics says the I can not establish a secure connection to the store, and of course when you click on the help button is say that you cannot establish a secure connection to the store.  Internet connection is good and the Firewall was good the last time I used the store on my PC. 

    Hello meltn2adream,
    The following article can help restore your computer's connection to the iTunes Store.
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    Cheers,
    Allen

  • What does error -4 mean when syncing?

    What does error -4 mean when syncing between the iPad in iTunes on a MacBook Pro?

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Click the Clear Display icon in the toolbar. Then try the action that you're having trouble with again. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message (command-V).
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.

  • TS2972 What does error -3259 mean when trying to set up home sharing?

    What does error -3259 mean when trying to set up home sharing

    http://support.apple.com/kb/TS2799
    Check there. Hope it helps.

  • What does error 2 mean?

    What does error 2 mean and why can't I restore my ipad?

    Hello shanejon,
    Thank you for using Apple Support Communities.
    For more information, take a look at:
    Resolve specific iTunes update and restore errors
    http://support.apple.com/kb/ts3694#2
    Configure your security software
    Related errors: 2, 4, 6, 9, 1000, 1611, 9006, 9807, 9844. Sometimes as a result of this issue, a device might stop responding during the restore process.
    Check your security software and settings, which can block ports and prevent connection to Apple servers during update and restore.
    Have a nice day,
    Mario

  • HT204088 what does error 8008 mean when downloading a movie on Apple TV

    what does error 8008 mean when downloading a movie on Apple TV

    Perhaps try the "Error -50," "-5000," "8003," "8008," or "-42023" section in the Specific Conditions and Alert Messages: (Mac OS X / Windows) section of the following document:
    iTunes: Advanced iTunes Store troubleshooting

  • What does error -10810 mean ?

    Hi ...   What does error -10810 mean ?  I could find anything on Google for this.

    It's a process table error, usually indicating a buggy third-party app. See the explanation here.
    A tricky point about searching for Mac errors in Google: always remove the minus sign.  If you search for (say) os X error -10810, Google will interpret the minus sign as a request to exclude all pages that contain the string 10810, which is exactly what you don't want. 

  • What does Error: 5 mean when trying to open Indesign CS4?

    What does Error: 5 mean when trying to open Indesign CS4?

    It means that you need to reinstall the program....
    Mylenium

  • HT201210 What does error 1015 mean when restoring my Iphone 3G?

    What does error 1015 mean when restoring my Iphone 3G?

    As easily found by googling:
    Errors related to downgrading iOS
    The required resource cannot be found: This alert message occurs when your device has a newer version of iOS than what is available in iTunes. When troubleshooting a device that presents this alert message, go to Settings > General > About and check the version of iOS on the device. If it is newer than the latest released iOS version, the device may have a prerelease developer version of iOS installed.   Installing an older version of iOS over a newer version is not supported.
    Error 1015: This error is typically caused by attempts to downgrade the iPhone, iPad, or iPod touch's software. This can occur when you attempt to restore using an older .ipsw file. Downgrading to a previous version is not supported. To resolve this issue, attempt to restore with the latest iPhone, iPad, or iPod touch software available from Apple. This error can also occur when an unauthorized modification of the iOS has occurred and you are now trying to restore to an authorized, default state.
    In summary: your phone is likely jailbroken. If so, there is no more support available on these forums.

  • What does error -3150 mean when i plug my ipod into my computer, What does error -3150 mean when i plug my ipod into my computer

    When i plug my ipod into my computer, What does error -3150 mean when i plug my ipod into my computer

    Have you looked at the previous discussions listed on the right side of this page under the heading "More Like This"?

  • What does Error 1321 mean when trying to install Reader?

    What does Error 1321 mean when trying to install Reader?

    Hi ReadyToGo3 and welcome to the Adobe Reader Forums.
    Please note you're not providing us with minimun info as to be able to assist you properly:
    - What OS and version / What Browser and version,
    - What Adobe Reader version / Is it a new install or an update you're being prompted to install
    - A brief description of your problem (How & When), the exact error message you are receiving and steps already taken to try to resolve the issue.
    Having said that, please note that error 1321 can occur for several reasons but mainly due to the installer not able to write a file due to a permissions issue or system error(s). To resolve the issue you may try to update the privileges on the parent folder of the file or source listed in the error message.
    You may try helping yourself from here:
    http://helpx.adobe.com/acrobat/kb/update-errors-acrobat-reader-windows.html#main_Update_er rors
    Or alternatively:
    http://helpx.adobe.com/acrobat/kb/quick-fix-install-download-reader.html#main__More_soluti ons
    Lets us know how it goes. Good Luck!

  • HT201210 what does error 2009 mean

    What does error 2009 mean on iphone

    Hi kathandfloyd!
    I have an article for you that can help you troubleshoot this issue:
    Resolve specific iTunes update and restore errors
    http://support.apple.com/kb/ts3694
    Thanks for using the Apple Support Communities. Have a good one!
    -Braden

  • What does error 306 mean when trying to download my previous purchases

    whatb does error 306 mean when trying to download previously purchased songs?

    Try the iTunes Store loads partially or returns "Error 306" or "Error 10054" section in the Specific Conditions and Alert Messages: (Mac OS X / Windows) section of the following document:
    iTunes: Advanced iTunes Store troubleshooting

Maybe you are looking for