#1006744 open-vm-tools core dump on debian 10

Package:
open-vm-tools
Source:
open-vm-tools
Description:
Open VMware Tools for virtual machines hosted on VMware (CLI)
Submitter:
"Chilukuri, Girish - Dell Team"
Date:
2022-03-11 11:57:05 UTC
Severity:
normal
#1006744#5
Date:
2022-03-04 03:12:42 UTC
From:
To:
Hi,
    We are using Debian 10(amd 64) in our product and see core dump generated by “/usr/bin/vmtoolsd”. We tried with open-vm-tools 11.2.5 and 10.1.5 versions still see the same issue.

Package details:
dpkg --list open-vm-tools
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version             Architecture Description
+++-==============-===================-============-=============================================================
ii  open-vm-tools  2:10.3.10-1+deb10u2 amd64        Open VMware Tools for virtual machines hosted on VMware (CLI)


OS details:
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL=https://www.debian.org/
SUPPORT_URL=https://www.debian.org/support
BUG_REPORT_URL=https://bugs.debian.org/

Core file was generated and below is the segmentation fault information from core dump file:

Using host libthread_db library "/usr/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/vmtoolsd'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 __strlen_avx2 () at ../sysdeps/x86_64/multiarch/strlen-avx2.S:65
65 ../sysdeps/x86_64/multiarch/strlen-avx2.S: No such file or directory.

systemctl status open-vm-tools.service
● open-vm-tools.service - Service for virtual machines hosted on VMware
Loaded: loaded (/lib/systemd/system/open-vm-tools.service; enabled; vendor preset: enabled)
Active: failed (Result: core-dump) since Tue 2022-03-01 08:32:44 UTC; 26min ago
Docs: http://open-vm-tools.sourceforge.net/about.php
Process: 441 ExecStart=/usr/bin/vmtoolsd (code=dumped, signal=SEGV)
Main PID: 441 (code=dumped, signal=SEGV)

Mar 01 08:27:11 systemd[1]: Started Service for virtual machines hosted on VMware.
Mar 01 08:32:44 systemd[1]: open-vm-tools.service: Main process exited, code=dumped, st
Mar 01 08:32:44 systemd[1]: open-vm-tools.service: Failed with result 'core-dump'.


Thanks,
Girish


Internal Use - Confidential

#1006744#10
Date:
2022-03-07 16:23:10 UTC
From:
To:
Hi,

is that the full backtrace? Please install the debug packages and get
the backtrace from all threads from the core file.

(gdb) where
(gdb) thread apply all bt

Thanks,

Bernd

#1006744#15
Date:
2022-03-08 06:37:16 UTC
From:
To:
Hi Bernd,
            Below is the full backtrace from all threads from the core file.

gdb /usr/bin/vmtoolsd rp_core.417

GNU gdb (Debian 8.2.1-2+b3) 8.2.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/vmtoolsd...(no debugging symbols found)...done.
[New LWP 417]
[New LWP 1105]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/vmtoolsd'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  __strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:120
120     ../sysdeps/x86_64/multiarch/../strlen.S: No such file or directory.
[Current thread is 1 (Thread 0x7f321f095780 (LWP 417))]
(gdb) where
#0  0x00007f321f589206 in __strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:120
#1  0x00007f321f56b475 in __GI___fputs_unlocked
    (str=0x7f321e2f7ac8 <error: Cannot access memory at address 0x7f321e2f7ac8>, fp=fp@entry=0x55d222325690)
    at iofputs_u.c:34
#2  0x00007f321f5e4868 in __GI___vsyslog_chk (pri=<optimized out>, flag=1, fmt=0x7f321edc083c "%s.", ap=0x7ffd36e1eda0)
    at ../misc/syslog.c:205
#3  0x00007f321f5e4dff in __syslog_chk (pri=<optimized out>, flag=<optimized out>, fmt=<optimized out>)
    at ../misc/syslog.c:129
