mollynnobrien / b-tk

Automatically exported from code.google.com/p/b-tk
0 stars 0 forks source link

Unit tests crashed on Unix 32 bits #11

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Compile BTK with the option BUILD_TESTING
2. Lauch gdb bin/TDD and run it

On Linux and MacOS X compiled as 32-bit application, the program crashed when 
reading and writing a C3D file respectively. This seems not to be random as it 
happend every time at the same place.

This problem didn't happened on Unix 64-bit targets, nor Windows (32-bit, 
64-bit)

The attached file 'GDB-tracking.txt' contains the logs from gdb on Ubuntu 10.10 
(x86) and MacOS X 10.5 (x86)

The problem seems to come from the new mechanism to read/write binary files and 
especialy with the mmfilebuf class (file btkBinaryFileStream_mmfstream_p.cpp). 
Is it related to the index used? 

Original issue reported on code.google.com by arnaud.barre on 13 Feb 2011 at 4:15

Attachments:

GoogleCodeExporter commented 8 years ago
Fixed by revision r670.

Original comment by arnaud.barre on 24 Jun 2011 at 6:50