vircadia / vircadia-native-core

Vircadia open source agent-based metaverse ecosystem.
https://vircadia.com/
Other
531 stars 175 forks source link

asan: member call on address which does not point to an object of type 'AudioProcessing' #1133

Open daleglass opened 3 years ago

daleglass commented 3 years ago

During startup:

[03/30 00:27:23] [DEBUG] [hifi.networking] Registering a packet listener for packet list type 21 (DomainServerAddedNode)
[03/30 00:27:23] [DEBUG] [hifi.networking] Registering a packet listener for packet list type 46 (DomainServerConnectionToken)
[03/30 00:27:23] [DEBUG] [hifi.networking] Registering a packet listener for packet list type 16 (DomainConnectionDenied)
[03/30 00:27:23] [DEBUG] [hifi.networking] Registering a packet listener for packet list type 48 (DomainSettings)
[03/30 00:27:23] [DEBUG] [hifi.networking] Registering a packet listener for packet list type 22 (ICEServerPeerInformation)
[03/30 00:27:23] [DEBUG] [hifi.networking] Registering a packet listener for packet list type 32 (DomainServerRequireDTLS)
[03/30 00:27:23] [DEBUG] [hifi.networking] Registering a packet listener for packet list type 40 (ICEPingReply)
[03/30 00:27:23] [DEBUG] [hifi.networking] Registering a packet listener for packet list type 20 (DomainServerPathResponse)
[03/30 00:27:23] [DEBUG] [hifi.networking] Registering a packet listener for packet list type 56 (DomainServerRemovedNode)
[03/30 00:27:23] [DEBUG] [hifi.networking] Registering a packet listener for packet list type 71 (UsernameFromIDReply)
/home/dale/git/vircadia/vircadia-master/libraries/audio-client/src/AudioClient.cpp:1189:22: runtime error: member call on address 0x61a00007fe80 which does not point to an object of type 'AudioProcessing'
0x61a00007fe80: note: object has invalid vptr
 7a 00 80 32  98 4b a4 95 9c 7f 00 00  b0 e6 05 00 20 60 00 00  be be be be be be be be  00 00 00 00
              ^~~~~~~~~~~~~~~~~~~~~~~
              invalid vptr

Later:

[03/30 00:27:27] [DEBUG] [hifi.audioclient] switchOutputToAudioDevice _outputdeviceInfo: [ "" : "" -- outputDeviceInfo: "bluez_sink.00_16_94_2F_3C_D0.a2dp_sink" : "bluez_sink.00_16_94_2F_3C_D0.a2dp_sink" ]
[03/30 00:27:27] [DEBUG] [hifi.audioclient] The audio output device "bluez_sink.00_16_94_2F_3C_D0.a2dp_sink" : "bluez_sink.00_16_94_2F_3C_D0.a2dp_sink" is available.
[03/30 00:27:27] [DEBUG] [hifi.audioclient] The desired format for audio I/O is QAudioFormat(24000Hz, 16bit, channelCount=2, sampleType=SignedInt, byteOrder=LittleEndian, codec="audio/pcm")
[03/30 00:27:27] [DEBUG] [hifi.audioclient] The format to be used for audio output is QAudioFormat(48000Hz, 16bit, channelCount=2, sampleType=SignedInt, byteOrder=LittleEndian, codec="audio/pcm")
[03/30 00:27:27] [DEBUG] [hifi.audioclient] Attemping to create a resampler for network format to output format.
[03/30 00:27:27] [DEBUG] [hifi.audioclient] frame (samples): 960
[03/30 00:27:27] [DEBUG] [hifi.audioclient] buffer (frames): 16
[03/30 00:27:27] [DEBUG] [hifi.audioclient] buffer (samples): 15360
[03/30 00:27:27] [DEBUG] [hifi.audioclient] buffer (bytes): 30720
[03/30 00:27:27] [DEBUG] [hifi.audioclient] requested (bytes): 1920
[03/30 00:27:27] [DEBUG] [hifi.audioclient] period (samples): 3840
[03/30 00:27:27] [DEBUG] [hifi.audioclient] local buffer (samples): 7680
/home/dale/git/vircadia/vircadia-master/libraries/audio-client/src/AudioClient.cpp:1226:51: runtime error: member call on address 0x61a00007fe80 which does not point to an object of type 'AudioProcessing'
0x61a00007fe80: note: object has invalid vptr
 7a 00 80 32  98 4b a4 95 9c 7f 00 00  b0 e6 05 00 20 60 00 00  be be be be be be be be  00 00 00 00
              ^~~~~~~~~~~~~~~~~~~~~~~
              invalid vptr

Later:

[03/30 00:27:45] [DEBUG] [hifi.qml] Offscreen UI resizing to  3836 x 483
[03/30 00:27:45] [DEBUG] [hifi.audioclient] switchOutputToAudioDevice _outputdeviceInfo: [ "bluez_sink.00_16_94_2F_3C_D0.a2dp_sink" : "bluez_sink.00_16_94_2F_3C_D0.a2dp_sink" -- outputDeviceInfo: "default " : "bluez_sink.00_16_94_2F_3C_D0.a2dp_sink" ]
[03/30 00:27:45] [DEBUG] [hifi.audioclient] The audio output device "default " : "bluez_sink.00_16_94_2F_3C_D0.a2dp_sink" is available.
[03/30 00:27:45] [DEBUG] [hifi.audioclient] The desired format for audio I/O is QAudioFormat(24000Hz, 16bit, channelCount=2, sampleType=SignedInt, byteOrder=LittleEndian, codec="audio/pcm")
[03/30 00:27:45] [DEBUG] [hifi.audioclient] The format to be used for audio output is QAudioFormat(48000Hz, 16bit, channelCount=2, sampleType=SignedInt, byteOrder=LittleEndian, codec="audio/pcm")
[03/30 00:27:45] [DEBUG] [hifi.audioclient] Attemping to create a resampler for network format to output format.
[03/30 00:27:45] [DEBUG] [hifi.audioclient] frame (samples): 960
[03/30 00:27:45] [DEBUG] [hifi.audioclient] buffer (frames): 16
[03/30 00:27:45] [DEBUG] [hifi.audioclient] buffer (samples): 15360
[03/30 00:27:45] [DEBUG] [hifi.audioclient] buffer (bytes): 30720
[03/30 00:27:45] [DEBUG] [hifi.audioclient] requested (bytes): 1920
[03/30 00:27:45] [DEBUG] [hifi.audioclient] period (samples): 3840
[03/30 00:27:45] [DEBUG] [hifi.audioclient] local buffer (samples): 7680
/home/dale/git/vircadia/vircadia-master/libraries/audio-client/src/AudioClient.cpp:1255:36: runtime error: member call on address 0x61a00007fe80 which does not point to an object of type 'AudioProcessing'
0x61a00007fe80: note: object has invalid vptr
 7a 00 80 32  98 4b a4 95 9c 7f 00 00  b0 e6 05 00 20 60 00 00  be be be be be be be be  00 00 00 00
              ^~~~~~~~~~~~~~~~~~~~~~~
              invalid vptr
HifiExperiments commented 3 years ago

this is maybe something about how we compile webrtc? https://stackoverflow.com/questions/57294792/c-ubsan-produces-false-positives-with-derived-objects

stale[bot] commented 3 years ago

Hello! Is this still an issue?

stale[bot] commented 2 years ago

Hello! Is this still an issue?