2011-01-17 07:39:12     libcurl memory problem

Document created by Aaronwu Employee on Aug 26, 2013
Version 1Show Document
  • View in full screen mode

2011-01-17 07:39:12     libcurl memory problem

Steven Mattheussen (BELGIUM)

Message: 97499   

 

Has anyone successfully used libcurl with uClinux on the Blackfin processor?

 

I'm using the Bluetechnix CM-BF561 and try to upload 2 RAW images of 1920kB from memory using FTP, but my program gives memory issues while doing the first curl_easy_perform(curl): 'munmap of memory not mmapped by process ...'.

 

I'm going to try the ftplib now, hoping this will work, but I am still curious if someone else also experienced these problems.

TranslateQuoteReplyEditDelete

 

 

2011-01-17 08:08:25     Re: libcurl memory problem

Andreas Schallenberg (GERMANY)

Message: 97500   

 

Not related to libcurl, but I've seen such a message when process used mmap with MAP_SHARED.  The Linux kernel tree has some info under Documentation/nommu-mmap.txt.

TranslateQuoteReplyEditDelete

 

 

2011-01-17 09:31:57     Re: libcurl memory problem

Steven Mattheussen (BELGIUM)

Message: 97501   

 

It's working with ftplib now, so I'm not going to invest much more time in this issue. I suppose libcurl just isn't fully compatible with MMU less systems.

TranslateQuoteReplyEditDelete

 

 

2011-01-17 13:49:21     Re: libcurl memory problem

Mike Frysinger (UNITED STATES)

Message: 97504   

 

what release are you using ?  there were bugs in older versions, but they should be resolved with 2010R1.

QuoteReplyEditDelete

 

 

2011-01-18 09:13:02     Re: libcurl memory problem

Steven Mattheussen (BELGIUM)

Message: 97519   

 

I'm using the latest 2010R1 branch. Were this issues related to libcurl or uClinux in general?

TranslateQuoteReplyEditDelete

 

 

2011-01-18 14:11:49     Re: libcurl memory problem

Mike Frysinger (UNITED STATES)

Message: 97522   

 

there were bugs in the kernel where it would generate those errors.  but if you're using 2010R1, that should be resolved which means it is more likely a bug in libcurl.

Attachments

    Outcomes