【问题描述】
userapp03
su - smbsuser
bak安装包有问题的,不带bak包是正确的
573M damengbak.tgz
376M dameng.tgz
/var/log/messages 一直报错 $DM_HOME/bin/libdmdpc.so error
导致/var/log/messages 不断写信息,直到/var文件系统写满
Aug 25 03:40:03 userapp03 systemd-coredump[3198931]: Process 3198929 (swComJmsbSvr) of user 3006
dumped core.#012#012Stack trace of thread 3198929:#012#0 0x0000fffee20529ac n/a (/home/smbsuser/dameng/bin/libdmdpc.so)
#012#1 0x0000fffee20529e0 n/a (/home/smbsuser/dameng/bin/libdmdpc.so)#012#2 0x0000fffee2052a44 n/a
(/home/smbsuser/dameng/bin/libdmdpc.so)#012#3 0x0000fffee20aa934 n/a
(/home/smbsuser/dameng/bin/libdmdpc.so)#012#4 0x0000fffee1fc981c n/a
(/home/smbsuser/dameng/bin/libdmdpc.so)#012#5 0x0000fffee1fa8ee4 n/a
(/home/smbsuser/dameng/bin/libdmdpc.so)#012#6 0x0000fffee1f36070 n/a (/home/smbsuser/dameng/bin/libdmdpc.so)
#012#7 0x0000fffee1f360f0 n/a (/home/smbsuser/dameng/bin/libdmdpc.so)#012#8 0x0000fffee1f4eb64 n/a
(/home/smbsuser/dameng/bin/libdmdpc.so)#012#9 0x0000fffee1f4eb94 n/a (/home/smbsuser/dameng/bin/libdmdpc.so)
#012#10 0x0000fffee1f350ac n/a (/home/smbsuser/dameng/bin/libdmdpc.so)#012#11 0x0000fffee1d393a0 __cxa_finalize
(libc.so.6)#012#12 0x0000fffee2cbdc90 n/a (ld-linux-aarch64.so.1)#012#13 0x0000fffee1d38dfc n/a (libc.so.6)#012#14 0x0000fffee1d38f04 exit (libc.so.6)#012#15 0x00000000004033a0 main (swComJmsbSvr)#012#16 0x0000fffee1d23f80 __libc_start_main (libc.so.6)#012#17 0x0000000000402ff4 $x (swComJmsbSvr)#012#18 0x0000000000402ff4 $x (swComJmsbSvr)
Aug 25 03:40:03 userapp03 systemd[1]: [email protected]: Succeeded.
【问题分析】
问题是userapp03 的DM_HOME环境包有问题,但是使用同样方式安装的userapp04 的DM_HOME 环境包却没有问题
---有问题的libdmdpc.so
[root@userapp03 bin]# ls -ltr libdmdpc.so
-rwxr-xr-x 1 dddddd12514832 Dec 26 2023 libdmdpc.so
--正确的包大小 10326624
ls -ltr libdmdpc.so
-rwxr-xr-x 1 dddddd10326624 9▒▒ 30 2021 libdmdpc.so
【规避方法】
通过将测试环境的DM_HOME打包,覆盖到该环境,问题得到规避
正确的环境信息如下:
disql -id
1-2-70-21.09.08-147080-10028-SEC
--正确的包大小 10326624
ls -ltr libdmdpc.so
-rwxr-xr-x 1 dddddd10326624 9▒▒ 30 2021 libdmdpc.so
标签:bin,crash,smbsuser,012,so,应用,libdmdpc,dameng,客户端 From: https://www.cnblogs.com/feiyun8616/p/18429333