DAVIDnHANG / power8

Automatically exported from code.google.com/p/power8
0 stars 0 forks source link

Power8 don't runs - Exception on Windows 7 #9

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1.Unzip Power8 
2.Run it
3.I see a small Power8 start button on the left of the standard one
4. Try to click on the Power8 start button
5. Exception blow up.

Version 1.2.1.0
Windows Seven 32bits

Robert

Original issue reported on code.google.com by robe...@recoverychannel.it on 23 Nov 2012 at 4:06

GoogleCodeExporter commented 8 years ago
Hi Robert,
can you please attach a screenshot / complete text of an exception?

Original comment by agentmc@mail.ru on 23 Nov 2012 at 4:08

GoogleCodeExporter commented 8 years ago
OS: Windows 7 Ultimate 32bits
Sorry and thank you
Robert

Original comment by robe...@recoverychannel.it on 23 Nov 2012 at 4:09

GoogleCodeExporter commented 8 years ago
oh sure, give me a min

Original comment by robe...@recoverychannel.it on 23 Nov 2012 at 4:10

GoogleCodeExporter commented 8 years ago
Please see this:
http://screencast.com/t/ejg1xBVzz56d

the error is so long that I can't see it all.
Robert

Original comment by robe...@recoverychannel.it on 23 Nov 2012 at 4:15

GoogleCodeExporter commented 8 years ago
Robert, can you please CTR+C within that message box, then CTRL+V the text here 
(it does really work;) )

Original comment by agentmc@mail.ru on 23 Nov 2012 at 4:17

GoogleCodeExporter commented 8 years ago
---------------------------
Power8
---------------------------
System.NullReferenceException: Object reference not set to an instance of an 
object. ---> System.ArithmeticException: Overflow or underflow in the 
arithmetic operation.

   at System.Double.Equals(Object obj)

   at System.Object.Equals(Object objA, Object objB)

   at System.Windows.DependencyObject.ProcessCoerceValue(DependencyProperty dp, PropertyMetadata metadata, EntryIndex& entryIndex, Int32& targetIndex, EffectiveValueEntry& newEntry, EffectiveValueEntry& oldEntry, Object& oldValue, Object baseValue, Object controlValue, CoerceValueCallback coerceValueCallback, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, Boolean skipBaseValueChecks)

   at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)

   at System.Windows.DependencyObject.CoerceValue(DependencyProperty dp)

   at System.Windows.Controls.TextBlock.MeasureOverride(Size constraint)

   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)

   at System.Windows.UIElement.Measure(Size availableSize)

   at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)

   at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)

   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)

   at System.Windows.UIElement.Measure(Size availableSize)

   at System.Windows.Controls.Border.MeasureOverride(Size constraint)

   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)

   at System.Windows.UIElement.Measure(Size availableSize)

   at System.Windows.Controls.Decorator.MeasureOverride(Size constraint)

   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)

   at System.Windows.UIElement.Measure(Size availableSize)

   at System.Windows.Controls.Control.MeasureOverride(Size constraint)

   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)

   at System.Windows.UIElement.Measure(Size availableSize)

   at System.Windows.Documents.AdornerDecorator.MeasureOverride(Size constraint)

   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)

   at System.Windows.UIElement.Measure(Size availableSize)

   at System.Windows.Controls.Decorator.MeasureOverride(Size constraint)

   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)

   at System.Windows.UIElement.Measure(Size availableSize)

   at System.Windows.Controls.Primitives.PopupRoot.MeasureOverride(Size constraint)

   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)

   at System.Windows.UIElement.Measure(Size availableSize)

   at System.Windows.Interop.HwndSource.SetLayoutSize()

   at System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value)

   at System.Windows.Interop.HwndSource.set_RootVisual(Visual value)

   at System.Windows.Controls.Primitives.Popup.SetRootVisualToPopupRoot()

   at System.Windows.Controls.Primitives.Popup.CreateWindow(Boolean asyncCall)

   at System.Windows.Controls.Primitives.Popup.OnIsOpenChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)

   at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)

   at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)

   at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)

   at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)

   at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)

   at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)

   at System.Windows.Data.BindingOperations.SetBinding(DependencyObject target, DependencyProperty dp, BindingBase binding)

   at System.Windows.Controls.Primitives.Popup.CreateRootPopup(Popup popup, UIElement child)

   at System.Windows.Controls.ToolTip.HookupParentPopup()

   at System.Windows.Controls.ToolTip.OnIsOpenChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)

   at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)

   at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)

   at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)

   at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)

   at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)

   at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Boolean value)

   at System.Windows.Controls.PopupControlService.RaiseToolTipOpeningEvent()

   at System.Windows.Controls.PopupControlService.OnRaiseToolTipOpeningEvent(Object sender, EventArgs e)

   at System.Windows.Threading.DispatcherTimer.FireTick(Object unused)

   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

   --- End of inner exception stack trace ---

   at System.Windows.Controls.Primitives.Popup.OnWindowResize(Object sender, AutoResizedEventArgs e)

   at System.Windows.Interop.HwndSource.Resize(Size newSize)

   at System.Windows.Interop.HwndSource.OnLayoutUpdated(Object obj, EventArgs args)

   at System.Windows.ContextLayoutManager.fireLayoutUpdateEvent()

   at System.Windows.ContextLayoutManager.UpdateLayout()

   at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)

   at System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork()

   at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()

   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)

   at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)

   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
