Alan,

I tried again, and no more error message while buiding
the library. Good job!

I used the newly compiled library in my code. Similar
error, but a little bit different info.

Error:
HEAP CORRUPTION DETECTED: after Normal block (#18524)
at 0x01809958. CRT detected that the application wrote
to memory after end of heap buffer.

Threads:
wxGridBagSizer::FindItemAtPosition      opt_drvopt      Normal  0

Call Stack:
msvcr80d.dll!1021bd53()
plplotd.dll!opt_drvopt(char * opt=0x0105c209, char *
optarg=0x018098d9, void * client_data=0x00000000) 
Line 1771 + 0x22 bytes  C

I tracked it down, the problem is in wxPLplotstream
constructor, on line:
SetOpt( "-drvopt", drvopt );

And further, in file plargs.c, on line
free(option); free(value);
near the end of opt_drvopt(char *opt, char *optarg,
void *client_data)

I am not sure what the problem exactly is. But as my
code was just trying to get an instance of
wxPLplotstream, it is likely a memory problem in the
compiled library, perhaps related to wxWidgets(?).


Winson          


> Hi Winson:
> 
> Thanks for your quick test, and your report of
> results. I just committed
> another change (revision 7662) which solves one
> obvious cross-platform issue
> in the last commit.  Perhaps it will work for you
> this time.
> 
> BTW, I think the way you are overlaying these
> include/CMakeLists.txt
> revisions on top of 5.7.3 source should probably
> work for now until you get
> your svn client working.  Of course, the best
> procedure is to use svn
> checkout the first time, then svn update after that
> to keep up with our svn
> changes.
> 
> Alan
> 
> __________________________
> Alan W. Irwin
> 
> Astronomical research affiliation with Department of
> Physics and Astronomy,
> University of Victoria (astrowww.phys.uvic.ca).
> 
> Programming affiliations with the FreeEOS
> equation-of-state implementation
> for stellar interiors (freeeos.sf.net); PLplot
> scientific plotting software
> package (plplot.org); the Yorick front-end to PLplot
> (yplot.sf.net); the
> Loads of Linux Links project (loll.sf.net); and the
> Linux Brochure Project
> (lbproject.sf.net).
> __________________________
> 
> Linux-powered Science
> __________________________
> 



 
____________________________________________________________________________________
Bored stiff? Loosen up... 
Download and play hundreds of games for free on Yahoo! Games.
http://games.yahoo.com/games/front

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to