<div dir="ltr">you have not initialized you variable pszFilename, try replacing it with the actual file name of the file, or setting the contents of the variable.</div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Fri, Dec 13, 2013 at 12:06 AM, Jun Xiong <span dir="ltr"><<a href="mailto:jun.xiong1981@gmail.com" target="_blank">jun.xiong1981@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi All:<br clear="all"><div dir="ltr"><span style="border-collapse:collapse"><span style="border-collapse:separate"><div><br></div><div>I have a Erdas .ige file (>=100GB) which was generated by gdal utility gdal_merge.py,  then I want to use gdal API to open it, like following:<br>

</div><div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">    GDALDatasetH  hDataset;<br>
    char *pszFilename;<br>
    GDALAllRegister();<br>    hDataset = GDALOpen(pszFilename, GA_ReadOnly);</blockquote></div><div><br></div><div>The program was compiled successfully, but when I tried to run it, the system prompt</div><div><br></div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Segmentation fault (core dumped)</blockquote><div><br></div><div>And nothing else, I googled such information and then found very hard to locate the bugs. And ideas? Very appreciated.</div><span class="HOEnZb"><font color="#888888"><div>
<br></div><div>Jun</div></font></span></span></span></div>

</div>
<br>_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br></blockquote></div><br></div>