Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #9982

Re: JNI lib crash, with a change in a .c file which is not included in the Makefile

From jacob navia <jacob@spamsink.net>
Newsgroups comp.lang.c++
Subject Re: JNI lib crash, with a change in a .c file which is not included in the Makefile
Date 2011-09-09 16:22 +0200
Organization lccwin
Message-ID <j4d7eu$mmt$2@speranza.aioe.org> (permalink)
References <b6c8d5cc-4703-4072-940b-f7436a655c3a@i2g2000yqm.googlegroups.com> <j4d6lg$mff$1@node2.news.atman.pl>

Show all headers | View raw


Le 09/09/11 16:05, Edek a écrit :
  - ldd the lib in question, with same path as Java does it
> - make sure there is no uncaught exception
> - make sure you compile against the right headers
> - google
> - try getting obtaining the same result with a simple test,
> things to try are countless (exception, unclean build (Makefiles),
> JNI API misuse, .so depended on another DSO together with placing
> them on different paths and with different -Djava.library.path
> settings, DSO with unresolved symbols like using newer another DSO's
> headers than the other DSO itself, using relative paths, or absolute
> paths, full lib name, or just a short name, checking -rpaths and
> sonames, and the list goes on)
>
> HTH
>
> Edek
>

Yes, the list is endless. I thinkthat has to be done by an expert
at their site. Hint: I am not that expert, this looks like those
nightmarish problems to solve to me :-)

Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

JNI lib crash, with a change in a .c file which is not included in the Makefile aqura <chandra.vikas21@gmail.com> - 2011-09-09 01:44 -0700
  Re: JNI lib crash, with a change in a .c file which is not included in the Makefile jacob navia <jacob@spamsink.net> - 2011-09-09 11:17 +0200
    Re: JNI lib crash, with a change in a .c file which is not included in the Makefile aqura <chandra.vikas21@gmail.com> - 2011-09-09 03:41 -0700
      Re: JNI lib crash, with a change in a .c file which is not included in the Makefile jacob navia <jacob@spamsink.net> - 2011-09-09 13:52 +0200
        Re: JNI lib crash, with a change in a .c file which is not included in the Makefile aqura <chandra.vikas21@gmail.com> - 2011-09-09 05:50 -0700
  Re: JNI lib crash, with a change in a .c file which is not included in the Makefile Edek <edek.pienkowski@gmail.com> - 2011-09-09 16:05 +0200
    Re: JNI lib crash, with a change in a .c file which is not included in the Makefile jacob navia <jacob@spamsink.net> - 2011-09-09 16:22 +0200
  Re: JNI lib crash, with a change in a .c file which is not included in the Makefile Victor Bazarov <v.bazarov@comcast.invalid> - 2011-09-09 10:39 -0400

csiph-web