Triggered Assertion with Mediastream
#1
Hi,
I installed xbmc on gentoo via svn. I am using the acutal Mediastream skin v0.94.
Right after setting the skin to Mediastream, xbmc crashes with the following assertion:
Code:
xbmc.bin: ../xbmc/Util.h:81: int MathUtils::round_int(double): Assertion `x < static_cast <double>(2147483647 / 2) + 1.0' failed.
Abgebrochen (core dumped)
I can reproduce that by restarting xbmc an trying to enter the TV Show section.
Any ideas if the bug is known or if I am doing something wrong? Searching here in the forum didn't bring up any results.
Thanks, Florian
Reply
#2
old bug. which version are you running?
Reply
#3
Do you get the same with PM3 and/or PM3HD? Please post a Debug Log to a paste site regardless.
Reply
#4
spiff Wrote:old bug. which version are you running?

svn HEAD. Did a "svn up" 30 minutes ago. (== r15820)
Reply
#5
Please show the log.
42.7% of all statistics are made up on the spot

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#6
althekiller Wrote:Do you get the same with PM3 and/or PM3HD? Please post a Debug Log to a paste site regardless.

http://pastebin.com/m30aa4954
I am going to check the other skins now ...
Edit: The other skins do not seem to be affected!
Reply
#7
Try to hunt up v0.93 of MS.
Reply
#8
althekiller Wrote:Try to hunt up v0.93 of MS.

no change :/
Reply
#9
What arch?
Reply
#10
althekiller Wrote:What arch?

x86
Reply
#11
Seems to be a problem with non initialized variables. This diff (with r15828) fixes my problems:

Code:
Index: guilib/GuiControlFactory.cpp
===================================================================
--- guilib/GuiControlFactory.cpp        (Revision 15828)
+++ guilib/GuiControlFactory.cpp        (Arbeitskopie)
@@ -564,7 +564,7 @@

   float spinWidth = 16;
   float spinHeight = 16;
-  float spinPosX, spinPosY;
+  float spinPosX = 0, spinPosY = 0;
   float checkWidth, checkHeight;
   CStdString strSubType;
   int iType = SPIN_CONTROL_TYPE_TEXT;
Reply
#12
Nice work... Can you open a trac ticket for this so it can be fixed in svn?

Thanks...
42.7% of all statistics are made up on the spot

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#13
tslayer Wrote:Nice work... Can you open a trac ticket for this so it can be fixed in svn?

Thanks...

http://trac.xbmc.org/ticket/5133
Reply

Logout Mark Read Team Forum Stats Members Help
Triggered Assertion with Mediastream0