Log in

View Full Version : Recompile PFR on Win2K/XP system


Si
7th January 2004, 08:57
One of my filters (PFR) seems to crash when run on Win2K/XP systems but seems on on Win98SE setups.

I was wondering if someone would volunteer to recompile it on their system to see if its something to do with my compiler settings or whether its something in the code.

regards

Simon

sh0dan
7th January 2004, 10:27
I cannot reproduce the crash.

The original, as well as recompiled dll's work fine on my XP. Any special parameters/input size/colorspaces that trigger the crash?

These type of errors are _usually_ small out-of-bounds reads. 2000/XP are more sensitive to out-of-bound read/writes.



PS. You should really get a 2000 or XP machine for development - you won't believe how much better it is!

Si
7th January 2004, 18:07
Thanks for the trying for me.

Any special parameters/input size/colorspaces that trigger the crash?


No.

simple...

LoadPlugin
AVISource
PFR
return last

scripts seemingly fail.

One person reported that my original VirtualDub version crashes as well :(

Thanks for the info on out of bounds - maybe I'm reading/writing past the end of the frame memory block.

PS. You should really get a 2000 or XP machine for development - you won't believe how much better it is!

I've been thinking for a while to make my machine dual bootable Win98SE/Win2000 but I never get round to it :o I'm playing with my Xmas DVD burner at the moment (in between laying a new floor in kitchen/dining room !)

regards
Simon

Wilbert
7th January 2004, 21:38
Don't know what the problem is. If I have the plugin in my plugindir, WMP6.4 says "Ran out of memory" when opening any (also without reference to pfr.dll) script.

If I have the plugin outside my plugindir, it works fine.

For a start, you didn't add any destructor code? Adding that, didn't solve the problem though.

Si
8th January 2004, 09:06
What code do I need to put in a destructor?

I thought destructors are only needed if you allocate memory blocks :confused:

regards
Simon (Simple remember)

sh0dan
8th January 2004, 11:27
A destructor shouldn't be needed. (unless I'm misreading the code).

I'll try using it as a plugin.

sh0dan
8th January 2004, 11:33
After running some seconds I get an access violation at:
(*(srcp + x + ((y-2) * src_pitch))) - // right up

x = 0
y = 1 (wooops).

I think you've found your out-of-bounds read. ;)

Didée
8th January 2004, 12:47
To lower Simon's mood even more:

ShowPixelValues crashes for me in the very same way PFR does.

Shall I test all of your plugins? My machine seems very sensitive to your plugins ...

- Didée

Si
8th January 2004, 18:05
@shodan
Thanks
@didee
Yes please.

I'd like to know if they don't work - it just shows no-one actually uses them apart from me and maybe one other user :)


That's the thing about Win98SE - the most forgiving OS going :p

Simon

sh0dan
8th January 2004, 23:34
@simon: Don't be fooled by feedback. There is a large silent userbase. There has to be - otherwise the ~1000 dl/day of AviSynth at sourceforge alone would result in an information overload! :eek:

Si
10th January 2004, 10:10
@sh0dan

Unfortunately that bug was only introduced in the last version and the Win2k/XP users have complained that all versions of it crash :(

I'll have to go through all my loops and see if I can spot any similar bugs :( :( :(

Thanks for your efforts.

regards

Simon