Skip to content

[Bug] symbol lookup error: libbolt_backend.so: undefined symbol: __wrap___cxa_throw #352

@KAlbert2333

Description

@KAlbert2333

Component Selection

  • Core Engine (Expression eval, Memory, Vector)
  • Connectors / File Formats (Hive, Parquet, etc.)
  • API / Bindings (Python, etc.)
  • Build
  • Other

Describe the Bug

We have found undefined errors in the __wrap__cxa_throw symbol on both Arm and x86,the problem was not solved even after changing ENABLE-EXCEPION-TRACE to ON

Reproduction Steps

1.Execute TPCDS99
2.Errors will occur in all cases

Bolt Version / Commit ID

102612f

System Configuration

- **OS**: veLinux 5.15.152.ve.7 (e.g. Ubuntu 22.04, CentOS 7)
- **Compiler**: GCC12.5.0(e.g. GCC 11, Clang 14)
- **Build Type**: Release (Debug / Release / RelWithDebInfo)
- **CPU Arch**: x86_64 AVX2(e.g. x86_64 AVX2, ARM64)
- **Framework**: Spark 3.4(e.g. Spark 3.3, PrestoDB)

Logs / Stack Trace

Setting default log level to "WARN".
To adjust logging level use sc.setLogLevel(newLevel). For SparkR, use setLogLevel(newLevel).
26/03/06 14:25:25 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
26/03/06 14:25:26 WARN Utils: Service 'SparkUI' could not bind on port 4040. Attempting port 4041.
26/03/06 14:25:26 WARN BoltListenerApi: Memory overhead is set to 1024MiB which is smaller than the recommended size 4915MiB. This may cause OOM.
WARNING: Logging before InitGoogleLogging() is written to STDERR
I20260307 03:25:27.608960 281473452659104 JniNativeLibraryLoader.cc:65] library: (/tmp/gluten-59250c06-509a-47e6-8a8d-d00eb0a07d22/jni/78ec6027-01cd-48fb-aaad-cec64a816b04/gluten-6469488080493148636/linux/aarch64/libbolt_backend.so) is loaded with flag = 257
W20260307 03:25:27.698915 281473452659104 MemoryArbitrator.cpp:103] Query memory capacity[768.00MB] is set for NOOP arbitrator which has no capacity enforcement
26/03/06 14:25:28 WARN Client: Neither spark.yarn.jars nor spark.yarn.archive is set, falling back to uploading libraries under SPARK_HOME.
Spark master: yarn, Application Id: application_1772734079914_0027
/usr/local/java/bin/java: symbol lookup error: /tmp/gluten-59250c06-509a-47e6-8a8d-d00eb0a07d22/jni/78ec6027-01cd-48fb-aaad-cec64a816b04/gluten-6469488080493148636/linux/aarch64/libbolt_backend.so: undefined symbol: __wrap___cxa_throw

Expected Behavior

Correctly query SQL

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions