[test-results] [Bamboo] Asterisk - 1.4 > Ubuntu Lucid (10.04) > #228 has FAILED (1 tests failed). Change made by seanbright.
Bamboo
bamboo at asterisk.org
Wed Jun 15 13:29:57 CDT 2011
-----------------------------------------------------------------------
Asterisk - 1.4 > Ubuntu Lucid (10.04) > #228 failed.
-----------------------------------------------------------------------
Code has been updated by seanbright.
1/2 jobs failed, with 1 failing test.
http://bamboo.asterisk.org/browse/AST14-LUCID-228/
--------------
Failing Jobs
--------------
- amd64 (Default Stage): 1 of 43 tests failed.
--------------
Code Changes
--------------
seanbright (323559):
>Resolve a segfault/bus error when we try to map memory that falls on a page
>boundary.
>
>The fix for ASTERISK-15359 was incorrect in that it added 1 to the length of the
>mmap'd region. The problem with this is that reading/writing to that extra byte
>outside of the bounds of the underlying fd causes a bus error.
>
>The real issue is that we are working with both a FILE * and the raw fd
>underneath it and not synchronizing between them. The code that was removed in
>ASTERISK-15359 was correct, but we weren't flushing the FILE * before mapping
>the fd.
>
>Looking at the manager code in 1.4 reveals that the FILE * in 'struct
>mansession' is never used except to create a temporary file that we immediately
>fdopen. This means we just need to write a 0 byte to the fd and everything will
>just work. The other branches require a call to fflush() which, while not a
>guaranteed fix, should reduce the likelihood of a crash.
>
>This all makes sense in my head.
>
>(closes issue ASTERISK-16460)
>Reported by: Ravelomanantsoa Hoby (hoby)
>Patches:
> issue17747_1.4_svn_markII.patch uploaded by Sean Bright (license #5060)
>
--------------
Tests
--------------
New Test Failures (1)
- AsteriskTestSuite: S/cdr/console dial sip busy
--
This message is automatically generated by Atlassian Bamboo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/test-results/attachments/20110615/ee66119e/attachment.htm>
More information about the Test-results
mailing list