Author Topic: VLC traps Panorama driver  (Read 8539 times)

Lars

  • Hero Member
  • *****
  • Posts: 1350
  • Karma: +69/-0
    • View Profile
VLC traps Panorama driver
« on: April 04, 2020, 09:24:26 pm »
Hi,

when I attempt to play an AVI movie in VLC, then VLC will trap in VBE2GRAD.DLL at the very end of the movie. I am using Panorama V1.15.
Is anyone else seeing this problem and can report that as a bug to AN (I am no longer entitled to report bugs).
Here is the POPUPLOG.OS2 and also the partial TRP file from VLC:

Code: [Select]
04-04-2020  20:51:57  SYS3175  PID 0049  TID 0001  Slot 0096
Z:\VLC2\USR\LOCAL\BIN\VLC.EXE
c0000005
1ed81fe9
P1=00000001  P2=bebe25e0  P3=XXXXXXXX  P4=XXXXXXXX 
EAX=00000134  EBX=bf3e25e0  ECX=000001f0  EDX=bebe25e0
ESI=bebe25e0  EDI=bf3e25e0 
DS=0053  DSACC=d0f3  DSLIM=bfffffff 
ES=0053  ESACC=d0f3  ESLIM=bfffffff 
FS=150b  FSACC=00f3  FSLIM=00000030
GS=0000  GSACC=****  GSLIM=********
CS:EIP=005b:1ed81fe9  CSACC=d0df  CSLIM=bfffffff
SS:ESP=0053:0012f06c  SSACC=d0f3  SSLIM=bfffffff
EBP=0012f088  FLG=00010297

VBE2GRAD.DLL 0001:00001fe9

Code: [Select]
______________________________________________________________________

 Exception Report - created 2020/04/04 20:51:44
______________________________________________________________________

 OS2/eCS Version:  2.45
 # of Processors:  4
 Physical Memory:  3059 mb
 Virt Addr Limit:  3072 mb
 Exceptq Version:  7.11.3-shl (Jul  5 2016)

______________________________________________________________________

 Exception C0000005 - Access Violation
______________________________________________________________________

 Process:  Z:\VLC2\USR\LOCAL\BIN\VLC.EXE (08/24/2019 14:13:20 10,715)
 PID:      49 (73)
 TID:      03 (3)
 Priority: 200

 Filename: D:\OS2\DLL\VBE2GRAD.DLL (09/02/2019 12:47:03 64,585)
 Address:  005B:1ED81FE9 (0001:00001FE9)
 Cause:    Attempted to read from BEBEDC80
           (unallocated memory)

______________________________________________________________________

 Failing Instruction
______________________________________________________________________

 1ED81FE0  JA        0x1ed82002         (77 20)
 1ED81FE2  MOV       ECX, [ESP]         (8b0c24)
 1ED81FE5  MOV       ESI, EDX           (89d6)
 1ED81FE7  MOV       EDI, EBX           (89df)
 1ED81FE9 >REP MOVSD                    (f3 a5)
 1ED81FEB  MOV       ESI, [ESP+0x4]     (8b7424 04)
 1ED81FEF  MOV       EAX, [0x1ed9005c]  (a1 5c00d91e)
 1ED81FF4  INC       ESI                (46)

______________________________________________________________________

 Registers
______________________________________________________________________

 EAX : 0000013A   EBX  : BF3EDC80   ECX : 00000078   EDX  : BEBEDC80
 ESI : BEBEDC80   EDI  : BF3EDC80
 ESP : 0292E720   EBP  : 0292E73C   EIP : 1ED81FE9   EFLG : 00210293
 CS  : 005B       CSLIM: FFFFFFFF   SS  : 0053       SSLIM: FFFFFFFF

 EAX : not a valid address
 EBX : read/write memory allocated by DRIVER
 ECX : not a valid address
 EDX : unallocated memory
 ESI : unallocated memory
 EDI : read/write memory allocated by DRIVER