#4  0x00007f321edbb1db in Audit_EventV () at /lib/libvgauth.so.0
#5  0x00007f321edbb2a4 in Audit_Event () at /lib/libvgauth.so.0
#6  0x00007f321edb7f95 in VGAuth_AuditEvent () at /lib/libvgauth.so.0
#7  0x00007f321edb6d05 in VGAuth_ValidateUsernamePassword () at /lib/libvgauth.so.0
#8  0x00007f321edd1cf1 in  () at /usr/lib/open-vm-tools/plugins/common/libvix.so
#9  0x00007f321edd22e3 in  () at /usr/lib/open-vm-tools/plugins/common/libvix.so
#10 0x00007f321edd25d9 in  () at /usr/lib/open-vm-tools/plugins/common/libvix.so
#11 0x00007f321edd81f6 in  () at /usr/lib/open-vm-tools/plugins/common/libvix.so
#12 0x00007f321edcf2cb in  () at /usr/lib/open-vm-tools/plugins/common/libvix.so
#13 0x00007f3221a5f664 in RpcChannel_Dispatch () at /lib/libvmtools.so.0
#14 0x00007f3221a611de in  () at /lib/libvmtools.so.0
#15 0x00007f3221a61aa4 in  () at /lib/libvmtools.so.0
#16 0x00007f32218dfe98 in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007f32218e0288 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007f32218e0582 in g_main_loop_run () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x000055d221850bb6 in  ()
#20 0x000055d22184fcc7 in main ()
(gdb) thread apply all bt

Thread 2 (Thread 0x7f321ed23700 (LWP 1105)):
#0  0x00007f321f5df819 in __GI___poll (fds=0x55d22231b050, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f32218e01f6 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f32218e031c in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f32218e0361 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f32219084d5 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f321f6bbfa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007f321f5ea4cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f321f095780 (LWP 417)):
#0  0x00007f321f589206 in __strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:120
#1  0x00007f321f56b475 in __GI___fputs_unlocked
    (str=0x7f321e2f7ac8 <error: Cannot access memory at address 0x7f321e2f7ac8>, fp=fp@entry=0x55d222325690)
    at iofputs_u.c:34
#2  0x00007f321f5e4868 in __GI___vsyslog_chk (pri=<optimized out>, flag=1, fmt=0x7f321edc083c "%s.", ap=0x7ffd36e1eda0)
    at ../misc/syslog.c:205
#3  0x00007f321f5e4dff in __syslog_chk (pri=<optimized out>, flag=<optimized out>, fmt=<optimized out>)
    at ../misc/syslog.c:129
#4  0x00007f321edbb1db in Audit_EventV () at /lib/libvgauth.so.0
#5  0x00007f321edbb2a4 in Audit_Event () at /lib/libvgauth.so.0
#6  0x00007f321edb7f95 in VGAuth_AuditEvent () at /lib/libvgauth.so.0
#7  0x00007f321edb6d05 in VGAuth_ValidateUsernamePassword () at /lib/libvgauth.so.0
#8  0x00007f321edd1cf1 in  () at /usr/lib/open-vm-tools/plugins/common/libvix.so
#9  0x00007f321edd22e3 in  () at /usr/lib/open-vm-tools/plugins/common/libvix.so
#10 0x00007f321edd25d9 in  () at /usr/lib/open-vm-tools/plugins/common/libvix.so
#11 0x00007f321edd81f6 in  () at /usr/lib/open-vm-tools/plugins/common/libvix.so
#12 0x00007f321edcf2cb in  () at /usr/lib/open-vm-tools/plugins/common/libvix.so
#13 0x00007f3221a5f664 in RpcChannel_Dispatch () at /lib/libvmtools.so.0
#14 0x00007f3221a611de in  () at /lib/libvmtools.so.0
#15 0x00007f3221a61aa4 in  () at /lib/libvmtools.so.0
#16 0x00007f32218dfe98 in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007f32218e0288 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
--Type <RET> for more, q to quit, c to continue without paging--c
#18 0x00007f32218e0582 in g_main_loop_run () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x000055d221850bb6 in  ()
#20 0x000055d22184fcc7 in main ()
(gdb)

Thanks,
 Girish


Internal Use - Confidential


[EXTERNAL EMAIL]

Hi,

is that the full backtrace? Please install the debug packages and get the backtrace from all threads from the core file.

(gdb) where
(gdb) thread apply all bt

Thanks,

Bernd

#1006744#20
Date:
2022-03-08 08:43:18 UTC
From:
To:
Hi,

did you actually install the debug packages? The backtrace doesn't look
like that.
Please do so.

https://wiki.debian.org/HowToGetABacktrace

