Using Bin With High Glibc In Low Glibc Env
问题
众所周知,zip 在 Windows 下打包时使用了本地编码,但 Linux 下解压却使用 UTF-8 编码,导致中文乱码。
我有 unzipi,可以解决这个问题。但当我要在一台低版本 glibc 环境下运行时,我这用高版本构建的 unzipi 无法运行。
[demo@vmdeb ~]# unzipi |
众所周知,zip 在 Windows 下打包时使用了本地编码,但 Linux 下解压却使用 UTF-8 编码,导致中文乱码。
我有 unzipi,可以解决这个问题。但当我要在一台低版本 glibc 环境下运行时,我这用高版本构建的 unzipi 无法运行。
[demo@vmdeb ~]# unzipi |
共收集 10 个崩溃日志文件:
| 文件名 | 失败映射大小 | 可用物理内存 | 运行时间 |
|---|---|---|---|
| hs_err_pid226688.log | 6.4 MB | 3517 MB | 1h 4m 48s |
| hs_err_pid167320.log | 558 MB | 5489 MB | - |
| hs_err_pid182888.log | 644 MB | 3748 MB | - |
| hs_err_pid244348.log | 1121 MB | 5413 MB | - |
| hs_err_pid323564.log | 1380 MB | 3678 MB | 3m 5s |
| hs_err_pid310304.log | 1225 MB | 3633 MB | 9m 8s |
| hs_err_pid276796.log | 1522 MB | 3736 MB | 1m 31s |
| hs_err_pid142912.log | 1760 MB | 5074 MB | - |
| hs_err_pid231664.log | 2042 MB | 5355 MB | - |
| hs_err_pid295504.log | 2135 MB | 2720 MB | 50m 44s |
java.lang.RuntimeException: io.protostuff.ProtostuffException: Corrupt input. |
RabbitMQ 消费端在反序列化消息时报错,错误堆栈指向 Protostuff 的 ObjectSchema.readObjectFrom 方法。