Re: [Gdcm2] Buffer problem in Qt environment
Cross-platform DICOM implementation
Brought to you by:
malat
|
From: Sylvain A. <syl...@ho...> - 2009-06-17 14:12:55
|
Okay. Nevermind for the main page, must be my proxy or something. Concerning the bug, well, it does only appear with the line 3 in this: ======================== 1. buffer = new char[gimage.GetBufferLength()]; 2. 3. gimage.GetBuffer(buffer); ======================== It does NOT appear when I comment the line 3. It only says ----------------------------------------- HEAP[MyProgram.exe]: Invalid Address specified to RtlFreeHeap( 05080000, 04DAA558 ) ----------------------------------------- This is displayed when I'm debugging. But the program works perfectly, and no critical errors are found. Looks to me there's something in that line that affects my compiler (mingw32-make, which is packed with Qt Creator, the IDE I'm using). I guess this kinda problem vanishes when you compile in "release" mode. I just wanted to let you know. Sylvain > Date: Wed, 17 Jun 2009 15:08:10 +0200 > Subject: Re: [Gdcm2] Buffer problem in Qt environment > From: mat...@gm... > To: syl...@ho... > CC: gdc...@li... > > On Wed, Jun 17, 2009 at 2:30 PM, Sylvain ADAM<syl...@ho...> wrote: > > By the way, I've tried accessing your wiki page, but nothing displays for > > now? > > Which page ? > > The main page looks ok for me: > > http://sourceforge.net/apps/mediawiki/gdcm/index.php?title=Main_Page > > > And should I try to post a new bug for this memory problem I evoked > > yesterday? > > I do not believe there is a bug in gdcm::ImageReader, you are doing > something wrong when passing the buffer to QImage. Post the example, > maybe patch ConvertToQImage.cxx so that other people can duplicate the > bug you are seeing. > > HTH > -- > Mathieu _________________________________________________________________ Téléphonez gratuitement à tous vos proches avec Windows Live Messenger ! Téléchargez-le maintenant ! http://www.windowslive.fr/messenger/1.asp |