______________________________________________________________________

 Stack Info for Thread 03
______________________________________________________________________

   Size       Base        ESP         Max         Top
 00100000   02930000 -> 0292E720 -> 02920000 -> 02830000

______________________________________________________________________

 Call Stack
______________________________________________________________________

   EBP     Address    Module     Obj:Offset    Nearest Public Symbol
 --------  ---------  --------  -------------  -----------------------
 Trap  ->  1ED81FE9   VBE2GRAD  0001:00001FE9  between UpdateRect + C9 and SetMTRR - 47

 0292E73C  0000014E   Invalid address: 0000014E

The trap happens in routine "UpdateRect" on a MOVSD instruction because the source address (in register ESI) is invalid.

David Graser

  • Hero Member
  • *****
  • Posts: 955
  • Karma: +104/-0
    • View Profile
Re: VLC traps Panorama driver
« Reply #1 on: April 04, 2020, 10:06:04 pm »
Traps at the end of the movie that comes with ArcaOS  3.08 destabilizing the entire system.  Attached is the trap.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 4983
  • Karma: +110/-1
    • View Profile
Re: VLC traps Panorama driver
« Reply #2 on: April 05, 2020, 12:40:15 am »
Open an Issue at KOMH's Github VLC page. Should be in the documentation.

Lars

  • Hero Member
  • *****
  • Posts: 1350
  • Karma: +69/-0
    • View Profile
Re: VLC traps Panorama driver
« Reply #3 on: April 05, 2020, 09:57:24 am »
Yes, I can open a bug report.
But really, the video driver should never trap even if you are passing it invalid parameters. As Dave Graser has stated,this trap effectively freezes your system to a point where you can no longer interact with it. The only good news is that you can properly shut down the system via the CAD handler which fortunately operates in text mode.
Dave Graser, would you please open a bug report at AN?
I think this problem will be fairly easy to fix since the trap info list the location and also the register contents.

Martin Vieregg

  • Sr. Member
  • ****
  • Posts: 278
  • Karma: +2/-0
    • View Profile
Re: VLC traps Panorama driver
« Reply #4 on: April 05, 2020, 11:11:47 am »
I get a freeze (where I have to reset the computer) irregulary. Starting is also critical. I use VLC 3.0.2 and ArcaOS 5.0.2 and Panorama.

Remy

  • Hero Member
  • *****
  • Posts: 736
  • Karma: +10/-1
    • View Profile
Re: VLC traps Panorama driver
« Reply #5 on: April 05, 2020, 03:05:52 pm »
Yes, I can open a bug report.
But really, the video driver should never trap even if you are passing it invalid parameters. As Dave Graser has stated,this trap effectively freezes your system to a point where you can no longer interact with it. The only good news is that you can properly shut down the system via the CAD handler which fortunately operates in text mode.
Dave Graser, would you please open a bug report at AN?
I think this problem will be fairly easy to fix since the trap info list the location and also the register contents.

Hi Lars,

I had trap issue with VLC which was due to "panorama shadow buffer enabled option" but due it speed up display, I left itt enable and the issue was resolved after enabling DIVE option under VLC parameters.

Suggestion was given by support after having opened a ticket. 

Hope it will help like it did for me.
Regards
Remy
« Last Edit: April 05, 2020, 03:10:30 pm by Remy »

Lars

  • Hero Member
  • *****
  • Posts: 1350
  • Karma: +69/-0
    • View Profile
Re: VLC traps Panorama driver
« Reply #6 on: April 05, 2020, 04:42:03 pm »
Yes, that fixes it, thanks !

David Graser

  • Hero Member
  • *****
  • Posts: 955
  • Karma: +104/-0
    • View Profile
Re: VLC traps Panorama driver
« Reply #7 on: April 05, 2020, 06:08:51 pm »
Yes, that fixes it, thanks !
It fixes my traps also.
« Last Edit: April 05, 2020, 06:34:29 pm by David Graser »