Which release are you using? Bullseye? Or something else? What is "your
product"?


Thanks,

Bernd

#1006744#25
Date:
2022-03-08 10:16:53 UTC
From:
To:
Hi Bernd,
         I followed the steps in mentioned in below mail thread and collected the backtrace,

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/x86_64-linux-gnu/libthread_db.so.1".
[Detaching after fork from child process 8236]


Program received signal SIGSEGV, Segmentation fault.
__strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:120
120     ../sysdeps/x86_64/multiarch/../strlen.S: No such file or directory.
#0  0x00007ffff5aa1206 in __strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:120
#1  0x00007ffff5a83475 in __GI___fputs_unlocked (str=0x7ffff51ddac8 <error: Cannot access memory at address 0x7ffff51ddac8>, fp=fp@entry=0x5555555de1e0) at iofputs_u.c:34
#2  0x00007ffff5afc868 in __GI___vsyslog_chk (pri=<optimized out>, flag=1, fmt=0x7ffff548683c "%s.", ap=0x7fffffffd9c0) at ../misc/syslog.c:205
#3  0x00007ffff5afcdff in __syslog_chk (pri=<optimized out>, flag=flag@entry=1, fmt=fmt@entry=0x7ffff548683c "%s.") at ../misc/syslog.c:129
#4  0x00007ffff54811db in syslog (__fmt=0x7ffff548683c "%s.", __pri=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/syslog.h:31
#5  0x00007ffff54811db in Audit_EventV (isSuccess=<optimized out>, fmt=<optimized out>, args=<optimized out>) at ../common/audit.c:205
#6  0x00007ffff54812a4 in Audit_Event (isSuccess=isSuccess@entry=1, fmt=fmt@entry=0x7ffff5484b34 "%s: %s") at ../common/audit.c:139
#7  0x00007ffff547df95 in VGAuth_AuditEvent (ctx=ctx@entry=0x5555555e48b0, isSuccess=isSuccess@entry=1, fmt=<optimized out>) at common.c:655
#8  0x00007ffff547cd05 in VGAuth_ValidateUsernamePassword (ctx=0x5555555e48b0, userName=0x5555555dafe0 "admin", password=0x5555555dde20 "admin!", numExtraParams=numExtraParams@entry=0, extraParams=extraParams@entry=0x0, handle=handle@entry=0x7fffffffdce0) at auth.c:587
#9  0x00007ffff5497cf1 in GuestAuthPasswordAuthenticateImpersonate (obfuscatedNamePassword=obfuscatedNamePassword@entry=0x5555555e1cb1 "YWRtaW4AYWRtaW4hAA==", userToken=userToken@entry=0x7fffffffdf00) at vixTools.c:11579
#10 0x00007ffff54982e3 in VixToolsImpersonateUserImplEx (credentialTypeStr=credentialTypeStr@entry=0x0, credentialType=<optimized out>, obfuscatedNamePassword=obfuscatedNamePassword@entry=0x5555555e1cb1 "YWRtaW4AYWRtaW4hAA==", userToken=userToken@entry=0x7fffffffdf00) at vixTools.c:7992
#11 0x00007ffff54985d9 in VixToolsImpersonateUser (requestMsg=requestMsg@entry=0x5555555e1c38, userToken=userToken@entry=0x7fffffffdf00) at vixTools.c:7752
#12 0x00007ffff549e1f6 in VixToolsInitiateFileTransferFromGuest (result=0x7fffffffdee0, requestMsg=0x5555555e1c38) at vixTools.c:4805
#13 0x00007ffff549e1f6 in VixTools_ProcessVixCommand (requestMsg=requestMsg@entry=0x5555555e1c38, requestName=requestName@entry=0x5555555db050 "4d3cb141d224fba", maxResultBufferSize=maxResultBufferSize@entry=65444, confDictRef=confDictRef@entry=0x555555581c50, eventQueue=eventQueue@entry=0x55555558a100, resultBuffer=resultBuffer@entry=0x7fffffffe008, resultLen=0x7fffffffe010, deleteResultBufferResult=0x7fffffffe007 "") at vixTools.c:10962
#14 0x00007ffff54952cb in ToolsDaemonTcloReceiveVixCommand (data=0x7fffffffe150) at foundryToolsDaemon.c:1248
#15 0x00007ffff7f77664 in RpcChannel_Dispatch () at /usr/lib/libvmtools.so.0
#16 0x00007ffff7f791de in  () at /usr/lib/libvmtools.so.0
#17 0x00007ffff7f79aa4 in  () at /usr/lib/libvmtools.so.0
#18 0x00007ffff7df7e98 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007ffff7df8288 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007ffff7df8582 in g_main_loop_run () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x0000555555559bb6 in ToolsCoreRunLoop (state=0x555555562540 <gState>) at mainLoop.c:369
#22 0x0000555555559bb6 in ToolsCoreRunLoop (state=0x555555562540 <gState>) at mainLoop.c:301
#23 0x0000555555558cc7 in main (argc=1, argv=<optimized out>, envp=0x7fffffffe4f8) at mainPosix.c:283
#0  0x00007ffff5aa1206 in __strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:120
#1  0x00007ffff5a83475 in __GI___fputs_unlocked (str=0x7ffff51ddac8 <error: Cannot access memory at address 0x7ffff51ddac8>, fp=fp@entry=0x5555555de1e0) at iofputs_u.c:34
        len = <optimized out>
