Skip to content
This repository has been archived by the owner on May 9, 2024. It is now read-only.

pyhdk import fails on the HDK 0.9 from conda #712

Open
Egor-Krivov opened this issue Nov 6, 2023 · 5 comments
Open

pyhdk import fails on the HDK 0.9 from conda #712

Egor-Krivov opened this issue Nov 6, 2023 · 5 comments
Assignees

Comments

@Egor-Krivov
Copy link

I have a problem with the latest conda release of HDK.

Source code to reproduce:

import pyhdk
 
pyhdk.init()

Error msg:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007feb5ac04210, pid=503413, tid=503526
#
# JRE version: OpenJDK Runtime Environment (11.0.1+13) (build 11.0.1+13-LTS)
# Java VM: OpenJDK 64-Bit Server VM (11.0.1+13-LTS, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# C  [libjimage.so+0x4210]  ImageStrings::find(Endian*, char const*, int*, unsigned int)+0x70
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /localdisk/ekrivov/db-benchmark/modin/core.503413)
#
# An error report file with more information is saved as:
# /localdisk/ekrivov/db-benchmark/modin/hs_err_pid503413.log
#
# If you would like to submit a bug report, please visit:
#   http://www.azulsystems.com/support/
#
Aborted (core dumped)

Code to reproduce after creating hdk_bug.py with source code from above:

#!/bin/bash
set -e
 
curl -o install_miniconda.sh -L https://repo.anaconda.com/miniconda/Miniconda3-py311_23.9.0-0-Linux-x86_64.sh && \
    sh install_miniconda.sh -u -b -p ./miniconda && \
    rm -f install_miniconda.sh
 
source ./miniconda/bin/activate
conda install -y conda-libmamba-solver
 
# install binaries
conda install -y -c conda-forge modin-hdk --solver=libmamba
 
python hdk_bug.py
@Egor-Krivov
Copy link
Author

BTW, hdk works, we utilize it with modin. It does execute queries, bug happens when the script exits

@Egor-Krivov
Copy link
Author

Egor-Krivov commented Nov 6, 2023

Assigned to Alex on advice from Ilya

@Garra1980
Copy link
Contributor

Probably this is the reason - conda-forge/hdk-feedstock@7a402c0

@alexbaden
Copy link
Contributor

I can confirm updating to openjdk 17 fixes this issue. So, we need to modify conda-forge to pin openjdk >= 17 instead of 11. I will open the conda-forge PR and report back.

@alexbaden
Copy link
Contributor

conda-forge/hdk-feedstock#54 @Garra1980 @leshikus please take a look.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants