YOUR ACCOUNT

Login or Register to post new topics or replies
Sphinx.
Filter Optimizer

Posts: 1750
Filters: 39
I'm getting a very annoying crash once in a while. The crash overwrites the currently active filter file (its zero bytes in size after the crash). This bug adds up to hours of lost work by now, but I can't tell whats causing it.

The first time I encountered it, I found out it had to do with Outlook Express running (in particular an OE plugin called RSS Popper). So I got used to closing down OE while working with FF. Now the bug has reappeared with something else causing it. I suspect that it has to do with the internal XML handling code somehow (perhaps you use MSXML, and when other programs do too, it could cause conflicts somehow).

Anyways, Since I can't give you any specific information, and FF in the crash fails to generate a bug report, I have a few practical suggestions.

1. When FF is not in editing mode, open the filter file in readonly mode. This should prevent a crash from destroying the file.

2. When in editing mode, store a backup file every N seconds or after a change (last one could be a problem if the crash is caused by the last change), and when FF opens next time, inform the user about the existence of the backed up file (like seen in many other applications).

I am not sure if the bug really is related to FF code, could be external causes. Either way the result is mighty annoying. I really hope you will implement some sort of backup mechanism.
  Details E-Mail
CFandM
ForgeSmith

Posts: 4761
Filters: 266
Welcome to the resource bug club..
http://www.filterforge.com/forum/sear...FORUM_ID=0

Still not fixed yet.. smile:?: smile:(
Stupid things happen to computers for stupid reasons at stupid times!
  Details E-Mail
StevieJ
Designer/Artist

Posts: 11264
Filters: 163
Quote
Sphinx. wrote:
I am not sure if the bug really is related to FF code

It is.....
Quote
CFandM wrote:
Still not fixed yet..

Nope......
Quote
onyXMaster wrote:
the leak is almost certainly (I usually know what I'm talking about when it comes to programming) is one of closed-source libraries we licensed from a 3rd party:
a) [excuse me for my language] its support plainly sucks (won't dive into details here for obvious reasons)
b) nevertheless, it's one of the best solutions of its kind on the market
c) it is Windows-specific, so Mac version won't have any trace of it
d) we're going to license another library performing the same function or even roll our own for both Windows and Mac (check "c" above)
e) but not until 2.0 or at least 1.5, since it will put a great burden not only on the dev team, but on the release engineering and support teams also, since there will be certain compatibility issues with previous versions

Steve

"Buzzards gotta eat...same as worms..." - Clint :)
  Details E-Mail
Sphinx.
Filter Optimizer

Posts: 1750
Filters: 39
The crash might very well be related to the "resource issue" mentioned in those threads, though I don't think that the problem actually is related to missing resources. From what I can tell, its their XML parser/writer that has its own agenda smile:D
It amazes me is that FF overwrites the filter file even though the app is not in editing mode...
  Details E-Mail
StevieJ
Designer/Artist

Posts: 11264
Filters: 163
Whatever it's source.....I can't wait for FF to put an end to it.....royal pain in the arse to put it mildly..... smile;)
Steve

"Buzzards gotta eat...same as worms..." - Clint :)
  Details E-Mail
onyXMaster
Filter Forge, Inc.
Posts: 350
Let me assure you, it's not the XML parser smile:)
The one we use (http://expat.sourceforge.net/) is an open source one and is considered as an industry standard for cross-platform compact XML parsers -- we never had any problems with it.

Currently, I am considering to add some sort of debug monitor into FF (it will need XP SP1, Server 2003 or Vista to function, won't be available on older OSes) that will try to warn you before it's too late (probably autosaving the filter currently being edited into something like "Just before crash 0003"), alongside with dumping some information that might assure us that the problem is in the specific library I was talking about. But it won't see the light AT LEAST until the end of May, since there's a lot of things I need to take care before adding this monitoring function.
  Details E-Mail
onyXMaster
Filter Forge, Inc.
Posts: 350
P.S. We know about this bug, and we do care about fixing it -- problem is it's not exactly easy to reproduce on machines we have in-house and when it's reproduced it's usually too late since you can't do anything meaningful with the process when it already leaked so much OS handles that the OS GUI has trouble of even redrawing itself or moving mouse pointer smile:)
  Details E-Mail
Sphinx.
Filter Optimizer

Posts: 1750
Filters: 39
Sounds good! If its to any help, try running Outlook Express with the RSS popper plugin installed (www.rsspopper.com). You might need to hook up a few rss feeds in it. After you have that running, start up FF, create new filter and try to save it. I had more crashes than successful saves back then when I used RSS popper.

Strangely I've never had a noticeable slower system after the crashes - its usually just enough to restart FF.
  Details E-Mail
Presidio
Presidio

Posts: 2915
Filters: 43
That just happened to me too Sphinx. I had three days of work into it. Was renaming sliders and tweaking. Was going to release in a few days smile:)

I would have to say it was my best filter yet. Gone. Same thing that happened to you. Just lost it about an hour ago.

So I do have a back up in a more baby stage, so I guess I'll go back try and remember everything I did.

Expect to see a new filter in a week or so, lol.

Stuff happens, just have to smile and move on. smile:)
  Details E-Mail
ThreeDee
Lost in Space

Posts: 1672
Filters: 112
Yep, this surely is the most annoying bug. Happens to me all the time. Had to redo some of my earlier filters, before I learned to "overcome" this by saving the in-development filters with a new name every hour or so and then cleaned up the extra backup copies afterwards. I even keep extra backups of filters that I wanna be sure not to lose. All it takes sometimes is just the smallest edit to an existing filter and "crash-boom" -- gone forever. My machine also slows down to molasses usually before this happens, but not always. (Hope you find the cause of the leak soon, Master onyX!)
  Details E-Mail
StevieJ
Designer/Artist

Posts: 11264
Filters: 163
Yeah, have to immediately save your work and restart the program at the first sign of the tell-tale slowdown and sticky cursor.....or take a chance on your filters getting 0-byted.....not good...... smile:hammer:

I do frequent saves and backup all my filters to a location outside of the FF file.....better safe than sorry..... smile:|
Steve

"Buzzards gotta eat...same as worms..." - Clint :)
  Details E-Mail
Kraellin
Kraellin

Posts: 12749
Filters: 99
i just 'save as' as i work, new version each save. if the current one gets xxx'ed, then i've still got the earlier version save intact.

also, wasnt there goign to be a minor upgrade that added in an autosave feature? or do we already have it and i'm just sleeping again?
If wishes were horses... there'd be a whole lot of horse crap to clean up!

Craig
  Details E-Mail
StevieJ
Designer/Artist

Posts: 11264
Filters: 163
Quote
Kraellin wrote:
autosave feature

Don't have it yet.....but I would love to have it ASAP..... smile:devil:
Steve

"Buzzards gotta eat...same as worms..." - Clint :)
  Details E-Mail
Kraellin
Kraellin

Posts: 12749
Filters: 99
well, if they're not going to fix the resource leak/crash bug right away... ??
If wishes were horses... there'd be a whole lot of horse crap to clean up!

Craig
  Details E-Mail
Sphinx.
Filter Optimizer

