Bug#756983: Error in `osm2pgsql': free(): invalid pointer: 0x00007f4613a62678 ***

2014-08-05 Thread Sebastiaan Couwenberg
Hi Robert, Thanks again for debugging this issue. I can confirm that the osm2pgsql segfault is fixed with a rebuilt libprotobuf-c1 that includes your patch. Shall I reassign this issue to libprotobuf-c so you can close it with the upload of the new upstream release when it's out? Kind Regards,

Bug#756983: Error in `osm2pgsql': free(): invalid pointer: 0x00007f4613a62678 ***

2014-08-05 Thread Robert Edmonds
Sebastiaan Couwenberg wrote: Hi Robert, Thanks again for debugging this issue. I can confirm that the osm2pgsql segfault is fixed with a rebuilt libprotobuf-c1 that includes your patch. Great, thanks for confirming. Shall I reassign this issue to libprotobuf-c so you can close it with

Bug#756983: Error in `osm2pgsql': free(): invalid pointer: 0x00007f4613a62678 ***

2014-08-04 Thread Christopher Baines
Package: osm2pgsql Version: 0.84.0-2 Severity: important When using osm2pgsql 0.84.0-2, I get the following error when importing data from a pbf file. If I downgrade to 0.84.0-1, it works as expected. Processing: Node(20k 20.0k/s) Way(0k 0.00k/s) Relation(0 0.00/s)*** Error in `osm2pgsql':

Bug#756983: Error in `osm2pgsql': free(): invalid pointer: 0x00007f4613a62678 ***

2014-08-04 Thread Sebastiaan Couwenberg
Hi Christopher, This is likely related to the changes for the protobuf-c transition (#73). Can you verify that osm2pgsql 0.84.0-2 doesn't have this problem importing data from a OSM XML file instead of PBF? It would also have been helpful if you had used reportbug(1) to report this issue so

Bug#756983: Error in `osm2pgsql': free(): invalid pointer: 0x00007f4613a62678 ***

2014-08-04 Thread Robert Edmonds
Bas Couwenberg wrote: I can confirm the segfault while importing a PBF file with osm2pgsql. osm2pgsql 0.84.0-1 depends on libprotobuf-c0 (= 0.10), whereas 0.84.0-2 depends on libprotobuf-c1 (= 1.0.0-1~). osm2pgsql upstream uses protobuf_c_default_allocator instead of NULL as suggested by

Bug#756983: Error in `osm2pgsql': free(): invalid pointer: 0x00007f4613a62678 ***

2014-08-04 Thread Sebastiaan Couwenberg
On 08/04/2014 05:59 PM, Robert Edmonds wrote: I'd be happy to take a look and try to debug the issue to see if it's caused by the protobuf-c changes. Thanks, that's much appreciated. However, I'm entirely unfamiliar with osm2pgsql. Is there any chance you could walk me through setting up a

Bug#756983: Error in `osm2pgsql': free(): invalid pointer: 0x00007f4613a62678 ***

2014-08-04 Thread Robert Edmonds
Sebastiaan Couwenberg wrote: On 08/04/2014 05:59 PM, Robert Edmonds wrote: I'd be happy to take a look and try to debug the issue to see if it's caused by the protobuf-c changes. Thanks, that's much appreciated. However, I'm entirely unfamiliar with osm2pgsql. Is there any chance