收藏
回答

会话存档 解析企业微信聊天记录,使用多线程报错

单线程没有异常,多线程的时候报错,报错信息如下

[root@iz8vb7i28oglm67xb5quilz hhcd]# *** Error in `java': double free or corruption (fasttop): 0x00007f2e00007680 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x81329)[0x7f2e9235a329]
/home/data/java/project/hhcd/libWeWorkFinanceSdk_Java.so(_ZNSs6assignERKSs+0x87)[0x7f2de2f87717]
/home/data/java/project/hhcd/libWeWorkFinanceSdk_Java.so(_ZN16WeWorkFinanceSdk4InitERKSsS1_+0x69)[0x7f2de2cafa81]
/home/data/java/project/hhcd/libWeWorkFinanceSdk_Java.so(Init+0x94)[0x7f2de2caca7d]
/home/data/java/project/hhcd/libWeWorkFinanceSdk_Java.so(Java_com_tencent_wework_Finance_Init+0x83)[0x7f2de2ca355a]
[0x7f2e7e1f72e7]
======= Memory map: ========
00400000-00401000 r-xp 00000000 fd:01 675813                             /usr/java/jdk1.8.0_121/bin/java
00600000-00601000 rw-p 00000000 fd:01 675813                             /usr/java/jdk1.8.0_121/bin/java
0257e000-0259f000 rw-p 00000000 00:00 0                                  [heap]
89e00000-96680000 rw-p 00000000 00:00 0 
96680000-d8a00000 ---p 00000000 00:00 0 
d8a00000-fb080000 rw-p 00000000 00:00 0 
fb080000-100000000 ---p 00000000 00:00 0 
100000000-100e06000 rw-p 00000000 00:00 0 
100e06000-140000000 ---p 00000000 00:00 0 
7f2de031f000-7f2de0322000 ---p 00000000 00:00 0 
7f2de0322000-7f2de0420000 rw-p 00000000 00:00 0                          [stack:23991]
7f2de0420000-7f2de0423000 ---p 00000000 00:00 0 
7f2de0423000-7f2de0621000 rw-p 00000000 00:00 0                          [stack:23990]
7f2de0621000-7f2de0721000 ---p 00000000 00:00 0 
7f2de0721000-7f2de0722000 ---p 00000000 00:00 0 
7f2de0722000-7f2de0f22000 rw-p 00000000 00:00 0 
7f2de0f22000-7f2de0f25000 ---p 00000000 00:00 0 
7f2de0f25000-7f2de1023000 rw-p 00000000 00:00 0                          [stack:20514]
7f2de1023000-7f2de1026000 ---p 00000000 00:00 0 
7f2de1026000-7f2de1324000 rw-p 00000000 00:00 0                          [stack:20513]
7f2de1324000-7f2de1327000 ---p 00000000 00:00 0 
7f2de1327000-7f2de1425000 rw-p 00000000 00:00 0                          [stack:20506]
7f2de1425000-7f2de1428000 ---p 00000000 00:00 0 
7f2de1428000-7f2de1726000 rw-p 00000000 00:00 0                          [stack:20505]
7f2de1726000-7f2de1727000 ---p 00000000 00:00 0 
7f2de1727000-7f2de2127000 rw-p 00000000 00:00 0 
7f2de2127000-7f2de212a000 ---p 00000000 00:00 0 
7f2de212a000-7f2de2228000 rw-p 00000000 00:00 0                          [stack:18719]
7f2de2228000-7f2de222b000 ---p 00000000 00:00 0 
7f2de222b000-7f2de2329000 rw-p 00000000 00:00 0                          [stack:18718]
7f2de2329000-7f2de232a000 ---p 00000000 00:00 0 
7f2de232a000-7f2de2b2a000 rw-p 00000000 00:00 0 
7f2de2b2a000-7f2de3098000 r-xp 00000000 fd:10 1048582                    /home/data/java/project/hhcd/libWeWorkFinanceSdk_Java.so
7f2de3098000-7f2de3298000 ---p 0056e000 fd:10 1048582                    /home/data/java/project/hhcd/libWeWorkFinanceSdk_Java.so
7f2de3298000-7f2de32e5000 rw-p 0056e000 fd:10 1048582                    /home/data/java/project/hhcd/libWeWorkFinanceSdk_Java.so
7f2de32e5000-7f2de34ff000 rw-p 00000000 00:00 0 
7f2de34ff000-7f2de36ff000 rw-p 00000000 00:00 0 
7f2de36ff000-7f2de3702000 ---p 00000000 00:00 0 
7f2de3702000-7f2de3800000 rw-p 00000000 00:00 0                          [stack:18711]
7f2de3800000-7f2de3803000 ---p 00000000 00:00 0 
7f2de3803000-7f2de3901000 rw-p 00000000 00:00 0                          [stack:18709]
7f2de3901000-7f2de3904000 ---p 00000000 00:00 0 
7f2de3904000-7f2de3a02000 rw-p 00000000 00:00 0                          [stack:18708]
7f2de3a02000-7f2de3a05000 ---p 00000000 00:00 0 
7f2de3a05000-7f2de3b03000 rw-p 00000000 00:00 0                          [stack:18707]


回答关注问题邀请回答
收藏

1 个回答

  • BurNing
    BurNing
    2022-05-25

    遇到了同样的问题,有解决办法么

    2022-05-25
    有用
    回复
登录 后发表内容