私はsmslibを使用してsmsを送信しようとしています。Windowsでは問題なく動作しますが、ubuntu11.10で動作させる必要があります。そこで、ここhttp://www.cloudhopper.com/opensource/rxtx/から64ビットOS用のrxtxをインストールしました。/ dev / ttyS32(無料のシリアルポート)にリンクした/ dev/ttyACM0として検出されたusbを使用して携帯電話を接続しました。次に、プログラムを実行しようとすると、次のエラーが発生します。
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f44f9a065da, pid=8875, tid=139934227818240
#
# JRE version: 7.0_147-b147
# Java VM: OpenJDK 64-Bit Server VM (21.0-b17 mixed mode linux-amd64 compressed oops)
# Derivative: IcedTea7 2.0
# Distribution: Ubuntu 11.10, package 7~b147-2.0-0ubuntu0.11.10.1
# Problematic frame:
# C [librxtxSerial.so+0x75da] Java_gnu_io_RXTXPort_nativeDrain+0xea
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/radek/NetBeansProjects/sms/hs_err_pid8875.log
#
# If you would like to submit a bug report, please include
# instructions on how to reproduce the bug and visit:
# https://bugs.launchpad.net/ubuntu/+source/openjdk-7/
#
Java Result: 134
どうやってこれに取り組むのか分かりません。