Page 1 of 1

v1.0.1 : Floating Point Overflow in Plugins

Posted: 28 Jul 2009 18:02
by Beardless2
Hey Guys,

I am getting a floating point overflow using the official VLC v1.0.1 when I use the libvlc_new() call with the argument "--plugin-path=' + VLC_LibPath + 'plugins\".

The frustrating thing is the nightly builds every night have all been fine. This is a similar story to VLC 1.0.0 when the official builds gave an integer overflow followed by an access violation.

I dont really want to keep using nightlies to make my application work. Could it be the machine used to compile the official releases is getting it wrong compared to the ones been built for the nightlies?

Any ideas?

Chris

WinXP 32 Bit
Intel Core 2 Duo
ATI 3450 HD

P.S. I am not the only one experiencing this problem viewtopic.php?f=32&t=52021&start=120

Re: v1.0.1 : Floating Point Overflow in Plugins

Posted: 28 Jul 2009 19:04
by zone
I have the same problem.

Re: v1.0.1 : Floating Point Overflow in Plugins

Posted: 28 Jul 2009 21:31
by Jean-Baptiste Kempf
Please, provide more debug. What module?

Re: v1.0.1 : Floating Point Overflow in Plugins

Posted: 28 Jul 2009 22:18
by zone
OK, I did little testing. I found that if I replace libdirac_plugin.dll with the one from nightly build, everything works. Also in nightly build that DLL is only 29KB and in the official release 1114KB. So it's probably the cause.

Re: v1.0.1 : Floating Point Overflow in Plugins

Posted: 29 Jul 2009 09:46
by Beardless2
In my IDE the event log shows

(Lots of other plugins then....)
Module Load libdirac_plugin,dll
Module Load libdirect3d_plugin.dll
Module Load libdmo_plugin.dll
Module Load libdolby_surround_decoder_plugin.dll
Module Load libdrawable_plugin.dll
Module Load libdshow_plugin.dll

First Chance Exception at $7C812AFB. Exception class EOverflow with message "Floating Point Overflow"
First Chance Exception at $7C812AFB. Exception class EAccessViolation with message "Access Violation at address 7C80984E in module 'kernel32.dll2. Write of address 00000014.


I can also confirm it is the libdirac dll that is causing the issue. I just removed it from the plugin folder and now it seems ok.

Re: v1.0.1 : Floating Point Overflow in Plugins

Posted: 29 Jul 2009 12:00
by thannoy
Using gdb will maybe give more informations like function name

Re: v1.0.1 : Floating Point Overflow in Plugins

Posted: 31 Jul 2009 13:30
by Beardless2
i cant get gdb to work to get the function name :(

JB : is that enough debug info for you to get started?