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 ] |
|||
Posted: July 11, 2011 11:57 am | ||||
Tarpon
Posts: 2 |
van Gogh flow also crashes on my 8 core mac. Crashes in ff 2 and ff3. Running 10.6.8
Rich |
|||
Posted: July 12, 2011 12:02 pm | ||||
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 |
|||
Posted: July 12, 2011 12:09 pm | ||||
Darrell Plank |
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 |
|||
Posted: July 12, 2011 12:48 pm | ||||
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. |
|||
Posted: July 12, 2011 1:02 pm | ||||
Darrell Plank |
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 |
|||
Posted: July 12, 2011 1:23 pm | ||||
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. |
|||
Posted: July 12, 2011 1:55 pm | ||||
Darrell Plank |
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 |
|||
Posted: July 12, 2011 3:07 pm | ||||
GMM
Moderator
Posts: 3491 |
You are right. Unfortunately the third-party Lua library which we use in FF seems to be unstable. |
|||
Posted: July 13, 2011 3:50 am | ||||
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! |
|||
Posted: July 13, 2011 7:36 am | ||||
GMM
Moderator
Posts: 3491 |
Thank you. We're fully aware of the problem, not further logs needed. Unfortunately it will take some time to fix. |
|||
Posted: July 13, 2011 9:36 am | ||||
Darrell Plank |
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 |
|||
Posted: July 13, 2011 10:39 am | ||||
Darrell Plank |
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 |
|||
Posted: July 13, 2011 10:41 am | ||||
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!
|
|||
Posted: July 13, 2011 10:41 am | ||||
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!! |
|||
Posted: July 13, 2011 7:08 pm | ||||
Darrell Plank |
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 |
|||
Posted: July 13, 2011 8:26 pm | ||||
Beth Rosengard
Posts: 24 |
Sorry, Darrell. It still crashes. Thanks for trying, though!
|
|||
Posted: July 14, 2011 3:43 am | ||||
Beth Rosengard
Posts: 24 |
Actually, it doesn't crash; it hangs and I have to force quit.
|
|||
Posted: July 14, 2011 3:45 am | ||||
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.
|
|||
Posted: July 14, 2011 3:53 am | ||||
Darrell Plank |
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 |
|||
Posted: July 14, 2011 8:55 am | ||||
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 ] |
|||
Posted: July 14, 2011 10:04 am | ||||
Darrell Plank |
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 |
|||
Posted: July 14, 2011 11:04 am | ||||
tigerAspect |
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 |
|||
Posted: July 14, 2011 4:09 pm | ||||
Darrell Plank |
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 |
|||
Posted: July 14, 2011 7:23 pm | ||||
Beth Rosengard
Posts: 24 |
I was just thinking the same thing. Does re-connected mean re-uploaded?
|
|||
Posted: July 14, 2011 11:49 pm | ||||
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.
|
|||
Posted: July 15, 2011 11:58 am | ||||
tigerAspect |
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.
|
|||
Posted: July 15, 2011 2:26 pm | ||||
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.
|
|||
Posted: June 7, 2012 4:48 am |
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!
22 unregistered users.