Out of order call of libraw fucntion

I'm seeing this error upon trying to extract a thumbnail from a sigma (.x3f) image:

10-18 17:06:37.936: I/JNI(6492): No error
10-18 17:06:37.936: I/JNI2(6492): No error
10-18 17:06:37.936: I/JNI3(6492): Out of order call of libraw function

when executing:

	int result = rawProcessor->open_file(str);
	result = rawProcessor->unpack_thumb();
        libraw_processed_image_t *image = rawProcessor->dcraw_make_mem_thumb(&result);

Each log corresponds to its respective line of code. The image can be processed in LightRoom. So far the same code works for just about every image I've thrown at it, but I don't understand why I would have the order error if the open was successful? Thanks!

(I can submit the image somewhere if needed)


Just remembered I hadn't

Just remembered I hadn't enabled the demosaic packs after the update. With the demosaic packs enabled the thumbnail extraction works. If you could still explain the out of order error for this case I'd appreciate it. Thanks!

Yes, thumbnail extraction

Yes, thumbnail extraction based on x3f tools library (i.e. without demosaic packs) do not work yet (0.16 still in Alpha)

-- Alex Tutubalin