#2  0x00007ffff5afc868 in __GI___vsyslog_chk (pri=<optimized out>, flag=1, fmt=0x7ffff548683c "%s.", ap=0x7fffffffd9c0) at ../misc/syslog.c:205
        now_tm = {tm_sec = 1, tm_min = 8, tm_hour = 10, tm_mday = 8, tm_mon = 2, tm_year = 122, tm_wday = 2, tm_yday = 66, tm_isdst = 0, tm_gmtoff = 0, tm_zone = 0x5555555e1c00 "UTC"}
        now = 1646734081
        fd = <optimized out>
        f = 0x5555555de1e0
        buf = 0x0
        bufsize = 0
        msgoff = 20
        saved_errno = -3
        failbuf = "\240n^UUU\000\000\342n^UUU\000\000\004o^UUU\000\000\240n^UU"
#3  0x00007ffff5afcdff in __syslog_chk (pri=<optimized out>, flag=flag@entry=1, fmt=fmt@entry=0x7ffff548683c "%s.") at ../misc/syslog.c:129
        ap = {{gp_offset = 24, fp_offset = 48, overflow_arg_area = 0x7fffffffdaa0, reg_save_area = 0x7fffffffd9e0}}
#4  0x00007ffff54811db in syslog (__fmt=0x7ffff548683c "%s.", __pri=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/syslog.h:31
        buf = 0x5555555e6ea0 "vmtoolsd: Username and password successfully validated for 'admin'"
#5  0x00007ffff54811db in Audit_EventV (isSuccess=<optimized out>, fmt=<optimized out>, args=<optimized out>) at ../common/audit.c:205
        buf = 0x5555555e6ea0 "vmtoolsd: Username and password successfully validated for 'admin'"
#6  0x00007ffff54812a4 in Audit_Event (isSuccess=isSuccess@entry=1, fmt=fmt@entry=0x7ffff5484b34 "%s: %s") at ../common/audit.c:139
        args = {{gp_offset = 32, fp_offset = 48, overflow_arg_area = 0x7fffffffdb90, reg_save_area = 0x7fffffffdad0}}
#7  0x00007ffff547df95 in VGAuth_AuditEvent (ctx=ctx@entry=0x5555555e48b0, isSuccess=isSuccess@entry=1, fmt=<optimized out>) at common.c:655
        msg = 0x5555555d6490 "Username and password successfully validated for 'admin'"
        args = {{gp_offset = 32, fp_offset = 48, overflow_arg_area = 0x7fffffffdc80, reg_save_area = 0x7fffffffdbb0}}
#8  0x00007ffff547cd05 in VGAuth_ValidateUsernamePassword (ctx=0x5555555e48b0, userName=0x5555555dafe0 "admin", password=0x5555555dde20 "admin!", numExtraParams=numExtraParams@entry=0, extraParams=extraParams@entry=0x0, handle=handle@entry=0x7fffffffdce0) at auth.c:587
        err = 0
        __FUNCTION__ = "VGAuth_ValidateUsernamePassword"
