Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6152311
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T19:53:55+00:00 2026-05-23T19:53:55+00:00

I am loading a Library on Linux through System.LoadLibrary( ) call. (Previously asked about

  • 0

I am loading a Library on Linux through System.LoadLibrary( ) call. (Previously asked about here)

A new twist is that I discovered gstack, so I can see where it is actually frozen.. One red flag I see is this:

Thread 15 (Thread 0xb73feb90 (LWP 12892)):
#0  0xb7f57402 in __kernel_vsyscall ()
#1  0x0075ebc5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x7fd2416c in system__task_primitives__operations(short, long,...)(...)( *) () from /app/gnatpro6.2.2-linux/lib/gcc/i686-pc-linux-gnu/4.3.3/adalib/libgnarl-6.2.so
#3  0x7fd2cd13 in system__tasking__stages__activate_tasks () from /app/gnatpro6.2.2-linux/lib/gcc/i686-pc-linux-gnu/4.3.3/adalib/libgnarl-6.2.so
#4  0x7fd2272c in system__interrupts___elabb () from /app/gnatpro6.2.2-linux/lib/gcc/i686-pc-linux-gnu/4.3.3/adalib/libgnarl-6.2.so
#5  0xb7377e37 in loadinit () from /home/user1/workspace/javaLinux/lib/libload.so
#6  0xb7377ecd in __do_global_ctors_aux () from /home/user1/workspace/javaLinux/lib/libload.so
#7  0xb7377579 in _init () from /home/user1/workspace/javaLinux/lib/libload.so
#8  0x005b73f3 in call_init () from /lib/ld-linux.so.2
#9  0x005b7503 in _dl_init_internal () from /lib/ld-linux.so.2
#10 0x005baeab in dl_open_worker () from /lib/ld-linux.so.2
#11 0x005b7036 in _dl_catch_error () from /lib/ld-linux.so.2
#12 0x005ba652 in _dl_open () from /lib/ld-linux.so.2
#13 0x0074ec6d in dlopen_doit () from /lib/libdl.so.2
#14 0x005b7036 in _dl_catch_error () from /lib/ld-linux.so.2
#15 0x0074f2ec in _dlerror_run () from /lib/libdl.so.2
#16 0x0074eba4 in dlopen@@GLIBC_2.1 () from /lib/libdl.so.2
#17 0xb792c099 in os::dll_load(char const*, char*, int) () from /home/user1/tools/Linux/jdk1.6.0_17/jre/lib/i386/server/libjvm.so
#18 0xb77e0cd9 in JVM_LoadLibrary () from /home/user1/tools/Linux/jdk1.6.0_17/jre/lib/i386/server/libjvm.so
#19 0xb7394cac in Java_java_lang_ClassLoader_00024NativeLibrary_load () from /home/user1/tools/Linux/jdk1.6.0_17/jre/lib/i386/libjava.so
#20 0xb43554aa in ?? ()
#21 0x086a9510 in ?? ()
#22 0xb73fdf34 in ?? ()
#23 0xb73fdf30 in ?? ()
#24 0xb434e08d in ?? ()
#25 0xb73fdf00 in ?? ()
#26 0x00000000 in ?? ()

Specifically this: #17 0xb792c099 in os::dll_load

Shouldn’t this be calling into a Linux load library call, not a dll call? Any ideas why it would make the wrong call?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T19:53:55+00:00Added an answer on May 23, 2026 at 7:53 pm

    I think, this is just a matter of naming things. It seems, that the JVM authors preferred to name their wrapper dll_load instead of so_load. If you look at the stacktrace (in particular, the frames immediately above in the list), you see

    dlopen@@GLIBC_2.1 () from /lib/libdl.so.2
    

    which actually is the Linux equivalent to LoadLibrary under windows.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I tried loading C shared library .so in Python using ctypes.CDLL class (Linux). Here
I'm trying to create a splash screen that shows assemblies (all referenced library) loading
I'm dynamically loading movie clips (SWFS) into attached clips (from the library). The loaded
I was wondering whether there is a simple PHP library to test the loading
When loading XML into an XmlDocument, i.e. XmlDocument document = new XmlDocument(); document.LoadXml(xmlData); is
I'm dynamically loading some Linux libraries in C. I can get the start addresses
I am working with a legacy C library that can be extended by writing
I am trying to debug an application using gdb on Linux. However, when loading
In Java I have code that works well on OSX but not in linux.
I have an application that can import an XML file through this terminal command

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.