Skip to content

Instantly share code, notes, and snippets.

@springmeyer
Created March 15, 2011 20:38
Show Gist options
  • Save springmeyer/871428 to your computer and use it in GitHub Desktop.
Save springmeyer/871428 to your computer and use it in GitHub Desktop.
ubuntu backtraces of hung threads
Program received signal SIGSEGV, Segmentation fault.
0x00000000005e30f2 in v8::internal::HeapObject::map_word (this=0xcf11) at /home/ubuntu/src/tilemill/src/node-0.2.6/deps/v8/src/objects-inl.h:1056
1056 return MapWord(reinterpret_cast<uintptr_t>(READ_FIELD(this, kMapOffset)));
(gdb) thread apply all bt
Thread 6 (Thread 0x7fffc439a700 (LWP 15259)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1 0x00000000005b4800 in etp_proc (thr_arg=0xd873c0) at ../deps/libeio/eio.c:1490
#2 0x00007ffff6a2a9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3 0x00007ffff678770d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4 0x0000000000000000 in ?? ()
Thread 5 (Thread 0x7fffc43ab700 (LWP 15258)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1 0x00000000005b4800 in etp_proc (thr_arg=0xdb8770) at ../deps/libeio/eio.c:1490
#2 0x00007ffff6a2a9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3 0x00007ffff678770d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4 0x0000000000000000 in ?? ()
Thread 4 (Thread 0x7fffc43bc700 (LWP 15257)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1 0x00000000005b4800 in etp_proc (thr_arg=0xd86d60) at ../deps/libeio/eio.c:1490
#2 0x00007ffff6a2a9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3 0x00007ffff678770d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4 0x0000000000000000 in ?? ()
Thread 2 (Thread 0x7fffc700c700 (LWP 15255)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1 0x00000000005b4800 in etp_proc (thr_arg=0xd0dfe0) at ../deps/libeio/eio.c:1490
#2 0x00007ffff6a2a9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3 0x00007ffff678770d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4 0x0000000000000000 in ?? ()
Thread 1 (Thread 0x7ffff7fe9720 (LWP 15252)):
#0 0x00000000005e30f2 in v8::internal::HeapObject::map_word (this=0xcf11) at /home/ubuntu/src/tilemill/src/node-0.2.6/deps/v8/src/objects-inl.h:1056
#1 0x0000000000674709 in ShortCircuitConsString (p=0x7fff8d242da8) at /home/ubuntu/src/tilemill/src/node-0.2.6/deps/v8/src/mark-compact.cc:228
#2 0x000000000067a05a in v8::internal::RootMarkingVisitor::MarkObjectByPointer (this=0x7fffffffa900, p=0x7fff8d242da8)
at /home/ubuntu/src/tilemill/src/node-0.2.6/deps/v8/src/mark-compact.cc:454
#3 0x0000000000679fdd in v8::internal::RootMarkingVisitor::VisitPointer (this=0x7fffffffa900, p=0x7fff8d242da8)
at /home/ubuntu/src/tilemill/src/node-0.2.6/deps/v8/src/mark-compact.cc:442
#4 0x000000000063af52 in v8::internal::GlobalHandles::IterateStrongRoots (v=0x7fffffffa900)
at /home/ubuntu/src/tilemill/src/node-0.2.6/deps/v8/src/global-handles.cc:417
#5 0x0000000000655f10 in v8::internal::Heap::IterateStrongRoots (v=0x7fffffffa900, mode=v8::internal::VISIT_ONLY_STRONG)
at /home/ubuntu/src/tilemill/src/node-0.2.6/deps/v8/src/heap.cc:3984
#6 0x0000000000674d61 in v8::internal::MarkCompactCollector::MarkRoots (visitor=0x7fffffffa900)
at /home/ubuntu/src/tilemill/src/node-0.2.6/deps/v8/src/mark-compact.cc:647
#7 0x000000000067546c in v8::internal::MarkCompactCollector::MarkLiveObjects ()
at /home/ubuntu/src/tilemill/src/node-0.2.6/deps/v8/src/mark-compact.cc:797
#8 0x0000000000674364 in v8::internal::MarkCompactCollector::CollectGarbage ()
at /home/ubuntu/src/tilemill/src/node-0.2.6/deps/v8/src/mark-compact.cc:77
#9 0x000000000064e124 in v8::internal::Heap::MarkCompact (tracer=0x7fffffffaa20) at /home/ubuntu/src/tilemill/src/node-0.2.6/deps/v8/src/heap.cc:733
#10 0x000000000064de4d in v8::internal::Heap::PerformGarbageCollection (space=v8::internal::OLD_POINTER_SPACE, collector=v8::internal::MARK_COMPACTOR,
tracer=0x7fffffffaa20) at /home/ubuntu/src/tilemill/src/node-0.2.6/deps/v8/src/heap.cc:647
#11 0x000000000064d7a7 in v8::internal::Heap::CollectGarbage (requested_size=0, space=v8::internal::OLD_POINTER_SPACE)
at /home/ubuntu/src/tilemill/src/node-0.2.6/deps/v8/src/heap.cc:417
#12 0x000000000064d6cf in v8::internal::Heap::CollectAllGarbage (force_compaction=false)
at /home/ubuntu/src/tilemill/src/node-0.2.6/deps/v8/src/heap.cc:385
#13 0x000000000065493e in v8::internal::Heap::IdleNotification () at /home/ubuntu/src/tilemill/src/node-0.2.6/deps/v8/src/heap.cc:3415
#14 0x0000000000759b0c in v8::internal::V8::IdleNotification () at /home/ubuntu/src/tilemill/src/node-0.2.6/deps/v8/src/v8.cc:200
#15 0x00000000005db3ce in v8::V8::IdleNotification () at /home/ubuntu/src/tilemill/src/node-0.2.6/deps/v8/src/api.cc:3207
#16 0x000000000056f8e3 in Idle (watcher=0xc817c0, revents=8192) at ../src/node.cc:138
#17 0x00000000005bd3e5 in ev_invoke_pending () at ../deps/libev/ev.c:1997
#18 0x00000000005bdf9e in ev_loop (flags=0) at ../deps/libev/ev.c:2359
#19 0x00000000005714a0 in Loop (args=...) at ../src/node.cc:1025
#20 0x00000000005ffacc in HandleApiCallHelper<false> (args=...) at /home/ubuntu/src/tilemill/src/node-0.2.6/deps/v8/src/builtins.cc:972
#21 0x00000000005fd6e7 in Builtin_Impl_HandleApiCall (args=...) at /home/ubuntu/src/tilemill/src/node-0.2.6/deps/v8/src/builtins.cc:989
#22 0x00000000005fd6c0 in Builtin_HandleApiCall (args=...) at /home/ubuntu/src/tilemill/src/node-0.2.6/deps/v8/src/builtins.cc:988
#23 0x00007fffd248a1aa in ?? ()
#24 0x00007fffd248a141 in ?? ()
#25 0x00007fffffffae20 in ?? ()
#26 0x00007fffffffae88 in ?? ()
#27 0x00007fffd24cc819 in ?? ()
#28 0x00007ffff7fb3419 in ?? ()
#29 0x00007fffd246e4b1 in ?? ()
#30 0x00007fffd246e4c9 in ?? ()
#31 0x00007fffd246e4e1 in ?? ()
#32 0x00007fffd246e521 in ?? ()
Program received signal SIGSEGV, Segmentation fault.
0x0000000000545209 in v8::internal::GlobalHandles::IterateStrongRoots(v8::internal::ObjectVisitor*) ()
(gdb) thread apply all bt
Thread 6 (Thread 0x7fffc43cf700 (LWP 15065)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1 0x00000000004e22cc in etp_proc (thr_arg=<value optimized out>) at ../deps/libeio/eio.c:1490
#2 0x00007ffff6a2a9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3 0x00007ffff678770d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4 0x0000000000000000 in ?? ()
Thread 5 (Thread 0x7fffc4460700 (LWP 15064)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1 0x00000000004e22cc in etp_proc (thr_arg=<value optimized out>) at ../deps/libeio/eio.c:1490
#2 0x00007ffff6a2a9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3 0x00007ffff678770d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4 0x0000000000000000 in ?? ()
Thread 4 (Thread 0x7fffc44f1700 (LWP 15063)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1 0x00000000004e22cc in etp_proc (thr_arg=<value optimized out>) at ../deps/libeio/eio.c:1490
#2 0x00007ffff6a2a9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3 0x00007ffff678770d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4 0x0000000000000000 in ?? ()
Thread 2 (Thread 0x7fffc6f78700 (LWP 15061)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1 0x00000000004e22cc in etp_proc (thr_arg=<value optimized out>) at ../deps/libeio/eio.c:1490
#2 0x00007ffff6a2a9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3 0x00007ffff678770d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4 0x0000000000000000 in ?? ()
Thread 1 (Thread 0x7ffff7fe9720 (LWP 15058)):
#0 0x0000000000545209 in v8::internal::GlobalHandles::IterateStrongRoots(v8::internal::ObjectVisitor*) ()
#1 0x0000000000553ce8 in v8::internal::Heap::IterateStrongRoots(v8::internal::ObjectVisitor*, v8::internal::VisitMode) ()
#2 0x000000000057bb37 in v8::internal::MarkCompactCollector::MarkLiveObjects() ()
#3 0x000000000057ccde in v8::internal::MarkCompactCollector::CollectGarbage() ()
#4 0x0000000000556c48 in v8::internal::Heap::MarkCompact(v8::internal::GCTracer*) ()
#5 0x000000000055baed in v8::internal::Heap::PerformGarbageCollection(v8::internal::AllocationSpace, v8::internal::GarbageCollector, v8::internal::GCTracer*) ()
#6 0x000000000055c228 in v8::internal::Heap::CollectGarbage(int, v8::internal::AllocationSpace) ()
#7 0x00007fffd248a23b in ?? ()
#8 0x00007fffd248a141 in ?? ()
#9 0x00007fffffffafa0 in ?? ()
#10 0x00007fffffffafe8 in ?? ()
#11 0x00007fffd2497e90 in ?? ()
renderChunk
Program received signal SIGSEGV, Segmentation fault.
0x0000000000545248 in v8::internal::GlobalHandles::IterateAllRoots(v8::internal::ObjectVisitor*) ()
(gdb) thread apply all bt
Thread 6 (Thread 0x7fffc43cf700 (LWP 11874)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1 0x00000000004e22cc in etp_proc (thr_arg=<value optimized out>) at ../deps/libeio/eio.c:1490
#2 0x00007ffff6a2a9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3 0x00007ffff678770d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4 0x0000000000000000 in ?? ()
Thread 5 (Thread 0x7fffc43e0700 (LWP 11873)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1 0x00000000004e22cc in etp_proc (thr_arg=<value optimized out>) at ../deps/libeio/eio.c:1490
#2 0x00007ffff6a2a9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3 0x00007ffff678770d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4 0x0000000000000000 in ?? ()
Thread 4 (Thread 0x7fffc44f1700 (LWP 11872)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1 0x00000000004e22cc in etp_proc (thr_arg=<value optimized out>) at ../deps/libeio/eio.c:1490
#2 0x00007ffff6a2a9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3 0x00007ffff678770d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4 0x0000000000000000 in ?? ()
Thread 2 (Thread 0x7fffc6f78700 (LWP 11870)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1 0x00000000004e22cc in etp_proc (thr_arg=<value optimized out>) at ../deps/libeio/eio.c:1490
#2 0x00007ffff6a2a9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3 0x00007ffff678770d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4 0x0000000000000000 in ?? ()
Thread 1 (Thread 0x7ffff7fe9720 (LWP 11867)):
#0 0x0000000000545248 in v8::internal::GlobalHandles::IterateAllRoots(v8::internal::ObjectVisitor*) ()
#1 0x0000000000559dc4 in v8::internal::Heap::Scavenge() ()
#2 0x000000000055ba46 in v8::internal::Heap::PerformGarbageCollection(v8::internal::AllocationSpace, v8::internal::GarbageCollector, v8::internal::GCTracer*) ()
#3 0x000000000055c228 in v8::internal::Heap::CollectGarbage(int, v8::internal::AllocationSpace) ()
#4 0x0000000000532ab0 in v8::internal::Factory::NewStringFromUtf8(v8::internal::Vector<char const>, v8::internal::PretenureFlag) ()
#5 0x000000000050bc95 in v8::String::New(char const*, int) ()
#6 0x00000000004c272f in node::Buffer::Utf8Slice (args=...) at ../src/node_buffer.cc:312
#7 0x0000000000518516 in v8::internal::Builtin_HandleApiCall(v8::internal::(anonymous namespace)::BuiltinArguments<(v8::internal::BuiltinExtraArguments)1>) ()
#8 0x00007fffd248a1aa in ?? ()
#9 0x00007fffd248a141 in ?? ()
#10 0x00007fffffffa540 in ?? ()
Starting program: /home/ubuntu/src/tilemill/bin/node ./seedtest/tileseed.js k12_county_stats.xml 1 CNTY_FIPS k12_z10-12_test.mbtiles
[Thread debugging using libthread_db enabled]
[New Thread 0x7fffc6f78700 (LWP 11101)]
[New Thread 0x7fffc6f67700 (LWP 11102)]
[Thread 0x7fffc6f67700 (LWP 11102) exited]
setup
fillGridData
[New Thread 0x7fffc44f1700 (LWP 11103)]
[New Thread 0x7fffc44e0700 (LWP 11104)]
[New Thread 0x7fffc448f700 (LWP 11105)]
renderChunk
*** glibc detected *** /home/ubuntu/src/tilemill/bin/node: double free or corruption (!prev): 0x00007fff88231860 ***
======= Backtrace: =========
/lib/libc.so.6(+0x775b6)[0x7ffff67185b6]
/lib/libc.so.6(cfree+0x73)[0x7ffff671ee83]
/home/ubuntu/src/tilemill/lib/node/mapnik/_mapnik.node(_ZN8agg_grid15grid_rasterizerD1Ev+0x11)[0x7fffd2068111]
/home/ubuntu/src/tilemill/lib/node/mapnik/_mapnik.node(_ZN3Map14EIO_RenderGridEP7eio_req+0x260d)[0x7fffd20664bd]
/home/ubuntu/src/tilemill/bin/node[0x4e2b17]
/lib/libpthread.so.0(+0x69ca)[0x7ffff6a2a9ca]
/lib/libc.so.6(clone+0x6d)[0x7ffff678770d]
======= Memory map: ========
00400000-0084e000 r-xp 00000000 08:01 132480 /home/ubuntu/src/tilemill/bin/node
00a4d000-00a4e000 r--p 0044d000 08:01 132480 /home/ubuntu/src/tilemill/bin/node
00a4e000-00a56000 rw-p 0044e000 08:01 132480 /home/ubuntu/src/tilemill/bin/node
00a56000-01bb7000 rw-p 00000000 00:00 0 [heap]
7fff84000000-7fff84661000 rw-p 00000000 00:00 0
7fff84661000-7fff88000000 ---p 00000000 00:00 0
7fff88000000-7fff88618000 rw-p 00000000 00:00 0
7fff88618000-7fff8c000000 ---p 00000000 00:00 0
7fff8c000000-7fff8c774000 rw-p 00000000 00:00 0
7fff8c774000-7fff90000000 ---p 00000000 00:00 0
7fff93542000-7fff935b9000 r--s 00000000 08:01 393226 /tmp/c71a218f9f87a37e336cb4a422807a85/k12_schools.index
7fff935b9000-7fff94de8000 r--s 00000000 08:01 393233 /tmp/c71a218f9f87a37e336cb4a422807a85/k12_schools.dbf
7fff94de8000-7fff95096000 r--s 00000000 08:01 393231 /tmp/c71a218f9f87a37e336cb4a422807a85/k12_schools.shp
7fff95096000-7fff950a0000 r--s 00000000 08:01 401415 /tmp/de5b1113fef5706d8faeec8b2383dfb8/k12_county_stats.index
7fff950a0000-7fff951e0000 r--s 00000000 08:01 401411 /tmp/de5b1113fef5706d8faeec8b2383dfb8/k12_county_stats.dbf
7fff951e0000-7fff9c542000 r--s 00000000 08:01 401416 /tmp/de5b1113fef5706d8faeec8b2383dfb8/k12_county_stats.shp
7fff9c542000-7fff9c545000 r--s 00000000 08:01 393222 /tmp/39906004488430c066551090d81caa77/world_borders_merc.index
7fff9c545000-7fff9c54c000 r--s 00000000 08:01 393219 /tmp/39906004488430c066551090d81caa77/world_borders_merc.dbf
7fff9c54c000-7fff9cb19000 r--s 00000000 08:01 393224 /tmp/39906004488430c066551090d81caa77/world_borders_merc.shp
7fff9cb19000-7fff9cb90000 r--s 00000000 08:01 393226 /tmp/c71a218f9f87a37e336cb4a422807a85/k12_schools.index
7fff9cb90000-7fff9e3bf000 r--s 00000000 08:01 393233 /tmp/c71a218f9f87a37e336cb4a422807a85/k12_schools.dbf
7fff9e3bf000-7fff9e66d000 r--s 00000000 08:01 393231 /tmp/c71a218f9f87a37e336cb4a422807a85/k12_schools.shp
7fff9e66d000-7fff9e677000 r--s 00000000 08:01 401415 /tmp/de5b1113fef5706d8faeec8b2383dfb8/k12_county_stats.index
7fff9e677000-7fff9e7b7000 r--s 00000000 08:01 401411 /tmp/de5b1113fef5706d8faeec8b2383dfb8/k12_county_stats.dbf
7fff9e7b7000-7fffa5b19000 r--s 00000000 08:01 401416 /tmp/de5b1113fef5706d8faeec8b2383dfb8/k12_county_stats.shp
7fffa5b19000-7fffa5b1c000 r--s 00000000 08:01 393222 /tmp/39906004488430c066551090d81caa77/world_borders_merc.index
7fffa5b1c000-7fffa5b23000 r--s 00000000 08:01 393219 /tmp/39906004488430c066551090d81caa77/world_borders_merc.dbf
7fffa5b23000-7fffa60f0000 r--s 00000000 08:01 393224 /tmp/39906004488430c066551090d81caa77/world_borders_merc.shp
7fffa60f0000-7fffa6167000 r--s 00000000 08:01 393226 /tmp/c71a218f9f87a37e336cb4a422807a85/k12_schools.index
7fffa6167000-7fffa7996000 r--s 00000000 08:01 393233 /tmp/c71a218f9f87a37e336cb4a422807a85/k12_schools.dbf
7fffa7996000-7fffa7c44000 r--s 00000000 08:01 393231 /tmp/c71a218f9f87a37e336cb4a422807a85/k12_schools.shp
7fffa7c44000-7fffa7c4e000 r--s 00000000 08:01 401415 /tmp/de5b1113fef5706d8faeec8b2383dfb8/k12_county_stats.index
7fffa7c4e000-7fffa7d8e000 r--s 00000000 08:01 401411 /tmp/de5b1113fef5706d8faeec8b2383dfb8/k12_county_stats.dbf
7fffa7d8e000-7fffaf0f0000 r--s 00000000 08:01 401416 /tmp/de5b1113fef5706d8faeec8b2383dfb8/k12_county_stats.shp
7fffaf0f0000-7fffaf0f3000 r--s 00000000 08:01 393222 /tmp/39906004488430c066551090d81caa77/world_borders_merc.index
7fffaf0f3000-7fffaf0fa000 r--s 00000000 08:01 393219 /tmp/39906004488430c066551090d81caa77/world_borders_merc.dbf
7fffaf0fa000-7fffaf6c7000 r--s 00000000 08:01 393224 /tmp/39906004488430c066551090d81caa77/world_borders_merc.shp
7fffaf6c7000-7fffaf73e000 r--s 00000000 08:01 393226 /tmp/c71a218f9f87a37e336cb4a422807a85/k12_schools.index
7fffaf73e000-7fffb0f6d000 r--s 00000000 08:01 393233 /tmp/c71a218f9f87a37e336cb4a422807a85/k12_schools.dbf
Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffc6f78700 (LWP 11101)]
0x00007ffff66d4a75 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
in ../nptl/sysdeps/unix/sysv/linux/raise.c
(gdb)
(gdb) bt
#0 0x00007ffff66d4a75 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1 0x00007ffff66d85c0 in *__GI_abort () at abort.c:92
#2 0x00007ffff670e4fb in __libc_message (do_abort=<value optimized out>, fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#3 0x00007ffff67185b6 in malloc_printerr (action=3, str=0x7ffff67ebcd8 "double free or corruption (!prev)", ptr=<value optimized out>)
at malloc.c:6266
#4 0x00007ffff671ee83 in *__GI___libc_free (mem=<value optimized out>) at malloc.c:3738
#5 0x00007fffd2068111 in ~grid_rasterizer (this=0x7fffc6f77930, __in_chrg=<value optimized out>) at ../src/grid/grid.h:165
#6 0x00007fffd20664bd in Map::EIO_RenderGrid (req=<value optimized out>) at ../src/mapnik_map.cpp:1304
#7 0x00000000004e2b17 in eio_execute (thr_arg=<value optimized out>) at ../deps/libeio/eio.c:1693
#8 etp_proc (thr_arg=<value optimized out>) at ../deps/libeio/eio.c:1517
#9 0x00007ffff6a2a9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007ffff678770d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()
(gdb)
(gdb) thread apply all bt
Thread 6 (Thread 0x7fffc448f700 (LWP 11105)):
#0 __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:136
#1 0x00007ffff6a2d5d9 in _L_lock_953 () from /lib/libpthread.so.0
#2 0x00007ffff6a2d3fb in __pthread_mutex_lock (mutex=0x7fffd2025060) at pthread_mutex_lock.c:61
#3 0x00007fffd1d4aa2f in mapnik::proj_transform::backward(double&, double&, double&) const () from /usr/local/lib/libmapnik2.so.2.0
#4 0x00007fffd2064bd3 in mapnik::coord_transform2<mapnik::CoordTransform, mapnik::geometry<mapnik::vertex<double, 2>, mapnik::vertex_vector> >::vertex
(req=<value optimized out>) at /usr/local/include/mapnik/ctrans.hpp:77
#5 add_path<Map::EIO_RenderGrid(eio_req*)::path_type> (req=<value optimized out>) at ../src/grid/grid.h:354
#6 Map::EIO_RenderGrid (req=<value optimized out>) at ../src/mapnik_map.cpp:1276
#7 0x00000000004e2b17 in eio_execute (thr_arg=<value optimized out>) at ../deps/libeio/eio.c:1693
#8 etp_proc (thr_arg=<value optimized out>) at ../deps/libeio/eio.c:1517
#9 0x00007ffff6a2a9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007ffff678770d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()
Thread 5 (Thread 0x7fffc44e0700 (LWP 11104)):
#0 __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:136
#1 0x00007ffff6a2d5d9 in _L_lock_953 () from /lib/libpthread.so.0
#2 0x00007ffff6a2d3fb in __pthread_mutex_lock (mutex=0x7fffd2025060) at pthread_mutex_lock.c:61
#3 0x00007fffd1d4aa2f in mapnik::proj_transform::backward(double&, double&, double&) const () from /usr/local/lib/libmapnik2.so.2.0
#4 0x00007fffd2064bd3 in mapnik::coord_transform2<mapnik::CoordTransform, mapnik::geometry<mapnik::vertex<double, 2>, mapnik::vertex_vector> >::vertex
(req=<value optimized out>) at /usr/local/include/mapnik/ctrans.hpp:77
#5 add_path<Map::EIO_RenderGrid(eio_req*)::path_type> (req=<value optimized out>) at ../src/grid/grid.h:354
#6 Map::EIO_RenderGrid (req=<value optimized out>) at ../src/mapnik_map.cpp:1276
#7 0x00000000004e2b17 in eio_execute (thr_arg=<value optimized out>) at ../deps/libeio/eio.c:1693
#8 etp_proc (thr_arg=<value optimized out>) at ../deps/libeio/eio.c:1517
#9 0x00007ffff6a2a9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007ffff678770d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()
Thread 4 (Thread 0x7fffc44f1700 (LWP 11103)):
#0 0x00007fffd0db5582 in pj_init () from /usr/lib/libproj.so.0
#1 0x00007fffd0db5d28 in pj_init_plus () from /usr/lib/libproj.so.0
#2 0x00007fffd1d4a12f in mapnik::projection::init() () from /usr/local/lib/libmapnik2.so.2.0
#3 0x00007fffd1d4a3a5 in mapnik::projection::projection(std::string const&) () from /usr/local/lib/libmapnik2.so.2.0
#4 0x00007fffd206414f in Map::EIO_RenderGrid (req=<value optimized out>) at ../src/mapnik_map.cpp:1135
#5 0x00000000004e2b17 in eio_execute (thr_arg=<value optimized out>) at ../deps/libeio/eio.c:1693
#6 etp_proc (thr_arg=<value optimized out>) at ../deps/libeio/eio.c:1517
#7 0x00007ffff6a2a9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#8 0x00007ffff678770d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9 0x0000000000000000 in ?? ()
#0 __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:136
#1 0x00007f15720df5f4 in _L_lock_1024 () from /lib/libpthread.so.0
#2 0x00007f15720df457 in __pthread_mutex_lock (mutex=0x16d3638) at pthread_mutex_lock.c:82
#3 0x00007f154370c7f9 in ?? () from /usr/lib/libsqlite3.so.0
#4 0x00007f1542b2fb72 in node_sqlite3::Statement::EIO_Run (req=0x7f153c6ab620) at ../src/statement.cc:455
#5 0x00000000004e2b17 in eio_execute (thr_arg=<value optimized out>) at ../deps/libeio/eio.c:1693
#6 etp_proc (thr_arg=<value optimized out>) at ../deps/libeio/eio.c:1517
#7 0x00007f15720dc9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#8 0x00007f1571e3970d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9 0x0000000000000000 in ?? ()
#0 __lll_unlock_wake () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:366
#1 0x00007f15720e0af6 in _L_unlock_696 () from /lib/libpthread.so.0
#2 0x00007f15720e0a33 in __pthread_mutex_unlock_usercnt (mutex=0x7f154d6da060) at pthread_mutex_unlock.c:52
#3 __pthread_mutex_unlock (mutex=0x7f154d6da060) at pthread_mutex_unlock.c:290
#4 0x00007f154d3ffa6b in mapnik::proj_transform::backward(double&, double&, double&) const () from /usr/local/lib/libmapnik2.so.2.0
#5 0x00007f154d719bd3 in mapnik::coord_transform2<mapnik::CoordTransform, mapnik::geometry<mapnik::vertex<double, 2>, mapnik::vertex_vector> >::vertex
(req=<value optimized out>) at /usr/local/include/mapnik/ctrans.hpp:77
#6 add_path<Map::EIO_RenderGrid(eio_req*)::path_type> (req=<value optimized out>) at ../src/grid/grid.h:354
#7 Map::EIO_RenderGrid (req=<value optimized out>) at ../src/mapnik_map.cpp:1276
#8 0x00000000004e2b17 in eio_execute (thr_arg=<value optimized out>) at ../deps/libeio/eio.c:1693
#9 etp_proc (thr_arg=<value optimized out>) at ../deps/libeio/eio.c:1517
#10 0x00007f15720dc9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007f1571e3970d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()
#0 0x00007f1571b4293d in ?? () from /lib/libz.so.1
#1 0x00007f1571b41281 in deflate () from /lib/libz.so.1
#2 0x00007f154cb13fa6 in ?? () from /lib/libpng12.so.0
#3 0x00007f154cb143d0 in ?? () from /lib/libpng12.so.0
#4 0x00007f154cb183e9 in png_write_row () from /lib/libpng12.so.0
#5 0x00007f154d31b01f in void mapnik::save_as_png<std::ostream, mapnik::ImageData<unsigned int> >(std::ostream&, mapnik::ImageData<unsigned int> const&) () from /usr/local/lib/libmapnik2.so.2.0
#6 0x00007f154d359898 in void mapnik::save_to_stream<mapnik::ImageData<unsigned int> >(mapnik::ImageData<unsigned int> const&, std::ostream&, std::string const&) () from /usr/local/lib/libmapnik2.so.2.0
#7 0x00007f154d35b7bf in std::string mapnik::save_to_string<mapnik::ImageData<unsigned int> >(mapnik::ImageData<unsigned int> const&, std::string const&) () from /usr/local/lib/libmapnik2.so.2.0
#8 0x00007f154d716b18 in save_to_string (req=<value optimized out>) at /usr/local/include/mapnik/image_util.hpp:213
#9 Map::EIO_Render (req=<value optimized out>) at ../src/mapnik_map.cpp:676
#10 0x00000000004e2b17 in eio_execute (thr_arg=<value optimized out>) at ../deps/libeio/eio.c:1693
#11 etp_proc (thr_arg=<value optimized out>) at ../deps/libeio/eio.c:1517
#12 0x00007f15720dc9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#13 0x00007f1571e3970d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment