curl-library
Re: Help needed: can't deploy libcurl dependent program on non-developer osX machines
Date: Tue, 20 Sep 2011 00:46:33 +0300
On Tue, Sep 20, 2011 at 12:30 AM, shachar carmi <shachar.carmi_at_gmail.com>wrote:
> >> tested and crashed on two non-dev machines.
>>
>> Attach the crash log(s)?
>
>
> the app is actually an adobe after effects plug-in, so here is the crash
> report AE gives:
>
> Thread 28 Crashed:
> 0 libSystem.B.dylib 0x91d7a35d usleep$NOCANCEL$UNIX2003 + 0
> 1 libSystem.B.dylib 0x91d9ba50 abort + 105
> 2 U.dylib 0x02581141 U_LoadFrameworkBundle + 593
> 3 libSystem.B.dylib 0x91cf79bb _sigtramp + 43
> 4 ??? 0x0000000b 0 + 11
> 5 ...terEffects.vurBrowserEffect 0x326a6f59
> BatchDownloader::~BatchDownloader() + 23
> 6 ...terEffects.vurBrowserEffect 0x326a7026 BatchDownloader::Fetch() +
> 74
> 7 ...terEffects.vurBrowserEffect 0x326aa98a boost::_mfi::mf0<void,
> BatchDownloader>::operator()(BatchDownloader*) const + 74
> 8 ...terEffects.vurBrowserEffect 0x326aa9f8 void
> boost::_bi::list1<boost::_bi::value<BatchDownloader*>
> >::operator()<boost::_mfi::mf0<void, BatchDownloader>,
> boost::_bi::list0>(boost::_bi::type<void>, boost::_mfi::mf0<void,
> BatchDownloader>&, boost::_bi::list0&, int) + 64
> 9 ...terEffects.vurBrowserEffect 0x326aaa41 boost::_bi::bind_t<void,
> boost::_mfi::mf0<void, BatchDownloader>,
> boost::_bi::list1<boost::_bi::value<BatchDownloader*> > >::operator()() + 67
> 10 ...terEffects.vurBrowserEffect 0x326aaa60
> boost::detail::thread_data<boost::_bi::bind_t<void, boost::_mfi::mf0<void,
> BatchDownloader>, boost::_bi::list1<boost::_bi::value<BatchDownloader*> > >
> >::run() + 28
> 11 ...terEffects.vurBrowserEffect 0x326af18c thread_proxy + 100
> 12 libSystem.B.dylib 0x91cbefbd _pthread_start + 345
> 13 libSystem.B.dylib 0x91cbee42 thread_start + 34
>
> Thread 28 crashed with X86 Thread State (32-bit):
> eax: 0x00000000 ebx: 0x91d9b9f3 ecx: 0xb0db81fc edx: 0x91cf2732
> edi: 0xb0db8280 esi: 0xb0db828c ebp: 0xb0db8268 esp: 0xb0db823c
> ss: 0x0000001f efl: 0x00010286 eip: 0x91d7a35d cs: 0x00000017
> ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
> cr2: 0x007b3420
>
>
> in line 9 there's a call for boost::thread.
> in line 6 that boost thread calls for the fetch() function from
> the BatchDownloader class which contains the curl calls.
> what i see is that in line 5 the deconstructor for that class is called...
> i'm going to put in write-to-file points in the code, to make sure what's
> going on there on the non-dev machine...
>
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
>
Humble suggestion:
run `curl --libcurl test.c 'http://www.google.com'`
compile the generated file exactly the way you complied your code, run it on
the non-dev machine and see what the output will be
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-09-19