Ok I made a patch about it including some other details for the jpeg viewer.
Patch task # 5362

On 17/05/06, XavierGr < [EMAIL PROTECTED]> wrote:
yes it is true that the sim crashes whenver I try to open files with folders.

But what's the entries = 0 for?

This variable is always initialized to zero when the program starts.

On 17/05/06, Bill Janssen <[EMAIL PROTECTED]> wrote:
> I haven't checked for a while but when I was developing the file_change
> feature I tested various conditions with and without mixed folders and it
> worked just fine...

I'm using it in the simulator, under GDB, and conditions there might
be different from in a real device.  But I can't see how it wouldn't
crash if you were in a folder which had extension-less filenames in
it.  It's a null pointer dereference bug.

> If you use it twice?
> What exactly do you mean by that?

I mean, you try to look at an image, then you go back to the file
browser, then you select another JPEG image.  There's an index
initialization problem that the patch fixes.  Again, this is an error
that might be masked in certain operating conditions.  Or with a less
introspective version of "free".

Bill


Reply via email to