Author Topic: AV in ntdll.dll  (Read 498 times)

EWeiss

  • Posts: 390
AV in ntdll.dll
« on: 4 Jul '19 - 12:03 »
sorry only pics

Bass crash on Bass_ChannelGetLevel..
using 2.4.14

if deactivate Bass_ChannelGetLevel all works fine as should! but with is crash (at the latest at the next title)

that is what i do..

Code: [Select]
function TBassPlayer.BassChannelGetLevel: DWORD;
begin

  result := 0;

  if bAudioPause = false then
  begin
    if aChannel <> 0 then
      result := BASS_ChannelGetLevel(aChannel);
  end;
end;

Code: [Select]
Level := BassPlayer.BassChannelGetLevel;
Value := Max(LoWord(Level), HiWord(Level)) / 67200.0;

that is all then booommm… ;)

greets
« Last Edit: 4 Jul '19 - 12:19 by EWeiss »

Ian @ un4seen

  • Administrator
  • Posts: 22253
Re: AV in ntdll.dll
« Reply #1 on: 4 Jul '19 - 13:28 »
Please see if you can reproduce the crash with this latest build (and post new call stack if so):

   www.un4seen.com/stuff/bass.zip

EWeiss

  • Posts: 390
Re: AV in ntdll.dll
« Reply #2 on: 4 Jul '19 - 14:34 »
Please see if you can reproduce the crash with this latest build (and post new call stack if so):

   www.un4seen.com/stuff/bass.zip
Thank you i want check it.

greets

EWeiss

  • Posts: 390
Re: AV in ntdll.dll
« Reply #3 on: 4 Jul '19 - 14:44 »
no that not working.. sorry

i can upload a full report to your Server not here sorry to many private data.

ftp:?

greets
« Last Edit: 4 Jul '19 - 14:53 by EWeiss »

Ian @ un4seen

  • Administrator
  • Posts: 22253
Re: AV in ntdll.dll
« Reply #4 on: 4 Jul '19 - 15:34 »
That looks like the crash happened in a malloc call within a BASS_ChannelGetData call (requesting FFT data). I guess the heap has been corrupted, which means the crash could happen in any malloc call that happens to follow the corruption occurring. To try to locate what's corrupting the heap (if that is what it is), please try disabling other parts of your code instead and see if the crash still happens then.

If you need to upload anything, you can do that here:

   ftp.un4seen.com/incoming/

EWeiss

  • Posts: 390
Re: AV in ntdll.dll
« Reply #5 on: 4 Jul '19 - 15:48 »
the error is gone if deactivate BassPlayer.BassChannelGetLevel;
no other Errors appears..

i can not connect to your ftp Server "ftp://ftp.un4seen.com/incoming/" ok no Problem ;)
BASS_ChannelGetData works without any Trouble

greets
« Last Edit: 4 Jul '19 - 16:01 by EWeiss »

Ian @ un4seen

  • Administrator
  • Posts: 22253
Re: AV in ntdll.dll
« Reply #6 on: 4 Jul '19 - 16:02 »
Please clarify what "BassPlayer.BassChannelGetLevel" does. Is it just BASS_ChannelGetLevel?

I just checked the FTP server, and it is up. If you still have no luck with that, you can send files by email instead (address in forum profile) if they're not very large.

EWeiss

  • Posts: 390
Re: AV in ntdll.dll
« Reply #7 on: 4 Jul '19 - 16:12 »
Quote
Is it just BASS_ChannelGetLevel?
yes

that is all what i do

Code: [Select]
    try
      Level := BassPlayer.BassChannelGetLevel;

      LevelL := LoWord(Level);
      LevelR := HiWord(Level);
    except
      LevelL := 0;
      LevelR := 0;
    end;

    Value := Max(LevelL, LevelR) / 67200.0;
    Pulse := (Value / 14.0);

now i am catch the error

greets

EWeiss

  • Posts: 390
Re: AV in ntdll.dll
« Reply #8 on: 4 Jul '19 - 16:56 »
ok is solved, was NOT a error with bass..
thanks for your time looking on it.

greets