

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
33 messages in net.java.dev.jna.usersRe: [jna-users] Linux SIGSEGV under J...| From | Sent On | Attachments |
|---|---|---|
| Mark Click | Jun 4, 2009 4:59 pm | .txt |
| Timothy Wall | Jun 4, 2009 6:47 pm | |
| Mark Click | Jun 4, 2009 8:50 pm | |
| Timothy Wall | Jun 5, 2009 4:12 am | |
| Mark Click | Jun 5, 2009 11:10 am | |
| Timothy Wall | Jun 5, 2009 11:30 am | |
| Mark Click | Jun 5, 2009 1:27 pm | |
| Timothy Wall | Jun 5, 2009 1:41 pm | |
| Mark Click | Jun 5, 2009 1:54 pm | |
| Timothy Wall | Jun 5, 2009 3:21 pm | |
| Mark Click | Jun 5, 2009 3:24 pm | |
| Timothy Wall | Jun 5, 2009 3:28 pm | |
| Mark Click | Jun 5, 2009 3:45 pm | |
| Mark Click | Jun 5, 2009 4:36 pm | |
| Timothy Wall | Jun 5, 2009 5:02 pm | |
| Mark Click | Jun 7, 2009 3:55 pm | |
| Timothy Wall | Jun 7, 2009 5:30 pm | |
| Mark Click | Jun 8, 2009 9:22 am | |
| Mark Click | Jun 8, 2009 1:46 pm | |
| Timothy Wall | Jun 8, 2009 2:13 pm | |
| Timothy Wall | Jun 8, 2009 2:16 pm | |
| Mark Click | Jun 8, 2009 3:07 pm | |
| Mark Click | Jun 8, 2009 3:08 pm | |
| Timothy Wall | Jun 8, 2009 3:33 pm | |
| Timothy Wall | Jun 9, 2009 5:18 am | |
| Timothy Wall | Jun 9, 2009 6:13 am | |
| Timothy Wall | Jun 9, 2009 7:08 am | |
| Mark Click | Jun 9, 2009 9:54 am | |
| Mark Click | Jun 9, 2009 10:04 am | |
| Mark Click | Jun 9, 2009 10:07 am | |
| Mark Click | Jun 9, 2009 10:09 am | |
| Mark Click | Jun 9, 2009 2:05 pm | |
| Mark Click | Jun 10, 2009 1:46 pm |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | Re: [jna-users] Linux SIGSEGV under JNA but not C? | Actions... |
|---|---|---|
| From: | Mark Click (mark...@gmail.com) | |
| Date: | Jun 9, 2009 2:05:03 pm | |
| List: | net.java.dev.jna.users | |
On Tue, Jun 9, 2009 at 10:07 AM, Mark Click <mark...@gmail.com> wrote:
On Tue, Jun 9, 2009 at 6:13 AM, Timothy Wall <twal...@dev.java.net>wrote:
On Jun 8, 2009, at 6:09 PM, Mark Click wrote:
On Mon, Jun 8, 2009 at 2:17 PM, Timothy Wall <twal...@dev.java.net> wrote: Also make sure you use the same Java test program to test both scenarios, so that you've ensured that the Java environment is otherwise identical.
Examine libjnidispatch.so and your 3rd-party shared library using ldd; see if there are any dependent library conflicts (e.g. libc.so).
Here's the ldd output for the libraries, http://pastebin.com/m3c041b92
It looks like everything is normal/correct?
What happens when your JNI code dynamically loads your 3rd-party library, e.g.
void * handle = dlopen("/path/to/lib3rdparty.so", RTLD_LAZY); void (*func)(wchar_t*) = (void (*)(wchar_t*))dlsym("entryPoint"); (*func)(NULL); dlclose(handle);
Everything works still, just as the JNI without it.
Does JNA pin memory allocated by native code as JNI does? There's no way memory used for the deserialization could be getting garbage collected before use? Sorry, grasping at straws at this point.
- Mark








.txt