First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 177800
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: C++ Team <cpp@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Roman Le Négrate <roman2k@free.fr>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
asio-0.3.7-r1.ebuild.tar.bz2 asio-0.3.7-r1.ebuild (incl. bugfix patch & no more lengthy example+tests compiling) application/octet-stream Roman Le Négrate 2007-05-09 14:33 0000 2.42 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 177800 depends on: Show dependency tree
Show dependency graph
Bug 177800 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-05-09 14:30 0000
The ASIO C++ library version 0.3.7 crashes on Linux after a double delete
(`delete' called twice on the same pointer to a heap-allocated memory space) as
reported in this mailing-list posting:
http://arcknowledge.com/lib.boost.asio.user/2006-12/msg00064.html

Christopher Kohlhoff, the ASIO developper, addressed this issue with the
following patch:
http://asio.cvs.sourceforge.net/asio/asio/include/asio/detail/reactor_op_queue.hpp?r1=1.22&r2=1.23

I made a new ASIO ebuild, attached to this bug-entry, stamped 0.3.7-r1 which:
- applies the above patch to prevent the crash from happening,
- prevents the examples and unit test suites from being compiled & installed

Reproducible: Always

Steps to Reproduce:
1. code a server program making transfers long enough for the program to crash
2. connect a bunch of clients to it
3. wait

Actual Results:  
*** glibc detected *** double free or corruption (fasttop): 0x081334d0 ***
Aborted


Expected Results:  
No crash.

A patch fixing this bug is included in the attached new ebuild.

------- Comment #1 From Roman Le Négrate 2007-05-09 14:33:07 0000 -------
Created an attachment (id=118658) [edit]
asio-0.3.7-r1.ebuild (incl. bugfix patch & no more lengthy example+tests
compiling)

See the first post of this entry.

------- Comment #2 From Tiziano Müller 2007-07-12 23:17:22 0000 -------
Fixed, thanks.

First Last Prev Next    No search results available      Search page      Enter new bug