#9  0x00007ffff5497cf1 in GuestAuthPasswordAuthenticateImpersonate (obfuscatedNamePassword=obfuscatedNamePassword@entry=0x5555555e1cb1 "YWRtaW4AYWRtaW4hAA==", userToken=userToken@entry=0x7fffffffdf00) at vixTools.c:11579
        err = 3050
        username = 0x5555555dafe0 "admin"
        password = 0x5555555dde20 "admin!"
        ctx = 0x5555555e48b0
        vgErr = <optimized out>
        newHandle = 0x5555555d4110
        extraParams = {{name = 0x7ffff54a4a9f "loadUserProfile", value = 0x7ffff54a4aaf "true"}}
        impersonated = 0 '\000'
#10 0x00007ffff54982e3 in VixToolsImpersonateUserImplEx (credentialTypeStr=credentialTypeStr@entry=0x0, credentialType=<optimized out>, obfuscatedNamePassword=obfuscatedNamePassword@entry=0x5555555e1cb1 "YWRtaW4AYWRtaW4hAA==", userToken=userToken@entry=0x7fffffffdf00) at vixTools.c:7992
        authToken = <optimized out>
        unobfuscatedUserName = 0x0
        unobfuscatedPassword = 0x0
        success = 0 '\000'
        err = 3050
        __FUNCTION__ = "VixToolsImpersonateUserImplEx"
#11 0x00007ffff54985d9 in VixToolsImpersonateUser (requestMsg=requestMsg@entry=0x5555555e1c38, userToken=userToken@entry=0x7fffffffdf00) at vixTools.c:7752
        namePasswordStruct = 0x5555555e1ca9
        err = 0
        credentialField = 0x5555555e1cb1 "YWRtaW4AYWRtaW4hAA=="
        credentialType = <optimized out>
        __FUNCTION__ = "VixToolsImpersonateUser"
#12 0x00007ffff549e1f6 in VixToolsInitiateFileTransferFromGuest (result=0x7fffffffdee0, requestMsg=0x5555555e1c38) at vixTools.c:4805
        err = 0
        filePathName = 0x5555555e1c87 "/etc/kbox/ssl/rpa_web_server.crt"
        impersonatingVMWareUser = 0 '\000'
        commandRequest = 0x5555555e1c38
        resultBuffer = 0x0
        userToken = 0x0
        parser = {currentPtr = 0x5555555e1ca8 "", endPtr = 0x5555555e1ca9 "\005"}
        __FUNCTION__ = "VixToolsInitiateFileTransferFromGuest"
        err = 0
        resultValue = 0x0
        resultValueLength = 0
        mustSetResultValueLength = 1 '\001'
        deleteResultValue = 0 '\000'
        __FUNCTION__ = "VixTools_ProcessVixCommand"
#13 0x00007ffff549e1f6 in VixTools_ProcessVixCommand (requestMsg=requestMsg@entry=0x5555555e1c38, requestName=requestName@entry=0x5555555db050 "4d3cb141d224fba", maxResultBufferSize=maxResultBufferSize@entry=65444, confDictRef=confDictRef@entry=0x555555581c50, eventQueue=eventQueue@entry=0x55555558a100, resultBuffer=resultBuffer@entry=0x7fffffffe008, resultLen=0x7fffffffe010, deleteResultBufferResult=0x7fffffffe007 "") at vixTools.c:10962
        err = 0
        resultValue = 0x0
        resultValueLength = 0
        mustSetResultValueLength = 1 '\001'
        deleteResultValue = 0 '\000'
        __FUNCTION__ = "VixTools_ProcessVixCommand"
#14 0x00007ffff54952cb in ToolsDaemonTcloReceiveVixCommand (data=0x7fffffffe150) at foundryToolsDaemon.c:1248
        err = <optimized out>
        additionalError = 0
        requestName = 0x5555555db050 "4d3cb141d224fba"
        requestMsg = 0x5555555e1c38
        maxResultBufferSize = 65444
        tcloBufferLen = <optimized out>
        resultValue = 0x0
        resultValueLength = 0
        deleteResultValue = 0 '\000'
        destPtr = 0x0
        tcloBuffer = '\000' <repeats 65535 times>
        ctx = <optimized out>
        eventQueue = 0x55555558a100
        confDictRef = 0x555555581c50
        __FUNCTION__ = "ToolsDaemonTcloReceiveVixCommand"
