<p>Patch looks good here. Here's a log on Raspberry Pi 2</p>
<h2>Without <a href="https://github.com/openstreetmap/osm2pgsql/pull/808" class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="286471174" data-permission-text="Issue title is private" data-url="https://github.com/openstreetmap/osm2pgsql/issues/808">#808</a></h2>
<pre><code> gdb build/osm2pgsql 
GNU gdb (Raspbian 7.7.1+dfsg-5+rpi1) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "arm-linux-gnueabihf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from build/osm2pgsql...done.
(gdb) handle SIGILL nostop
Signal        Stop      Print   Pass to program Description
SIGILL        No        Yes     Yes             Illegal instruction
(gdb) handle SIGINT nostop
SIGINT is used by the debugger.
Are you sure you want to change it? (y or n) y
Signal        Stop      Print   Pass to program Description
SIGINT        No        Yes     No              Interrupt
(gdb) r -d gis --style default.style --number-processes 1 `pwd`/tests/liechtenstein-2013-08-03.osm.pbf
Starting program: /home/pi/osm2pgsql/build/osm2pgsql -d gis --style default.style --number-processes 1 `pwd`/tests/liechtenstein-2013-08-03.osm.pbf
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
Cannot access memory at address 0x0

Program received signal SIGILL, Illegal instruction.
osm2pgsql version 0.95.0-dev (64 bit id space)


!! You are running this on 32bit system, so at most
!! 3GB of RAM can be used. If you encounter unexpected
!! exceptions during import, you should try running in slim
!! mode using parameter -s.
Using built-in tag processing pipeline
Using projection SRS 3857 (Spherical Mercator)
Setting up table: planet_osm_point
Setting up table: planet_osm_line
Setting up table: planet_osm_polygon
Setting up table: planet_osm_roads
Allocating memory for sparse node cache
Node-cache: cache=800MB, maxblocks=12800*65536, allocation method=1

