Re: Building a class with JCC from setup.py

2017-07-11 Thread Joshua Campbell
at 10:00 AM, Andi Vajda <va...@apache.org> wrote: > >> On Jul 11, 2017, at 08:30, Joshua Campbell <josh...@ualberta.ca> wrote: >> >> Does anyone know how to do this? I don't want to install the java >> stuff as its own thing like python -m jcc --install... I ju

Building a class with JCC from setup.py

2017-07-11 Thread Joshua Campbell
Does anyone know how to do this? I don't want to install the java stuff as its own thing like python -m jcc --install... I just want to include it as a submodule of a package I already have. -- Joshua Charles Campbell Ph.D. Student and Research Assistant Department of Computing Science

Re: Build Error on Fedora 25

2017-07-11 Thread Joshua Campbell
Yeah you have to do this on debian/ubuntu as well On Mon, Jul 10, 2017 at 2:43 PM, Michael Alcorn wrote: > Hi all, > > When trying to follow the PyLucene installation instructions on Fedora 25, > I was getting the following error: > > /opt/gcc-4.9.3/bin/g++ -pthread -shared

Re: JCC Segfault on Debian 9 (stretch)

2017-07-07 Thread Joshua Campbell
> > It turns out the JVM is crashing on the line commented with "// > Generate SEGV" so something about Python/JNI/JCC is intefering with > the JVM's signal handler, as this SEGV is intentional! > > > > On Thu, Jul 6, 2017 at 12:44 AM, Joshua Campbell <josh...@ualb

Re: JCC Segfault on Debian 9 (stretch)

2017-07-06 Thread Joshua Campbell
erate SEGV" so something about Python/JNI/JCC is intefering with the JVM's signal handler, as this SEGV is intentional! On Thu, Jul 6, 2017 at 12:44 AM, Joshua Campbell <josh...@ualberta.ca> wrote: > How would they break oracle's though. It's a binary. > > On Wed, Jul 5, 201

Re: JCC Segfault on Debian 9 (stretch)

2017-07-06 Thread Joshua Campbell
How would they break oracle's though. It's a binary. On Wed, Jul 5, 2017 at 10:40 PM, Andi Vajda <va...@apache.org> wrote: > > > On Jul 6, 2017, at 00:03, Joshua Campbell <josh...@ualberta.ca> wrote: > > > > I confirmed that it crashes on multiple Debian 9

Re: JCC Segfault on Debian 9 (stretch)

2017-07-05 Thread Joshua Campbell
at 2:39 PM, Joshua Campbell <josh...@ualberta.ca> wrote: > No, it segfaults. > > On Wed, Jul 5, 2017 at 2:26 PM, Andi Vajda <va...@apache.org> wrote: >> >>> On Jul 5, 2017, at 22:16, Joshua Campbell <josh...@ualberta.ca> wrote: >>> >>> It's

Re: JCC Segfault on Debian 9 (stretch)

2017-07-05 Thread Joshua Campbell
No, it segfaults. On Wed, Jul 5, 2017 at 2:26 PM, Andi Vajda <va...@apache.org> wrote: > >> On Jul 5, 2017, at 22:16, Joshua Campbell <josh...@ualberta.ca> wrote: >> >> It's occuring after JCC calls JNI_CreateJavaVM >> >> cpp.py(529): en

Re: JCC Segfault on Debian 9 (stretch)

2017-07-05 Thread Joshua Campbell
ed, Jul 5, 2017 at 11:48 AM, Joshua Campbell <josh...@ualberta.ca> wrote: >> But you should get a better stacktrace ? > > I got the exact same stacktrace. > > $ ldd > venv3/lib/python3.5/site-packages/JCC-3.0-py3.5-linux-x86_64.egg/libjcc3.so > linux-vdso.so.1 (0

Re: JCC Segfault on Debian 9 (stretch)

2017-07-05 Thread Joshua Campbell
ffc7e0 in ?? () #5 0x76006075 in VM_Version::get_processor_features() () from /usr/lib/jvm/java-1.8.0-openjdk-amd64/jre/lib/amd64/server/libjvm.so Backtrace stopped: previous frame inner to this frame (corrupt stack?) On Wed, Jul 5, 2017 at 11:38 AM, Andi Vajda <va...@apache.org> w

Re: JCC Segfault on Debian 9 (stretch)

2017-07-05 Thread Joshua Campbell
> What version if java is this jcc built with ? Oh it's openjdk-8-dbg_8u131-b11-2 But I got a same result (the stacktrace was slightly different but still undecoded) with Oracle's JDK. On Wed, Jul 5, 2017 at 10:56 AM, Joshua Campbell <josh...@ualberta.ca> wrote: > > What

Re: JCC Segfault on Debian 9 (stretch)

2017-07-05 Thread Joshua Campbell
the same as during jcc build time ? Yes I made sure of that and uninstalled all but openjdk and rebuilt. On Wed, Jul 5, 2017 at 10:46 AM, Andi Vajda <va...@apache.org> wrote: > > > On Jul 5, 2017, at 18:25, Joshua Campbell <josh...@ualberta.ca> wrote: > > > > Thi

JCC Segfault on Debian 9 (stretch)

2017-07-05 Thread Joshua Campbell
This segfault appears to occur within the JVM code on both oracle-java8-jdk and java-1.8.0-openjdk-amd64. I installed the JVM debugging symbols but it didn't seem to help. Occurs under python 2 and 3. I don't know how to debug this any further. 0 joshua@buttercup unnaturalcode 17609$ python3 -m