---------------------------
OK   
---------------------------

Original comment by robe...@recoverychannel.it on 23 Nov 2012 at 4:19

GoogleCodeExporter commented 8 years ago
Robert,

try removing all localizations folder from Power8 directory (folders "it", "de" 
and so on), does the problem appears again?

Also, does the problem appear each time you launch it?

Also, is it physical or virtual machine?

Original comment by agentmc@mail.ru on 23 Nov 2012 at 4:56

GoogleCodeExporter commented 8 years ago
Removed all the localization folders the errors is always the same.

And yes, the problem appears each time, after I run it, I go with the mouse 
over the little (width) Power8 button, placed at the left of the standard one. 
When the mouse cursor became "a hand" the error blow up. 
And the error blow up every time I go over the Power8 button. 
The standard button of Win7 is always there. 
So I've to shut down the Power8 process.

The test machine is not a virtual machine.

I've the same problem on another PC also, always Windows seven ultimate 32 bits.

On Win8 runs well and on XP Pro too (Virtual machines).

I hope this can help you.

Thanks
Roberto

Original comment by robe...@recoverychannel.it on 23 Nov 2012 at 5:18

GoogleCodeExporter commented 8 years ago
Hi Roberto, 

this weekend I've installed onto physical PC: Windows7 Ultimate En + SP1, then 
all updates, latest video driver, .Net Framework 4.0 Client Profile, and again 
all updates.

As the result I've found and fixed small issue related to system codepage, but 
*nothing related to what you have reported*. Try updating video driver, if this 
doesn't help I think we have only 2 possibilities:

1) try installing your Windows into VirtualBox/VMWare/etc. and provide it to me 
if Power8 still fails in it. In this case the problem must be in the system 
configuration you create.
2) if the issue is NOT reproduced with VM, then there's probably some relation 
between your hardware configuration and/or software configuration. Have no 
clear idea what will we do in this case. :(

BTW, can you specify hardware on the PCs the issue is reproduced?

Original comment by agentmc@mail.ru on 26 Nov 2012 at 9:37

GoogleCodeExporter commented 8 years ago

Original comment by agentmc@mail.ru on 19 Dec 2012 at 9:53

GoogleCodeExporter commented 8 years ago
Issue 14 has been merged into this issue.

Original comment by agentmc@mail.ru on 2 Jan 2013 at 8:21

GoogleCodeExporter commented 8 years ago
Roberto, Alexander,

please check this build: 

http://power8.googlecode.com/files/P8.Dbg.FPUResetTest.7z

It may fix the issue.

Original comment by agentmc@mail.ru on 2 Jan 2013 at 1:43

GoogleCodeExporter commented 8 years ago

Original comment by agentmc@mail.ru on 2 Jan 2013 at 1:43

GoogleCodeExporter commented 8 years ago
Hey, people, any updates on this? Did you try the debug build?

Original comment by agentmc@mail.ru on 19 Jan 2013 at 10:31

GoogleCodeExporter commented 8 years ago
Okay, we're going to issue a new version soon, and the code to fix the stuff is 
already in place.
However since nobody commented on the issue, the code is disabled by default.

When version is released, I'll publish detailed description onb how to switch 
it on.

Original comment by agentmc@mail.ru on 14 Feb 2013 at 8:02

GoogleCodeExporter commented 8 years ago
Test code in release .
Hack described here: http://code.google.com/p/power8/wiki/Windows7ExceptionHack

Original comment by agentmc@mail.ru on 14 Mar 2013 at 9:14