#15 0x00007ffff7f77664 in RpcChannel_Dispatch () at /usr/lib/libvmtools.so.0
#16 0x00007ffff7f791de in  () at /usr/lib/libvmtools.so.0
#17 0x00007ffff7f79aa4 in  () at /usr/lib/libvmtools.so.0
#18 0x00007ffff7df7e98 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007ffff7df8288 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007ffff7df8582 in g_main_loop_run () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x0000555555559bb6 in ToolsCoreRunLoop (state=0x555555562540 <gState>) at mainLoop.c:369
#22 0x0000555555559bb6 in ToolsCoreRunLoop (state=0x555555562540 <gState>) at mainLoop.c:301
#23 0x0000555555558cc7 in main (argc=1, argv=<optimized out>, envp=0x7fffffffe4f8) at mainPosix.c:283
        i = <optimized out>
        ret = 1
        argvCopy = 0x0
        src = 0x55555558d800

Thread 1 (Thread 0x7ffff55aebc0 (LWP 7667)):
#0  0x00007ffff5aa1206 in __strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:120
#1  0x00007ffff5a83475 in __GI___fputs_unlocked (str=0x7ffff51ddac8 <error: Cannot access memory at address 0x7ffff51ddac8>, fp=fp@entry=0x5555555de1e0) at iofputs_u.c:34
        len = <optimized out>
#2  0x00007ffff5afc868 in __GI___vsyslog_chk (pri=<optimized out>, flag=1, fmt=0x7ffff548683c "%s.", ap=0x7fffffffd9c0) at ../misc/syslog.c:205
        now_tm = {tm_sec = 1, tm_min = 8, tm_hour = 10, tm_mday = 8, tm_mon = 2, tm_year = 122, tm_wday = 2, tm_yday = 66, tm_isdst = 0, tm_gmtoff = 0, tm_zone = 0x5555555e1c00 "UTC"}
        now = 1646734081
        fd = <optimized out>
        f = 0x5555555de1e0
        buf = 0x0
        bufsize = 0
        msgoff = 20
        saved_errno = -3
        failbuf = "\240n^UUU\000\000\342n^UUU\000\000\004o^UUU\000\000\240n^UU"
#3  0x00007ffff5afcdff in __syslog_chk (pri=<optimized out>, flag=flag@entry=1, fmt=fmt@entry=0x7ffff548683c "%s.") at ../misc/syslog.c:129
        ap = {{gp_offset = 24, fp_offset = 48, overflow_arg_area = 0x7fffffffdaa0, reg_save_area = 0x7fffffffd9e0}}
#4  0x00007ffff54811db in syslog (__fmt=0x7ffff548683c "%s.", __pri=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/syslog.h:31
        buf = 0x5555555e6ea0 "vmtoolsd: Username and password successfully validated for 'admin'"
#5  0x00007ffff54811db in Audit_EventV (isSuccess=<optimized out>, fmt=<optimized out>, args=<optimized out>) at ../common/audit.c:205
        buf = 0x5555555e6ea0 "vmtoolsd: Username and password successfully validated for 'admin'"
#6  0x00007ffff54812a4 in Audit_Event (isSuccess=isSuccess@entry=1, fmt=fmt@entry=0x7ffff5484b34 "%s: %s") at ../common/audit.c:139
        args = {{gp_offset = 32, fp_offset = 48, overflow_arg_area = 0x7fffffffdb90, reg_save_area = 0x7fffffffdad0}}
#7  0x00007ffff547df95 in VGAuth_AuditEvent (ctx=ctx@entry=0x5555555e48b0, isSuccess=isSuccess@entry=1, fmt=<optimized out>) at common.c:655
        msg = 0x5555555d6490 "Username and password successfully validated for 'admin'"
        args = {{gp_offset = 32, fp_offset = 48, overflow_arg_area = 0x7fffffffdc80, reg_save_area = 0x7fffffffdbb0}}
#8  0x00007ffff547cd05 in VGAuth_ValidateUsernamePassword (ctx=0x5555555e48b0, userName=0x5555555dafe0 "admin", password=0x5555555dde20 "admin!", numExtraParams=numExtraParams@entry=0, extraParams=extraParams@entry=0x0, handle=handle@entry=0x7fffffffdce0) at auth.c:587
        err = 0
        __FUNCTION__ = "VGAuth_ValidateUsernamePassword"