Reading in file: /home/pi/osm2pgsql/tests/liechtenstein-2013-08-03.osm.pbf
Using PBF parser.
[New Thread 0x42464430 (LWP 1633)]
[New Thread 0x419fe430 (LWP 1634)]
[Thread 0x42464430 (LWP 1633) exited]
[New Thread 0x411fe430 (LWP 1635)]
[New Thread 0x409fe430 (LWP 1636)]
[Thread 0x409fe430 (LWP 1636) exited]
Processing: Node(65k 65.7k/s) Way(3k 3.00k/s) Relation(0 0.00/s)
Program received signal SIGBUS, Bus error.
read_point (this=0x7effeed4, this@entry=0x39175d) at /home/pi/osm2pgsql/wkb.hpp:260
260             auto y = read_data<double>();
(gdb) bt
#0  read_point (this=0x7effeed4, this@entry=0x39175d) at /home/pi/osm2pgsql/wkb.hpp:260
#1  ewkb::parser_t::get_ring_area (this=this@entry=0x7effeed4) at /home/pi/osm2pgsql/wkb.hpp:338
#2  0x000d831c in get_polygon_area<osmium::geom::IdentityProjection> (proj=0x0, this=0x7effeed4) at /home/pi/osm2pgsql/wkb.hpp:297
#3  ewkb::parser_t::get_area<osmium::geom::IdentityProjection> (this=0x7effeed4, proj=0x0) at /home/pi/osm2pgsql/wkb.hpp:275
#4  0x000d6088 in output_pgsql_t::pgsql_process_relation (this=0x1411f8, rel=..., pending=<optimized out>) at /home/pi/osm2pgsql/output-pgsql.cpp:382
#5  0x0007ea60 in osmdata_t::relation_add (this=<optimized out>, rel=...) at /home/pi/osm2pgsql/osmdata.cpp:65
#6  0x00097f2c in parse_osmium_t::relation (this=this@entry=0x7efff300, rel=...) at /home/pi/osm2pgsql/parse-osmium.cpp:185
#7  0x00098770 in apply_item_impl<parse_osmium_t&, osmium::memory::Item> (handler=..., item=...) at /home/pi/osm2pgsql/contrib/libosmium/osmium/visitor.hpp:68
#8  apply_item<osmium::memory::Item, parse_osmium_t&> (item=...) at /home/pi/osm2pgsql/contrib/libosmium/osmium/visitor.hpp:206
#9  apply<osmium::io::InputIterator<osmium::io::Reader>, parse_osmium_t&> (end=..., it=...) at /home/pi/osm2pgsql/contrib/libosmium/osmium/visitor.hpp:220
#10 apply<osmium::io::Reader, parse_osmium_t&> (c=...) at /home/pi/osm2pgsql/contrib/libosmium/osmium/visitor.hpp:227
#11 parse_osmium_t::stream_file (this=0x7efff300, this@entry=0x7efff2f8, filename="", fmt="auto") at /home/pi/osm2pgsql/parse-osmium.cpp:128
#12 0x000714b4 in main (argc=<optimized out>, argv=<optimized out>) at /home/pi/osm2pgsql/osm2pgsql.cpp:86
(gdb) disass
Dump of assembler code for function ewkb::parser_t::get_ring_area(osmium::geom::IdentityProjection*):
   0x000d7e88 <+0>:       ldm     r0, {r2, r12}
   0x000d7e8c <+4>:       push    {r4, r5, lr}
   0x000d7e90 <+8>:       add     lr, r12, #4
   0x000d7e94 <+12>:      str     lr, [r0, #4]
   0x000d7e98 <+16>:      add     r1, r12, #12
   0x000d7e9c <+20>:      ldr     r3, [r2, r12]
   0x000d7ea0 <+24>:      add     lr, r2, lr
   0x000d7ea4 <+28>:      add     r5, r2, r1
   0x000d7ea8 <+32>:      add     r4, r12, #20
   0x000d7eac <+36>:      cmp     r3, #1
   0x000d7eb0 <+40>:      vldr    d3, [lr]
=> 0x000d7eb4 <+44>:   vldr    d4, [r5]
   0x000d7eb8 <+48>:      str     r4, [r0, #4]
   0x000d7ebc <+52>:      bls     0xd7f20 <ewkb::parser_t::get_ring_area(osmium::geom::IdentityProjection*)+152>
   0x000d7ec0 <+56>:      lsl     lr, r3, #4
   0x000d7ec4 <+60>:      vldr    d0, [pc, #92]   ; 0xd7f28 <ewkb::parser_t::get_ring_area(osmium::geom::IdentityProjection*)+160>
   0x000d7ec8 <+64>:      add     r1, r1, lr
   0x000d7ecc <+68>:      add     r3, r12, #28
   0x000d7ed0 <+72>:      add     r1, r2, r1
   0x000d7ed4 <+76>:      add     r3, r2, r3
   0x000d7ed8 <+80>:      vldr    d6, [r3, #-8]
   0x000d7edc <+84>:      mov     r2, r3
   0x000d7ee0 <+88>:      add     r3, r3, #16
   0x000d7ee4 <+92>:      vldr    d5, [r2]
   0x000d7ee8 <+96>:      vmul.f64        d7, d4, d6
   0x000d7eec <+100>:     cmp     r3, r1
   0x000d7ef0 <+104>:     vmov.f64        d4, d5
   0x000d7ef4 <+108>:     vnmls.f64       d7, d3, d5
   0x000d7ef8 <+112>:     vmov.f64        d3, d6
---Type <return> to continue, or q <return> to quit---
   0x000d7efc <+116>:     vadd.f64        d0, d0, d7
   0x000d7f00 <+120>:     bne     0xd7ed8 <ewkb::parser_t::get_ring_area(osmium::geom::IdentityProjection*)+80>
   0x000d7f04 <+124>:     vldr    d7, [pc, #36]   ; 0xd7f30 <ewkb::parser_t::get_ring_area(osmium::geom::IdentityProjection*)+168>
   0x000d7f08 <+128>:     vabs.f64        d0, d0
   0x000d7f0c <+132>:     add     r12, r12, lr
   0x000d7f10 <+136>:     add     r12, r12, #4
   0x000d7f14 <+140>:     str     r12, [r0, #4]
   0x000d7f18 <+144>:     vmul.f64        d0, d0, d7
   0x000d7f1c <+148>:     pop     {r4, r5, pc}
   0x000d7f20 <+152>:     vldr    d0, [pc]        ; 0xd7f28 <ewkb::parser_t::get_ring_area(osmium::geom::IdentityProjection*)+160>
   0x000d7f24 <+156>:     pop     {r4, r5, pc}
   0x000d7f28 <+160>:     andeq   r0, r0, r0
   0x000d7f2c <+164>:     andeq   r0, r0, r0
   0x000d7f30 <+168>:     andeq   r0, r0, r0
   0x000d7f34 <+172>:     svccc   0x00e00000
End of assembler dump.
(gdb) 
</code></pre>
<h2>With <a href="https://github.com/openstreetmap/osm2pgsql/pull/808" class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="286471174" data-permission-text="Issue title is private" data-url="https://github.com/openstreetmap/osm2pgsql/issues/808">#808</a></h2>
<pre><code>build/osm2pgsql -d gis --style default.style --number-processes 1 `pwd`/tests/liechtenstein-2013-08-03.osm.pbf
osm2pgsql version 0.95.0-dev (64 bit id space)


!! You are running this on 32bit system, so at most
!! 3GB of RAM can be used. If you encounter unexpected
!! exceptions during import, you should try running in slim
!! mode using parameter -s.
Using built-in tag processing pipeline
Using projection SRS 3857 (Spherical Mercator)
Setting up table: planet_osm_point
Setting up table: planet_osm_line
Setting up table: planet_osm_polygon
Setting up table: planet_osm_roads
Allocating memory for sparse node cache
Node-cache: cache=800MB, maxblocks=12800*65536, allocation method=1

Reading in file: /home/pi/osm2pgsql/tests/liechtenstein-2013-08-03.osm.pbf
Using PBF parser.
Processing: Node(65k 65.7k/s) Way(4k 4.00k/s) Relation(0 0.00/s)  parse time: 1s
Node stats: total(65733), max(65733) in 0s
Way stats: total(7121), max(7121) in 1s
Relation stats: total(113), max(113) in 0s
Committing transaction for planet_osm_point
Committing transaction for planet_osm_line
Committing transaction for planet_osm_polygon
Committing transaction for planet_osm_roads
Using built-in tag processing pipeline

Going over pending ways...
        4162 ways are pending

Using 1 helper-processes
Finished processing 4162 ways in 1 s

4162 Pending ways took 1s at a rate of 4162.00/s
Committing transaction for planet_osm_point
Committing transaction for planet_osm_line
Committing transaction for planet_osm_polygon
Committing transaction for planet_osm_roads

Going over pending relations...
        0 relations are pending

Using 1 helper-processes
Finished processing 0 relations in 0 s

Committing transaction for planet_osm_point
WARNING:  there is no transaction in progress
Committing transaction for planet_osm_line
WARNING:  there is no transaction in progress
Committing transaction for planet_osm_polygon
WARNING:  there is no transaction in progress
Committing transaction for planet_osm_roads
WARNING:  there is no transaction in progress
Sorting data and creating indexes for planet_osm_point
Sorting data and creating indexes for planet_osm_line
Sorting data and creating indexes for planet_osm_roads
Sorting data and creating indexes for planet_osm_polygon
Copying planet_osm_point to cluster by geometry finished
Creating geometry index on planet_osm_point
Creating indexes on planet_osm_point finished
All indexes on planet_osm_point created in 2s
Completed planet_osm_point
Copying planet_osm_roads to cluster by geometry finished
Creating geometry index on planet_osm_roads
Copying planet_osm_polygon to cluster by geometry finished
Creating geometry index on planet_osm_polygon
Copying planet_osm_line to cluster by geometry finished
Creating geometry index on planet_osm_line
Creating indexes on planet_osm_roads finished
All indexes on planet_osm_roads created in 3s
Completed planet_osm_roads
Creating indexes on planet_osm_line finished
Creating indexes on planet_osm_polygon finished
All indexes on planet_osm_polygon created in 4s
Completed planet_osm_polygon
All indexes on planet_osm_line created in 4s
Completed planet_osm_line
node cache: stored: 65733(100.00%), storage efficiency: 50.00% (dense blocks: 0, sparse nodes: 65733), hit rate: 100.00%

Osm2pgsql took 7s overall

</code></pre>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/osm2pgsql/issues/806#issuecomment-355750741">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AD2-7rl6w6yMYqI14Jd-aHO9fVtRXGzVks5tH4S5gaJpZM4RLsVa">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AD2-7na2SmxwNOMJPjom8h1GKkgAGhEXks5tH4S5gaJpZM4RLsVa.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/openstreetmap/osm2pgsql/issues/806#issuecomment-355750741"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/openstreetmap/osm2pgsql","title":"openstreetmap/osm2pgsql","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/openstreetmap/osm2pgsql"}},"updates":{"snippets":[{"icon":"PERSON","message":"@mmd-osm in #806: Patch looks good here. Here's a log on Raspberry Pi 2 \r\n\r\n## Without #808\r\n\r\n```\r\n gdb build/osm2pgsql \r\nGNU gdb (Raspbian 7.7.1+dfsg-5+rpi1) 7.7.1\r\nCopyright (C) 2014 Free Software Foundation, Inc.\r\nLicense GPLv3+: GNU GPL version 3 or later \u003chttp://gnu.org/licenses/gpl.html\u003e\r\nThis is free software: you are free to change and redistribute it.\r\nThere is NO WARRANTY, to the extent permitted by law.  Type \"show copying\"\r\nand \"show warranty\" for details.\r\nThis GDB was configured as \"arm-linux-gnueabihf\".\r\nType \"show configuration\" for configuration details.\r\nFor bug reporting instructions, please see:\r\n\u003chttp://www.gnu.org/software/gdb/bugs/\u003e.\r\nFind the GDB manual and other documentation resources online at:\r\n\u003chttp://www.gnu.org/software/gdb/documentation/\u003e.\r\nFor help, type \"help\".\r\nType \"apropos word\" to search for commands related to \"word\"...\r\nReading symbols from build/osm2pgsql...done.\r\n(gdb) handle SIGILL nostop\r\nSignal        Stop\tPrint\tPass to program\tDescription\r\nSIGILL        No\tYes\tYes\t\tIllegal instruction\r\n(gdb) handle SIGINT nostop\r\nSIGINT is used by the debugger.\r\nAre you sure you want to change it? (y or n) y\r\nSignal        Stop\tPrint\tPass to program\tDescription\r\nSIGINT        No\tYes\tNo\t\tInterrupt\r\n(gdb) r -d gis --style default.style --number-processes 1 `pwd`/tests/liechtenstein-2013-08-03.osm.pbf\r\nStarting program: /home/pi/osm2pgsql/build/osm2pgsql -d gis --style default.style --number-processes 1 `pwd`/tests/liechtenstein-2013-08-03.osm.pbf\r\n[Thread debugging using libthread_db enabled]\r\nUsing host libthread_db library \"/lib/arm-linux-gnueabihf/libthread_db.so.1\".\r\nCannot access memory at address 0x0\r\n\r\nProgram received signal SIGILL, Illegal instruction.\r\nosm2pgsql version 0.95.0-dev (64 bit id space)\r\n\r\n\r\n!! You are running this on 32bit system, so at most\r\n!! 3GB of RAM can be used. If you encounter unexpected\r\n!! exceptions during import, you should try running in slim\r\n!! mode using parameter -s.\r\nUsing built-in tag processing pipeline\r\nUsing projection SRS 3857 (Spherical Mercator)\r\nSetting up table: planet_osm_point\r\nSetting up table: planet_osm_line\r\nSetting up table: planet_osm_polygon\r\nSetting up table: planet_osm_roads\r\nAllocating memory for sparse node cache\r\nNode-cache: cache=800MB, maxblocks=12800*65536, allocation method=1\r\n\r\nReading in file: /home/pi/osm2pgsql/tests/liechtenstein-2013-08-03.osm.pbf\r\nUsing PBF parser.\r\n[New Thread 0x42464430 (LWP 1633)]\r\n[New Thread 0x419fe430 (LWP 1634)]\r\n[Thread 0x42464430 (LWP 1633) exited]\r\n[New Thread 0x411fe430 (LWP 1635)]\r\n[New Thread 0x409fe430 (LWP 1636)]\r\n[Thread 0x409fe430 (LWP 1636) exited]\r\nProcessing: Node(65k 65.7k/s) Way(3k 3.00k/s) Relation(0 0.00/s)\r\nProgram received signal SIGBUS, Bus error.\r\nread_point (this=0x7effeed4, this@entry=0x39175d) at /home/pi/osm2pgsql/wkb.hpp:260\r\n260\t        auto y = read_data\u003cdouble\u003e();\r\n(gdb) bt\r\n#0  read_point (this=0x7effeed4, this@entry=0x39175d) at /home/pi/osm2pgsql/wkb.hpp:260\r\n#1  ewkb::parser_t::get_ring_area (this=this@entry=0x7effeed4) at /home/pi/osm2pgsql/wkb.hpp:338\r\n#2  0x000d831c in get_polygon_area\u003cosmium::geom::IdentityProjection\u003e (proj=0x0, this=0x7effeed4) at /home/pi/osm2pgsql/wkb.hpp:297\r\n#3  ewkb::parser_t::get_area\u003cosmium::geom::IdentityProjection\u003e (this=0x7effeed4, proj=0x0) at /home/pi/osm2pgsql/wkb.hpp:275\r\n#4  0x000d6088 in output_pgsql_t::pgsql_process_relation (this=0x1411f8, rel=..., pending=\u003coptimized out\u003e) at /home/pi/osm2pgsql/output-pgsql.cpp:382\r\n#5  0x0007ea60 in osmdata_t::relation_add (this=\u003coptimized out\u003e, rel=...) at /home/pi/osm2pgsql/osmdata.cpp:65\r\n#6  0x00097f2c in parse_osmium_t::relation (this=this@entry=0x7efff300, rel=...) at /home/pi/osm2pgsql/parse-osmium.cpp:185\r\n#7  0x00098770 in apply_item_impl\u003cparse_osmium_t\u0026, osmium::memory::Item\u003e (handler=..., item=...) at /home/pi/osm2pgsql/contrib/libosmium/osmium/visitor.hpp:68\r\n#8  apply_item\u003cosmium::memory::Item, parse_osmium_t\u0026\u003e (item=...) at /home/pi/osm2pgsql/contrib/libosmium/osmium/visitor.hpp:206\r\n#9  apply\u003cosmium::io::InputIterator\u003cosmium::io::Reader\u003e, parse_osmium_t\u0026\u003e (end=..., it=...) at /home/pi/osm2pgsql/contrib/libosmium/osmium/visitor.hpp:220\r\n#10 apply\u003cosmium::io::Reader, parse_osmium_t\u0026\u003e (c=...) at /home/pi/osm2pgsql/contrib/libosmium/osmium/visitor.hpp:227\r\n#11 parse_osmium_t::stream_file (this=0x7efff300, this@entry=0x7efff2f8, filename=\"\", fmt=\"auto\") at /home/pi/osm2pgsql/parse-osmium.cpp:128\r\n#12 0x000714b4 in main (argc=\u003coptimized out\u003e, argv=\u003coptimized out\u003e) at /home/pi/osm2pgsql/osm2pgsql.cpp:86\r\n(gdb) disass\r\nDump of assembler code for function ewkb::parser_t::get_ring_area(osmium::geom::IdentityProjection*):\r\n   0x000d7e88 \u003c+0\u003e:\tldm\tr0, {r2, r12}\r\n   0x000d7e8c \u003c+4\u003e:\tpush\t{r4, r5, lr}\r\n   0x000d7e90 \u003c+8\u003e:\tadd\tlr, r12, #4\r\n   0x000d7e94 \u003c+12\u003e:\tstr\tlr, [r0, #4]\r\n   0x000d7e98 \u003c+16\u003e:\tadd\tr1, r12, #12\r\n   0x000d7e9c \u003c+20\u003e:\tldr\tr3, [r2, r12]\r\n   0x000d7ea0 \u003c+24\u003e:\tadd\tlr, r2, lr\r\n   0x000d7ea4 \u003c+28\u003e:\tadd\tr5, r2, r1\r\n   0x000d7ea8 \u003c+32\u003e:\tadd\tr4, r12, #20\r\n   0x000d7eac \u003c+36\u003e:\tcmp\tr3, #1\r\n   0x000d7eb0 \u003c+40\u003e:\tvldr\td3, [lr]\r\n=\u003e 0x000d7eb4 \u003c+44\u003e:\tvldr\td4, [r5]\r\n   0x000d7eb8 \u003c+48\u003e:\tstr\tr4, [r0, #4]\r\n   0x000d7ebc \u003c+52\u003e:\tbls\t0xd7f20 \u003cewkb::parser_t::get_ring_area(osmium::geom::IdentityProjection*)+152\u003e\r\n   0x000d7ec0 \u003c+56\u003e:\tlsl\tlr, r3, #4\r\n   0x000d7ec4 \u003c+60\u003e:\tvldr\td0, [pc, #92]\t; 0xd7f28 \u003cewkb::parser_t::get_ring_area(osmium::geom::IdentityProjection*)+160\u003e\r\n   0x000d7ec8 \u003c+64\u003e:\tadd\tr1, r1, lr\r\n   0x000d7ecc \u003c+68\u003e:\tadd\tr3, r12, #28\r\n   0x000d7ed0 \u003c+72\u003e:\tadd\tr1, r2, r1\r\n   0x000d7ed4 \u003c+76\u003e:\tadd\tr3, r2, r3\r\n   0x000d7ed8 \u003c+80\u003e:\tvldr\td6, [r3, #-8]\r\n   0x000d7edc \u003c+84\u003e:\tmov\tr2, r3\r\n   0x000d7ee0 \u003c+88\u003e:\tadd\tr3, r3, #16\r\n   0x000d7ee4 \u003c+92\u003e:\tvldr\td5, [r2]\r\n   0x000d7ee8 \u003c+96\u003e:\tvmul.f64\td7, d4, d6\r\n   0x000d7eec \u003c+100\u003e:\tcmp\tr3, r1\r\n   0x000d7ef0 \u003c+104\u003e:\tvmov.f64\td4, d5\r\n   0x000d7ef4 \u003c+108\u003e:\tvnmls.f64\td7, d3, d5\r\n   0x000d7ef8 \u003c+112\u003e:\tvmov.f64\td3, d6\r\n---Type \u003creturn\u003e to continue, or q \u003creturn\u003e to quit---\r\n   0x000d7efc \u003c+116\u003e:\tvadd.f64\td0, d0, d7\r\n   0x000d7f00 \u003c+120\u003e:\tbne\t0xd7ed8 \u003cewkb::parser_t::get_ring_area(osmium::geom::IdentityProjection*)+80\u003e\r\n   0x000d7f04 \u003c+124\u003e:\tvldr\td7, [pc, #36]\t; 0xd7f30 \u003cewkb::parser_t::get_ring_area(osmium::geom::IdentityProjection*)+168\u003e\r\n   0x000d7f08 \u003c+128\u003e:\tvabs.f64\td0, d0\r\n   0x000d7f0c \u003c+132\u003e:\tadd\tr12, r12, lr\r\n   0x000d7f10 \u003c+136\u003e:\tadd\tr12, r12, #4\r\n   0x000d7f14 \u003c+140\u003e:\tstr\tr12, [r0, #4]\r\n   0x000d7f18 \u003c+144\u003e:\tvmul.f64\td0, d0, d7\r\n   0x000d7f1c \u003c+148\u003e:\tpop\t{r4, r5, pc}\r\n   0x000d7f20 \u003c+152\u003e:\tvldr\td0, [pc]\t; 0xd7f28 \u003cewkb::parser_t::get_ring_area(osmium::geom::IdentityProjection*)+160\u003e\r\n   0x000d7f24 \u003c+156\u003e:\tpop\t{r4, r5, pc}\r\n   0x000d7f28 \u003c+160\u003e:\tandeq\tr0, r0, r0\r\n   0x000d7f2c \u003c+164\u003e:\tandeq\tr0, r0, r0\r\n   0x000d7f30 \u003c+168\u003e:\tandeq\tr0, r0, r0\r\n   0x000d7f34 \u003c+172\u003e:\tsvccc\t0x00e00000\r\nEnd of assembler dump.\r\n(gdb) \r\n```\r\n\r\n## With #808\r\n\r\n```\r\nbuild/osm2pgsql -d gis --style default.style --number-processes 1 `pwd`/tests/liechtenstein-2013-08-03.osm.pbf\r\nosm2pgsql version 0.95.0-dev (64 bit id space)\r\n\r\n\r\n!! You are running this on 32bit system, so at most\r\n!! 3GB of RAM can be used. If you encounter unexpected\r\n!! exceptions during import, you should try running in slim\r\n!! mode using parameter -s.\r\nUsing built-in tag processing pipeline\r\nUsing projection SRS 3857 (Spherical Mercator)\r\nSetting up table: planet_osm_point\r\nSetting up table: planet_osm_line\r\nSetting up table: planet_osm_polygon\r\nSetting up table: planet_osm_roads\r\nAllocating memory for sparse node cache\r\nNode-cache: cache=800MB, maxblocks=12800*65536, allocation method=1\r\n\r\nReading in file: /home/pi/osm2pgsql/tests/liechtenstein-2013-08-03.osm.pbf\r\nUsing PBF parser.\r\nProcessing: Node(65k 65.7k/s) Way(4k 4.00k/s) Relation(0 0.00/s)  parse time: 1s\r\nNode stats: total(65733), max(65733) in 0s\r\nWay stats: total(7121), max(7121) in 1s\r\nRelation stats: total(113), max(113) in 0s\r\nCommitting transaction for planet_osm_point\r\nCommitting transaction for planet_osm_line\r\nCommitting transaction for planet_osm_polygon\r\nCommitting transaction for planet_osm_roads\r\nUsing built-in tag processing pipeline\r\n\r\nGoing over pending ways...\r\n\t4162 ways are pending\r\n\r\nUsing 1 helper-processes\r\nFinished processing 4162 ways in 1 s\r\n\r\n4162 Pending ways took 1s at a rate of 4162.00/s\r\nCommitting transaction for planet_osm_point\r\nCommitting transaction for planet_osm_line\r\nCommitting transaction for planet_osm_polygon\r\nCommitting transaction for planet_osm_roads\r\n\r\nGoing over pending relations...\r\n\t0 relations are pending\r\n\r\nUsing 1 helper-processes\r\nFinished processing 0 relations in 0 s\r\n\r\nCommitting transaction for planet_osm_point\r\nWARNING:  there is no transaction in progress\r\nCommitting transaction for planet_osm_line\r\nWARNING:  there is no transaction in progress\r\nCommitting transaction for planet_osm_polygon\r\nWARNING:  there is no transaction in progress\r\nCommitting transaction for planet_osm_roads\r\nWARNING:  there is no transaction in progress\r\nSorting data and creating indexes for planet_osm_point\r\nSorting data and creating indexes for planet_osm_line\r\nSorting data and creating indexes for planet_osm_roads\r\nSorting data and creating indexes for planet_osm_polygon\r\nCopying planet_osm_point to cluster by geometry finished\r\nCreating geometry index on planet_osm_point\r\nCreating indexes on planet_osm_point finished\r\nAll indexes on planet_osm_point created in 2s\r\nCompleted planet_osm_point\r\nCopying planet_osm_roads to cluster by geometry finished\r\nCreating geometry index on planet_osm_roads\r\nCopying planet_osm_polygon to cluster by geometry finished\r\nCreating geometry index on planet_osm_polygon\r\nCopying planet_osm_line to cluster by geometry finished\r\nCreating geometry index on planet_osm_line\r\nCreating indexes on planet_osm_roads finished\r\nAll indexes on planet_osm_roads created in 3s\r\nCompleted planet_osm_roads\r\nCreating indexes on planet_osm_line finished\r\nCreating indexes on planet_osm_polygon finished\r\nAll indexes on planet_osm_polygon created in 4s\r\nCompleted planet_osm_polygon\r\nAll indexes on planet_osm_line created in 4s\r\nCompleted planet_osm_line\r\nnode cache: stored: 65733(100.00%), storage efficiency: 50.00% (dense blocks: 0, sparse nodes: 65733), hit rate: 100.00%\r\n\r\nOsm2pgsql took 7s overall\r\n\r\n```\r\n"}],"action":{"name":"View Issue","url":"https://github.com/openstreetmap/osm2pgsql/issues/806#issuecomment-355750741"}}}</script>