Laszlo, 

I cannot duplicate this failure.  Maybe Ray, who changed this file, can shed 
some light on this.        

-Jaben

-----Original Message-----
From: Laszlo Ersek [mailto:ler...@redhat.com] 
Sent: Monday, January 13, 2014 10:30 AM
To: edk2-devel@lists.sourceforge.net
Subject: [edk2] assertion failure in Shell when scrolling back

Hi,

I didn't try to bisect the issue but I assume it is due to a recent change.

I simply scrolled back as far as I could with Shift+PgUp, in the 2.0 shell, and 
it triggered an assertion failure, in function
UpdateDisplayFromHistory():

ASSERT .../ShellPkg/Application/Shell/ConsoleLogger.c(324): ((BOOLEAN)(0==1))

    315         //
    316         // Now write out as much as had the same Attributes
    317         //
    318 
    319         ConsoleInfo->OldConOut->SetAttribute(ConsoleInfo->OldConOut, 
CurrentAttrib);
    320         
ConsoleInfo->OldConOut->SetCursorPosition(ConsoleInfo->OldConOut, 
CurrentColumn, CurrentRow);
    321         Status = 
ConsoleInfo->OldConOut->OutputString(ConsoleInfo->OldConOut, StringSegment);
    322 
    323         if (EFI_ERROR(Status)) {
    324           ASSERT(FALSE);
    325           RetVal = Status;
    326         }

The asserting code seems quite old, so I assume something in the cursor 
position tracking changed recently.

... I tried to reproduce it, but it's not consistent. I need to produce some 
output first (eg. bcfg -?) and then scroll up and down. For my 2nd attempt it 
triggered while scrolling down with Shift+PgDn.

Thanks,
Laszlo

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical 
Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to