On 1/28/11 6:14 PM, Samuel Ortiz wrote:
> On Fri, Jan 28, 2011 at 01:39:09PM -0800, Grant Erickson wrote:
>> On Jan 28, 2011, at 12:10 PM, Grant Erickson wrote:
>>> On Jan 28, 2011, at 10:09 AM, Grant Erickson wrote:
>>>> On Jan 28, 2011, at 9:44 AM, Samuel Ortiz wrote:
>>>>> On Fri, Jan 28, 2011 at 09:06:12AM -0800, Grant Erickson wrote:
>>>>>> FYI. I need to check against GIT top-of-tree and dig into this further;
>>>>>> however, with:
>>>>>> 
>>>>>> * Wired Ethernet connected, connman-0.67 crashes on start-up
>>>>>> * Wireless 802.11 WEXT, connman-0.67 hangs on start-up
>>>>>> 
>>>>>> Backtrace with wired:
>>>>> 
>>>>> Please give us a gdb backtrace or run test/backtrace src/connmand <log>
>>>>> where
>>>>> log is the below trace.
>> 
>> The following patch fixes the core dump / fault issue, of which there
>> were/are two core problems:
>> 
>> 1) Trying to memory map the statistics file on armv7l-linux-unknown-gnu with
>> MAP_SHARED results in a result value from mmap of MAP_FAILED. Using
>> MAP_PRIVATE works
>>            correctly. This primary failure causes the secondary failure that
>> leads to the segment fault.
>> 
> Why does this toolchain fail to build a SHARED mapping ?

Samuel:

Regrets about the last post, a premature send on the phone.

The package builds without issue with the toolchain, Sourcery G++
2010q1-202. Cited above, armv7l-linux-unknown-gnu is the platform, running
Linux 2.6.32.

As far as I can see, the stats mapping is not published or shared outside of
connman. If so, there's no reason to map it SHARED versus PRIVATE.

Best,

Grant


_______________________________________________
connman mailing list
connman@connman.net
http://lists.connman.net/listinfo/connman

Reply via email to