#9  0x00007ffff5497cf1 in GuestAuthPasswordAuthenticateImpersonate (obfuscatedNamePassword=obfuscatedNamePassword@entry=0x5555555e1cb1 "YWRtaW4AYWRtaW4hAA==", userToken=userToken@entry=0x7fffffffdf00) at vixTools.c:11579
        err = 3050
        username = 0x5555555dafe0 "admin"
        password = 0x5555555dde20 "admin!"
        ctx = 0x5555555e48b0
        vgErr = <optimized out>
        newHandle = 0x5555555d4110
        extraParams = {{name = 0x7ffff54a4a9f "loadUserProfile", value = 0x7ffff54a4aaf "true"}}
        impersonated = 0 '\000'
#10 0x00007ffff54982e3 in VixToolsImpersonateUserImplEx (credentialTypeStr=credentialTypeStr@entry=0x0, credentialType=<optimized out>, obfuscatedNamePassword=obfuscatedNamePassword@entry=0x5555555e1cb1 "YWRtaW4AYWRtaW4hAA==", userToken=userToken@entry=0x7fffffffdf00) at vixTools.c:7992
        authToken = <optimized out>
        unobfuscatedUserName = 0x0
        unobfuscatedPassword = 0x0
        success = 0 '\000'
        err = 3050
        __FUNCTION__ = "VixToolsImpersonateUserImplEx"
#11 0x00007ffff54985d9 in VixToolsImpersonateUser (requestMsg=requestMsg@entry=0x5555555e1c38, userToken=userToken@entry=0x7fffffffdf00) at vixTools.c:7752
        namePasswordStruct = 0x5555555e1ca9
        err = 0
        credentialField = 0x5555555e1cb1 "YWRtaW4AYWRtaW4hAA=="
        credentialType = <optimized out>
        __FUNCTION__ = "VixToolsImpersonateUser"
#12 0x00007ffff549e1f6 in VixToolsInitiateFileTransferFromGuest (result=0x7fffffffdee0, requestMsg=0x5555555e1c38) at vixTools.c:4805
        err = 0
        filePathName = 0x5555555e1c87 "/etc/kbox/ssl/rpa_web_server.crt"
        impersonatingVMWareUser = 0 '\000'
        commandRequest = 0x5555555e1c38
        resultBuffer = 0x0
        userToken = 0x0
        parser = {currentPtr = 0x5555555e1ca8 "", endPtr = 0x5555555e1ca9 "\005"}
        __FUNCTION__ = "VixToolsInitiateFileTransferFromGuest"
        err = 0
        resultValue = 0x0
        resultValueLength = 0
        mustSetResultValueLength = 1 '\001'
        deleteResultValue = 0 '\000'
        __FUNCTION__ = "VixTools_ProcessVixCommand"
#13 0x00007ffff549e1f6 in VixTools_ProcessVixCommand (requestMsg=requestMsg@entry=0x5555555e1c38, requestName=requestName@entry=0x5555555db050 "4d3cb141d224fba", maxResultBufferSize=maxResultBufferSize@entry=65444, confDictRef=confDictRef@entry=0x555555581c50, eventQueue=eventQueue@entry=0x55555558a100, resultBuffer=resultBuffer@entry=0x7fffffffe008, resultLen=0x7fffffffe010, deleteResultBufferResult=0x7fffffffe007 "") at vixTools.c:10962
        err = 0
        resultValue = 0x0
        resultValueLength = 0
        mustSetResultValueLength = 1 '\001'
        deleteResultValue = 0 '\000'
        __FUNCTION__ = "VixTools_ProcessVixCommand"
#14 0x00007ffff54952cb in ToolsDaemonTcloReceiveVixCommand (data=0x7fffffffe150) at foundryToolsDaemon.c:1248
        err = <optimized out>
        additionalError = 0
        requestName = 0x5555555db050 "4d3cb141d224fba"
        requestMsg = 0x5555555e1c38
        maxResultBufferSize = 65444
        tcloBufferLen = <optimized out>
        resultValue = 0x0
        resultValueLength = 0
        deleteResultValue = 0 '\000'
        destPtr = 0x0
        tcloBuffer = '\000' <repeats 65535 times>
        ctx = <optimized out>
        eventQueue = 0x55555558a100
        confDictRef = 0x555555581c50
        __FUNCTION__ = "ToolsDaemonTcloReceiveVixCommand"
