[Pkg-phototools-devel] Bug#822583: Acknowledgement (generating compression 0 writing copying Bus error (core dumped))
Mathieu Malaterre
malat at debian.org
Mon Apr 25 14:57:41 UTC 2016
Does not look aligned to me:
(gdb) p pixelData
$1 = 0x3cbb30 ""
(gdb) p 0x3cbb30
$2 = 3980080
(gdb) up
#1 0xfffff801008836b8 in Imf_2_2::DeepScanLineOutputFile::copyPixels
(this=this at entry=0x7feffffef18, in=...) at
ImfDeepScanLineOutputFile.cpp:1480
1480 in.rawPixelData(_data->currentScanLine, &data[0], dataSize);
(gdb) list
1475 in.rawPixelData(_data->currentScanLine, &data[0], dataSize);
1476 if(dataSize > data.size())
1477 {
1478 // block wasn't big enough - go again with enough
memory this time
1479 data.resize(dataSize);
1480 in.rawPixelData(_data->currentScanLine, &data[0], dataSize);
1481 }
1482
1483 // extract header from block to pass to writePixelData
1484
(gdb) p dataSize
$3 = 8220
(gdb) list -
1465
1466 //
1467 // Copy the pixel data.
1468 //
1469
1470 vector<char> data(4096);
1471
1472 while (_data->missingScanLines > 0)
1473 {
1474 Int64 dataSize = (Int64) data.size();
(gdb)
More information about the Pkg-phototools-devel
mailing list