Posts: 1750
Filters: 39
Its sad to see that we have had two upgrades by now, and that bug is still considered mid/low prio (according to Stevie J the bug is going far back). I must admit I don't understand the teams priorities here - if the software cannot save its own projects, or trash existing work I'd say thats top top prio to find a solution for! (FF Team - sorry to put it this way, but I've had enough...)
  Details E-Mail
Kraellin
Kraellin

Posts: 12749
Filters: 99
easy, sphinx. the bug is known. the area of the software is known that's causing it. if i recall correctly, it's one of their library files and by library files, i mean code library, not filter library. library files are VERY basic components in certain types of code. it's not always easy to just rip the heart out of some big program and say, 'ok, fixed.' smile:) ya know? and if i remember the rest of the story on this lib file, it's from someone or some company that no longer exists (?) or no longer is supporting that lib file (?)... something like that. and, FF is licensing this lib file, i believe, so there's contracts and such in play and who knows what all.

it's easy to give FF grief on this. it is annoying... and, we dont have to fix it smile;) i've lost filters, too. but, since we cant go fix the thing ourselves, we do what we can do, nudge vladimir or onyx once in a while and then take care to save as we work. anything else is just needless hair pulling.
If wishes were horses... there'd be a whole lot of horse crap to clean up!

Craig
  Details E-Mail
jffe
Posts: 2869
Filters: 90
Quote
Sphinx. wrote:
I must admit I don't understand the teams priorities here - if the software cannot save its own projects, or trash existing work I'd say thats top top prio to find a solution for!


----Join the club. There are many other issues with FF that are taking a backseat to the Mac version it seems. I can only hope they pull it all together soon, since FF is a genius device on the rise overall.

jffe
Filter Forger
  Details E-Mail
Northernshadow
Posts: 208
Filters: 19
Hmmm... I've only had one (ONE!!!) crash since installation on the new computer. (3 months?) and I suspect it had something to do with my Antivirus program, it crashed too. and I haven't been able to duplicate it. smile:?:

I'm curious, on my old computer I got into the habit of clicking on "Show Original" for the preview until the presets were displayed, the presets load quicker and my thought was less resources would be used if I only let FF do one thing at a time.

Would this really make a difference?
Sherry
  Details E-Mail
Kraellin
Kraellin

Posts: 12749
Filters: 99
it shldnt, sherry. pc's have been able to multitask for a while now, not always well, but they're supposed to smile;) you are still doing the same number of tasks, loading the presets and rendering the display. so, the order one does them in or if they are done more or less concurrently shldnt make a difference the number of resources used.

as for tripping the bug doing it the way you did, i dont know. the resource bug/leak seems to happen mostly when you leave FF idle for a while or when you've been using it for a long period. the resources just sort of 'leak' away, like water draining from a small hole in a pot. when enough resources are gone, there's not enough left to maintain a working program and it crashes.
If wishes were horses... there'd be a whole lot of horse crap to clean up!

Craig
  Details E-Mail
StevieJ
Designer/Artist

Posts: 11264
Filters: 163
Quote
Sphinx. wrote:
Its sad to see that we have had two upgrades by now, and that bug is still considered mid/low prio (according to Stevie J the bug is going far back). I must admit I don't understand the teams priorities here - if the software cannot save its own projects, or trash existing work I'd say thats top top prio to find a solution for! (FF Team - sorry to put it this way, but I've had enough...)

I have to agree.....too many people are experiencing problems with it.....not good to have any instability problems like this preceding the program.....and should have taken priority over the Mac platform expansion IMHO......

On the positive side.....FF is planning to overhaul the code in PC V2......which will hopefully put an end to it...... smile:hammer: smile:loveff:
Steve

"Buzzards gotta eat...same as worms..." - Clint :)
  Details E-Mail
Sphinx.
Filter Optimizer

Posts: 1750
Filters: 39
Quote
StevieJ wrote:
I have to agree.....too many people are experiencing problems with it(...)


Yeah, the worst thing is that you can loose hours/days of work because FF ruins the file - I could live with non destructive crashes (or even crashes that only take down latest changes, i.e. when going into editing mode FF works on a temporary file) - but crashes that destroys your work is unacceptable. What I don't understand is why we haven't seen a release with some sort of temporary workaround like some of the solutions I suggested (like automated backup) - then again I don't know anything about the internals, could be that its not possible.
  Details E-Mail
StevieJ
Designer/Artist

Posts: 11264
Filters: 163
Quote
Sphinx. wrote:
the worst thing is that you can loose hours/days of work because FF ruins the file

That's why I'm frequently backing up my filters.....especially after completing work that would be a pain to duplicate.....
Quote
Sphinx. wrote:
crashes that destroys your work is unacceptable.

I agree.....but obviously FF feels that they can live with it until a code overhaul in V2..... smile:|
Quote
Sphinx. wrote:
(like automated backup) - then again I don't know anything about the internals, could be that its not possible.

That would be easy to implement.....and should be done if they are going to allow "The Bug" to go on..... smile:|

In the meantime, you can create a macro to do it for you..... smile:devil:
Steve

"Buzzards gotta eat...same as worms..." - Clint :)
  Details E-Mail

Join Our Community!

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

33,711 Registered Users
+18 new in 30 days!

153,531 Posts
+39 new in 30 days!

15,347 Topics
+72 new in year!

Create an Account

Online Users Last minute:

30 unregistered users.