2.6.2 Bug when saving/ loading large .bin files

If you are allergic to bug trackers, you can post here any remarks, issues and potential bugs you encounter
Post Reply
Aarie
Posts: 43
Joined: Sun Apr 27, 2014 10:07 am
Location: Berlin

2.6.2 Bug when saving/ loading large .bin files

Post by Aarie »

Hey Daniel,
when saving larger .bin files (>300m points) with 2.6.2., the file crashes CC when I try to reopen it. Opening the .bin file with earlier versions is also not possible, I get the "file corrupted" or something like that.
The same dataset can be saved and reopened without a problem using the 2.6.1 version. Trying to open the 2.6.1. file with 2.6.2 leads to the same message "file corrupted".

This is on Windows 7 64bit. Nvidia GPU (6GB vram).
Cheers.
Arie
daniel
Site Admin
Posts: 7458
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: 2.6.2 Bug when saving/ loading large .bin files

Post by daniel »

Hi,

This is a bit strange because there were only minor changes in the BIN import/export mechanism. What kind of entity are you saving in this file? A single point cloud?

Can you maybe share the file with me? (the one saved with the 2.6.1 version).
Daniel, CloudCompare admin
daniel
Site Admin
Posts: 7458
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: 2.6.2 Bug when saving/ loading large .bin files

Post by daniel »

Oups, no need to send me the file, I finally found a way to reproduce the bug (you have to put 300 M. in a single cloud - 3 clouds of 100M. won't make CC crash ;)
Daniel, CloudCompare admin
daniel
Site Admin
Posts: 7458
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: 2.6.2 Bug when saving/ loading large .bin files

Post by daniel »

Okay the bug is fixed.

It is a strange limit that appears when loading a lot of bytes from a file in a single row (in previous versions we were always reading the files in very small chunks so it wouldn't happen). The aim was to go faster ;).

Now CC will continue to load the files in several chunks (but bigger ones). This seems to fix the bug at least.

The fixed beta version is here: http://www.cloudcompare.org/release
Daniel, CloudCompare admin
Aarie
Posts: 43
Joined: Sun Apr 27, 2014 10:07 am
Location: Berlin

Re: 2.6.2 Bug when saving/ loading large .bin files

Post by Aarie »

Hey Daniel,
once again, I'm very impressed by the speed of your reaction. Thank you!
I can confirm, that it works fine now!

Really amazing what you are doing with CC!
Cheers,
Arie
daniel
Site Admin
Posts: 7458
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: 2.6.2 Bug when saving/ loading large .bin files

Post by daniel »

I really hate bugs ;)
Daniel, CloudCompare admin
Post Reply