#15 0x00007ffff7f77664 in RpcChannel_Dispatch () at /usr/lib/libvmtools.so.0
#16 0x00007ffff7f791de in  () at /usr/lib/libvmtools.so.0
#17 0x00007ffff7f79aa4 in  () at /usr/lib/libvmtools.so.0
#18 0x00007ffff7df7e98 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007ffff7df8288 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007ffff7df8582 in g_main_loop_run () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x0000555555559bb6 in ToolsCoreRunLoop (state=0x555555562540 <gState>) at mainLoop.c:369
#22 0x0000555555559bb6 in ToolsCoreRunLoop (state=0x555555562540 <gState>) at mainLoop.c:301
#23 0x0000555555558cc7 in main (argc=1, argv=<optimized out>, envp=0x7fffffffe4f8) at mainPosix.c:283
        i = <optimized out>
        ret = 1
        argvCopy = 0x0
        src = 0x55555558d800


Thanks,
 Girish


Internal Use - Confidential


[EXTERNAL EMAIL]

Hi,

did you actually install the debug packages? The backtrace doesn't look like that.
Please do so.

https://urldefense.com/v3/__https://wiki.debian.org/HowToGetABacktrace__;!!LpKI!0puEtOoAByFgLNggB_VMDeU15wGT9ZJdww_v-PEituwvNiosvGG9pv-_z76wY7MGw9htYJ8$ [wiki[.]debian[.]org]

Which release are you using? Bullseye? Or something else? What is "your product"?


Thanks,

Bernd

#1006744#30
Date:
2022-03-08 10:18:22 UTC
From:
To:
Hi Bernd,
       Debian buster we are using.

Thanks,
 Girish


Internal Use - Confidential


[EXTERNAL EMAIL]

Hi,

did you actually install the debug packages? The backtrace doesn't look like that.
Please do so.

https://urldefense.com/v3/__https://wiki.debian.org/HowToGetABacktrace__;!!LpKI!0puEtOoAByFgLNggB_VMDeU15wGT9ZJdww_v-PEituwvNiosvGG9pv-_z76wY7MGw9htYJ8$ [wiki[.]debian[.]org]

Which release are you using? Bullseye? Or something else? What is "your product"?


Thanks,

Bernd

#1006744#35
Date:
2022-03-08 14:05:46 UTC
From:
To:
Hi Girish,

could you give 11.3.5 from buster-backports-sloppy a try please?
If that doesn't fix it, 12.0 was released recently, but that will take a
bit until packages are ready. You could download it from gthub and
build/test it, though.

Also - please note that bullseye is the current stable release.


Bernd

#1006744#40
Date:
2022-03-09 14:52:51 UTC
From:
To:
Hi Bernd,
            We tried installing 11.3.5 from buster-backports-sloppy and see the same core dump issue. We downloaded the 11.3.5 stable source code tried to build the code and install with below steps
autoreconf -i
./configure
make
sudo make install
sudo ldconfig

Installation was successful and didn't see the core.

Now we are trying to build the code on other Debian 10 vm, we are seeing lot of dependency issues like pam, mspack, glib2, pkg-config, xml2, etc while running "./configure". How to resolve these dependencies, Is there are any specific steps to perform before running the above commands.

Is there a way to generate a build/package libs where build is generated successfully.

Thanks,
 Girish


Internal Use - Confidential


[EXTERNAL EMAIL]

Hi Girish,

could you give 11.3.5 from buster-backports-sloppy a try please?
If that doesn't fix it, 12.0 was released recently, but that will take a bit until packages are ready. You could download it from gthub and build/test it, though.

Also - please note that bullseye is the current stable release.


Bernd

#1006744#45
Date:
2022-03-11 11:52:12 UTC
From:
To:
Hi Bernd,
         We are suspecting some thing wrong with syslog, since this is the call which is failing. So Is syslog has any dependency issues or any other issue causing the syslog failure.

Thanks,
 Girish


Internal Use - Confidential


[EXTERNAL EMAIL]

Hi Girish,

could you give 11.3.5 from buster-backports-sloppy a try please?
If that doesn't fix it, 12.0 was released recently, but that will take a bit until packages are ready. You could download it from gthub and build/test it, though.

Also - please note that bullseye is the current stable release.


Bernd