Asio handle_read this=0x0 in http server3 example

29 Apr
2011
29 Apr
'11
8:46 a.m.
Hello, When compiling example http/server3 then I get a segmentation fault. GDB gives the following trace: #0 0x000000000040e2a2 in http::server3::request_parser::parse<char*> ( this=0x2078, req=..., begin=0x48 <Address 0x48 out of bounds>, end=0x273 <Address 0x273 out of bounds>) at request_parser.hpp:42 #1 0x000000000040743e in http::server3::connection::handle_read (this=0x0, e=..., bytes_transferred=555) at connection.cpp:48 As you see the 'this=0x0' in #1 is not correct I think. I think this has to do with the internals in Asio but I'm not sure. I'm using g++ 4.6 in combination with boost trunk. I'm not able to reproduce this with boost 1.46.1. Regards, Matthijs Möhlmann
5139
Age (days ago)
5139
Last active (days ago)
0 comments
1 participants
participants (1)
-
Matthijs Möhlmann