YOUR ACCOUNT

Login or Register to post new topics or replies
Daniel Sroka
Posts: 20
I just downloaded the Van Gogh filter and find that it crashes FF as soon as it starts to render the preview image. I have removed the file from the Library and re-downloaded it, and get the same results. Any suggestions?

(I've attached the crash report.)

[ ff-vangogh-crash.txt ]
  Details E-Mail
Tarpon
Posts: 2
van Gogh flow also crashes on my 8 core mac. Crashes in ff 2 and ff3. Running 10.6.8
Rich
  Details E-Mail
Tarpon
Posts: 2
Daniel how do i know which filter to remove from the library? they are listed as library_xxx-x.ffxml. i guess im in the right library.
Rich
  Details E-Mail
Darrell Plank
Posts: 42
Filters: 4
I wrote the filter. It's got a lua script in it which is the most likely suspect. It should be pretty inoffensive, though. It's got a couple of library calls, no divisions that could possibly be by zero and some arithmetic - that's about it. I see you're on a Mac. The only library calls are to Math.Atan2 and Math.PI. I can't imagine that the latter causes problems. Can the former? I also see that the allocator is mentioned in the crash report. Could you be running out of memory? I'm ready to help if I can. I don't have a Mac to test on, though. Does the filter fail in the 3.0 beta? I really don't think that there's any good reason for it to fail so I think FF might want to look into this.

Darrell Plank
Darrell
  Details E-Mail
Daniel Sroka
Posts: 20
Rich, the file is "Library_9817-1.ffxml" (when you are on the webpage for the filter, the URL shows the ID number used in the file.)

Darrell: thanks for checking into it. I am only using FF2 at the moment, but if I get FF3b I'll check it out. I am running FF on a Mac with 14 GB of RAM so I don't believe that I am running out of memory. Maybe FF themselves has an idea.
  Details E-Mail
Darrell Plank
Posts: 42
Filters: 4
Well, like I say, it certainly wasn't meant to be malicious and the script is really simple - take a look at it if you like. I really don't think it should be causing any problems if FF is doing everything correctly. Normally I'd be really hesitant to say that but this is something like 15 lines of really simple code. It's hard to imagine that the Atan2 routine would be screwing up on the Mac.

I've attached a test filter which is the original filter without the lua script. Try it out - if it works we can definitely blame the Lua which is where my money is on. If it fails then it's definitely something screwy with FF since I'm using nothing but standard FF components.

Darrell

Lua Flow Test.ffxml
Darrell
  Details E-Mail
Daniel Sroka
Posts: 20
Thanks for helping figure this out. The filter looks great, and I can't wait to use it (reminds me of a Photoshop filter I used to use way back in the old days)

I just downloaded FF3b to test this file. The Lua Flow test ran fine, but the Van Gogh filter still crashes as soon as it tries to render the preview.
  Details E-Mail
Darrell Plank
Posts: 42
Filters: 4
Okay - my best guess is that the library functions don't work on Macs as they should. When I get home I'll do a version with the script but avoiding any library calls and see if that works for you. If it does I can probably make a workaround though it's aggravating that the current code doesn't work properly.
Darrell
  Details E-Mail
GMM
Moderator
Filter Forge, Inc
Posts: 3491
Quote
Darrell Plank wrote:
we can definitely blame the Lua which is where my money is on.


You are right. Unfortunately the third-party Lua library which we use in FF seems to be unstable.
  Details E-Mail
Daniel Sroka
Posts: 20
Sorry the library is unstable, but glad you managed to figure out this bug.

GMM: I assume you don't need me to write up this bug, correct? Do you need my crash logs (see above) or anything to help?

Darrel: Can't wait (hope) for a non-Lua version of the filter!
  Details E-Mail
GMM
Moderator
Filter Forge, Inc
Posts: 3491
Quote
Daniel Sroka wrote:
Do you need my crash logs (see above) or anything to help?


Thank you. We're fully aware of the problem, not further logs needed. Unfortunately it will take some time to fix.
  Details E-Mail
Darrell Plank
Posts: 42
Filters: 4
Okay, thanks GMM. I was going to put up another test where I didn't call the library function but I guess that's unnecessary now. Daniel, I'm writing a workaround which does the arctangent by hand which should make everything work regardless since it won't be making any library calls. It's a bit trickier than I'd like due to some of the weirdness inherent in atan2 but I'll get it done and let you know when there's a new result up.
Darrell
  Details E-Mail
Darrell Plank
Posts: 42
Filters: 4
P.S., Daniel, it will still be Lua - just Lua without the library call. It sounds like the library is the problem (as I suspected). Lua itself is very stable and I have no doubts will work fine on Macs as on PCs.
Darrell
  Details E-Mail
Daniel Sroka
Posts: 20
Thanks Darrell. Hate to put you through more work, but know that others will be glad to have the filter too!
  Details E-Mail
Beth Rosengard
Posts: 24
Thanks for this thread! I just had the same problem and didn't know how to find the filter to trash it either, so your discussion gave me back FF.

GMM: How about a warning on the filter download page until Darrell does his update?!?! Currently, the filter is right there upfront on the Recent page, begging to be downloaded by unsuspecting Mac users like me!!
  Details E-Mail
Darrell Plank
Posts: 42
Filters: 4
Okay, I'm in the process of submitting the update. Mac folks, try out the new version and let me know if there's a problem. This only does no library calls - just arithmetic - so should be fine.
Darrell
  Details E-Mail
Beth Rosengard
Posts: 24
Sorry, Darrell. It still crashes. Thanks for trying, though!
  Details E-Mail
Beth Rosengard
Posts: 24
Actually, it doesn't crash; it hangs and I have to force quit.
  Details E-Mail
Beth Rosengard
Posts: 24
Sorry, it's late and I should be sleeping, but I don't want to be inaccurate so ... it did hang and I did have to force quit, but I was then able to open FF, which was not possible with the last version of the filter. Once open, FF worked fine until, of course, I tried to use the Van Gogh filter again. Then it hung, etc., etc. So the filter is still unusable, but FF will otherwise work normally.
  Details E-Mail
Darrell Plank
Posts: 42
Filters: 4
Beth -
Try deleting the filter in FF and then re-downloading. I'm finding that if you've got the original, it's not overwriting it with the updated version. I really hope that's it because otherwise something REALLY weird is going on.

Darrell
Darrell
  Details E-Mail
Daniel Sroka
Posts: 20
Hi Darrell. Hate to say it, but I'm still getting the same problem: crash as soon as FF tries to render. I've deleted the original filter file, and re-downloaded it twice (Library_9817-2.ffxml) in both FF2 and FF3b, and get the same results.

I've attached the crash report, if this helps.

[ crashreport.txt ]
  Details E-Mail
Darrell Plank
Posts: 42
Filters: 4
Okay, I think I've done what I can do. I'm really surprised that the fix didn't fix anything. It's just doing arithmetic in the new filter and if Lua can't do arithmetic on the Mac, what can it do? Kind of like an egg timer that does everything an egg timer should do except the timing part. I know Lua CAN work on a Mac. It's used in World of Warcraft for instance and I'm sure a ton of other things.

Oh well - sorry. Thanks for hanging in there. I might be able to make things work with the Derivative component and I might give that a shot sometime.
Darrell
  Details E-Mail
tigerAspect
Posts: 222
Filters: 9
So, just to make things confusing, I tried with your de-activated version, entered the filter editor and re-connected the script.
It worked fine. o.O
  Details E-Mail
Darrell Plank
Posts: 42
Filters: 4
That is confusing, Tiger. I don't understand. When you say "de-activated" version do you mean the old one rather than the new one? Are you on a Mac? How did you get to the filter editor without it trying to render in the main window? What do you mean "re-connected"? Neither filter is "unconnected" in any of the versions. They're just "connected" to a script node with a different script in it so it's not clear what you mean when you say you "re-connected" the script.
Darrell
  Details E-Mail
Beth Rosengard
Posts: 24
I was just thinking the same thing. Does re-connected mean re-uploaded?
  Details E-Mail
theopenmix
theopenmix
Posts: 5
This is the second awesome filter to instantly crash FF2 on my quadcore Mac. "Height" was the first, and was brought to the attention of the developers back in March. Thus far there is no word on progress or any communication to mac users that these filters should not be downloaded. I wonder how challenging this stuff gets.
  Details E-Mail
tigerAspect
Posts: 222
Filters: 9
Ah, sorry, in the "LUA Flow Test.xml" you posted earlier in the thread, the script component is still there, and since that version doesn't crash FF I could get into the filter editor and re-connect the Map Script component into the Bomber. It works while I'm inside of the editor but as soon as I saved the re-connected version and went back to the main window, FF crashes.
  Details E-Mail
sherif
Posts: 4
Heloo everyone. i had the same problem and when it prompt to debug click on reopen. It will reopen and ask again for debug, don't click anywhere except on the tool bar and click on filter>locate filter> drag it to the trash and the software will work as before.
  Details E-Mail

Join Our Community!

Filter Forge has a thriving, vibrant, knowledgeable user community. Feel free to join us and have fun!

33,712 Registered Users
+19 new in 30 days!

153,537 Posts
+6 new in 7 days!

15,348 Topics
+72 new in year!

Create an Account

Online Users Last minute:

22 unregistered users.