v1.0.1 : Floating Point Overflow in Plugins

This forum is about all development around libVLC.
Beardless2
Cone that earned his stripes
Cone that earned his stripes
Posts: 125
Joined: 02 Feb 2007 09:53

v1.0.1 : Floating Point Overflow in Plugins

Postby Beardless2 » 28 Jul 2009 18:02

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

zone
New Cone
New Cone
Posts: 4
Joined: 28 Jul 2009 13:39

Re: v1.0.1 : Floating Point Overflow in Plugins

Postby zone » 28 Jul 2009 19:04

I have the same problem.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: v1.0.1 : Floating Point Overflow in Plugins

Postby Jean-Baptiste Kempf » 28 Jul 2009 21:31

Please, provide more debug. What module?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

zone
New Cone
New Cone
Posts: 4
Joined: 28 Jul 2009 13:39

Re: v1.0.1 : Floating Point Overflow in Plugins

Postby zone » 28 Jul 2009 22:18

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.

Beardless2
Cone that earned his stripes
Cone that earned his stripes
Posts: 125
Joined: 02 Feb 2007 09:53

Re: v1.0.1 : Floating Point Overflow in Plugins

Postby Beardless2 » 29 Jul 2009 09:46

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.

thannoy
Big Cone-huna
Big Cone-huna
Posts: 601
Joined: 20 Mar 2008 09:44
VLC version: 0.9.8a & 1.0-git
Operating System: GNU/Linux Fedora10
Location: France
Contact:

Re: v1.0.1 : Floating Point Overflow in Plugins

Postby thannoy » 29 Jul 2009 12:00

Using gdb will maybe give more informations like function name

Beardless2
Cone that earned his stripes
Cone that earned his stripes
Posts: 125
Joined: 02 Feb 2007 09:53

Re: v1.0.1 : Floating Point Overflow in Plugins

Postby Beardless2 » 31 Jul 2009 13:30

i cant get gdb to work to get the function name :(

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


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 3 guests