Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com From: Marco Alanen Subject: Re: libpng issues Date: Fri, 12 Nov 2004 14:55:36 +0100 Lines: 37 Message-ID: References: <4194B95F DOT 4080209 AT familiehaase DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet AT sea DOT gmane DOT org X-Gmane-NNTP-Posting-Host: 213.115.150.209 User-Agent: Mozilla Thunderbird 0.9 (X11/20041103) In-Reply-To: <4194B95F.4080209@familiehaase.de> X-IsSubscribed: yes Gerrit P. Haase wrote: > Marco Alanen wrote: > >> After successfully porting our application from Linux to cygwin, most >> of the functions work, except for one thing - png images. As soon as I >> call png_create_read_struct, the application will imediately hang and >> start using up all available CPU power. This happens with both >> libpng10 and libpng12. >> >> This is the call we make: >> png_structp png_ptr = png_create_read_struct (PNG_LIBPNG_VER_STRING, >> (png_voidp)0, 0, 0); >> >> Anybody who knows anything about it, or knows what more information I >> should provide? > > > Simple testcase (compilable snippet), please? > > Gerrit Some simple code: #include #include int main(int argc, char **argv) { png_structp png_ptr = png_create_read_struct (PNG_LIBPNG_VER_STRING, NULL, NULL, NULL); return 0; } Compiled with: gcc -o pngtest pngtest.c -mno-cygwin -mwin32 -mwindows -lpng Thanks /Marco -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/