Opened 10 years ago
Closed 10 years ago
#7770 closed Bugs (worksforme)
serialization malloc error in g++ 4.7.2 (possbly 4.7.x)
Reported by: | Owned by: | Robert Ramey | |
---|---|---|---|
Milestone: | To Be Determined | Component: | serialization |
Version: | Boost 1.52.0 | Severity: | Problem |
Keywords: | Cc: |
Description
the demo.cpp from the serialization tutorial does not work in g++ 4.7.2. The error is: malloc: * error for object 0x1002967a0: pointer being freed was not allocated * set a breakpoint in malloc_error_break to debug
I'm assuming it does not work for 4.7.x
It does work for 4.6.x
Change History (3)
follow-up: 2 comment:1 by , 10 years ago
comment:2 by , 10 years ago
Replying to alexey kutumov <alexey.kutumov@…>:
Cannot reproduce on Debian wheezy with gcc-4.7.2. Tried boost 1.49.0, and 1.53 from trunk. Could you give your backtrace
As soon as I get back to my workplace I can check it, but something came to mind. I'm a basic programmer with limited experience for the moment. I think I made an ignorant mistake since the serialization libraries were compiled under 4.6.x so I am linking the wrong libraries. It will prob actually work fine using 4.7.2 if libraries were compiled under 4.7.2 which I will check
comment:3 by , 10 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Cannot reproduce on Debian wheezy with gcc-4.7.2. Tried boost 1.49.0, and 1.53 from trunk. Could you give your backtrace