Skip to content

Instantly share code, notes, and snippets.

@mikemorris
Created October 1, 2014 19:41
Show Gist options
  • Save mikemorris/1a5e87d5ffe39911e9c6 to your computer and use it in GitHub Desktop.
Save mikemorris/1a5e87d5ffe39911e9c6 to your computer and use it in GitHub Desktop.
Thread 6 (Thread 0x7fffee5f6700 (LWP 17567)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x000000000099b309 in uv_cond_wait (cond=<optimized out>, mutex=<optimized out>) at ../deps/uv/src/unix/thread.c:322
#2 0x000000000099bccf in worker (arg=<optimized out>) at ../deps/uv/src/unix/threadpool.c:56
#3 0x00000000009915e1 in uv__thread_start (ctx_v=<optimized out>) at ../deps/uv/src/uv-common.c:322
#4 0x00007ffff6f98182 in start_thread (arg=0x7fffee5f6700) at pthread_create.c:312
#5 0x00007ffff6cc4fbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Thread 5 (Thread 0x7fffeedf7700 (LWP 17566)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x000000000099b309 in uv_cond_wait (cond=<optimized out>, mutex=<optimized out>) at ../deps/uv/src/unix/thread.c:322
#2 0x000000000099bccf in worker (arg=<optimized out>) at ../deps/uv/src/unix/threadpool.c:56
#3 0x00000000009915e1 in uv__thread_start (ctx_v=<optimized out>) at ../deps/uv/src/uv-common.c:322
#4 0x00007ffff6f98182 in start_thread (arg=0x7fffeedf7700) at pthread_create.c:312
#5 0x00007ffff6cc4fbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Thread 4 (Thread 0x7fffef5f8700 (LWP 17565)):
#0 0x00007ffff6c00bb9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007ffff6c03fc8 in __GI_abort () at abort.c:89
#2 0x00007ffff6c3de14 in __libc_message (do_abort=do_abort@entry=1, fmt=fmt@entry=0x7ffff6d4c668 "*** Error in `%s': %s: 0x%s ***\n")
at ../sysdeps/posix/libc_fatal.c:175
#3 0x00007ffff6c4a0ee in malloc_printerr (ptr=<optimized out>, str=0x7ffff6d4c830 "double free or corruption (fasttop)", action=1)
at malloc.c:4996
#4 _int_free (av=<optimized out>, p=<optimized out>, have_lock=0) at malloc.c:3840
#5 0x00007ffff68f81d9 in std::_Hashtable<std::string, std::pair<std::string const, mbgl::ClassID>, std::allocator<std::pair<std::string const, mbgl::ClassID> >, std::__detail::_Select1st, std::equal_to<std::string>, std::hash<std::string>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >::_M_insert_unique_node(unsigned long, unsigned long, std::__detail::_Hash_node<std::pair<std::string const, mbgl::ClassID>, true>*) ()
from /home/mapbox/Projects/node-mapbox-gl-native/lib/mapbox-gl-native.node
#6 0x00007ffff68f83b7 in std::pair<std::__detail::_Node_iterator<std::pair<std::string const, mbgl::ClassID>, false, true>, bool> std::_Hashtable<std::string, std::pair<std::string const, mbgl::ClassID>, std::allocator<std::pair<std::string const, mbgl::ClassID> >, std::__detail::_Select1st, std::equal_to<std::string>, std::hash<std::string>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >::_M_emplace<std::string const&, mbgl::ClassID&>(std::integral_constant<bool, true>, std::string const&, mbgl::ClassID&) ()
from /home/mapbox/Projects/node-mapbox-gl-native/lib/mapbox-gl-native.node
#7 0x00007ffff68f7fc7 in mbgl::ClassDictionary::Lookup(std::string const&) ()
from /home/mapbox/Projects/node-mapbox-gl-native/lib/mapbox-gl-native.node
---Type <return> to continue, or q <return> to quit---
#8 0x00007ffff68f2539 in mbgl::StyleParser::parseStyles(rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> > const&, std::map<mbgl::ClassID, mbgl::ClassProperties, std::less<mbgl::ClassID>, std::allocator<std::pair<mbgl::ClassID const, mbgl::ClassProperties> > >&) () from /home/mapbox/Projects/node-mapbox-gl-native/lib/mapbox-gl-native.node
#9 0x00007ffff68f283e in mbgl::StyleParser::createLayer(rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> > const&) () from /home/mapbox/Projects/node-mapbox-gl-native/lib/mapbox-gl-native.node
#10 0x00007ffff68f2b38 in mbgl::StyleParser::createLayers(rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> > const&) () from /home/mapbox/Projects/node-mapbox-gl-native/lib/mapbox-gl-native.node
#11 0x00007ffff68f2cb7 in mbgl::StyleParser::parse(rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> > const&) () from /home/mapbox/Projects/node-mapbox-gl-native/lib/mapbox-gl-native.node
#12 0x00007ffff68c3bbf in mbgl::Style::loadJSON(unsigned char const*) ()
from /home/mapbox/Projects/node-mapbox-gl-native/lib/mapbox-gl-native.node
#13 0x00007ffff68b46ae in mbgl::Map::setStyleJSON(std::string, std::string const&) ()
from /home/mapbox/Projects/node-mapbox-gl-native/lib/mapbox-gl-native.node
#14 0x00007ffff68a7c33 in node_mbgl::RenderWorker::Render() () from /home/mapbox/Projects/node-mapbox-gl-native/lib/mapbox-gl-native.node
#15 0x00007ffff68a887d in node_mbgl::RenderWorker::Execute() () from /home/mapbox/Projects/node-mapbox-gl-native/lib/mapbox-gl-native.node
#16 0x000000000099bd20 in worker (arg=<optimized out>) at ../deps/uv/src/unix/threadpool.c:74
#17 0x00000000009915e1 in uv__thread_start (ctx_v=<optimized out>) at ../deps/uv/src/uv-common.c:322
#18 0x00007ffff6f98182 in start_thread (arg=0x7fffef5f8700) at pthread_create.c:312
#19 0x00007ffff6cc4fbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Thread 3 (Thread 0x7fffefdf9700 (LWP 17564)):
#0 do_lookup_x (new_hash=new_hash@entry=3591312088, old_hash=old_hash@entry=0x7fffefdf7fe0, result=result@entry=0x7fffefdf7ff0,
scope=<optimized out>, i=i@entry=0, flags=flags@entry=5, skip=skip@entry=0x0, undef_map=undef_map@entry=0xec8f10) at dl-lookup.c:105
#1 0x00007ffff7de4991 in _dl_lookup_symbol_x (undef_name=0x7ffff6858d6e "_ZN4mbgl5Style13updateClassesEv", undef_map=0xec8f10,
ref=ref@entry=0x7fffefdf80a8, symbol_scope=0xec9268, version=0x0, type_class=type_class@entry=1, flags=5, skip_map=skip_map@entry=0x0)
at dl-lookup.c:737
#2 0x00007ffff7de9557 in _dl_fixup (l=<optimized out>, reloc_arg=<optimized out>) at ../elf/dl-runtime.c:111
#3 0x00007ffff7df0515 in _dl_runtime_resolve () at ../sysdeps/x86_64/dl-trampoline.S:45
#4 0x00007ffff68c3c98 in mbgl::Style::loadJSON(unsigned char const*) ()
from /home/mapbox/Projects/node-mapbox-gl-native/lib/mapbox-gl-native.node
#5 0x00007ffff68b46ae in mbgl::Map::setStyleJSON(std::string, std::string const&) ()
from /home/mapbox/Projects/node-mapbox-gl-native/lib/mapbox-gl-native.node
#6 0x00007ffff68a7c33 in node_mbgl::RenderWorker::Render() () from /home/mapbox/Projects/node-mapbox-gl-native/lib/mapbox-gl-native.node
#7 0x00007ffff68a887d in node_mbgl::RenderWorker::Execute() () from /home/mapbox/Projects/node-mapbox-gl-native/lib/mapbox-gl-native.node
#8 0x000000000099bd20 in worker (arg=<optimized out>) at ../deps/uv/src/unix/threadpool.c:74
#9 0x00000000009915e1 in uv__thread_start (ctx_v=<optimized out>) at ../deps/uv/src/uv-common.c:322
#10 0x00007ffff6f98182 in start_thread (arg=0x7fffefdf9700) at pthread_create.c:312
#11 0x00007ffff6cc4fbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
---Type <return> to continue, or q <return> to quit---
Thread 2 (Thread 0x7ffff7ff7700 (LWP 17563)):
#0 sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85
#1 0x0000000000934305 in v8::internal::LinuxSemaphore::Wait() ()
#2 0x000000000085b302 in v8::internal::RuntimeProfiler::WaitForSomeIsolateToEnterJS() ()
#3 0x0000000000935662 in v8::internal::SignalSender::Run() ()
#4 0x0000000000934530 in v8::internal::ThreadEntry(void*) ()
#5 0x00007ffff6f98182 in start_thread (arg=0x7ffff7ff7700) at pthread_create.c:312
#6 0x00007ffff6cc4fbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Thread 1 (Thread 0x7ffff7fe0780 (LWP 17559)):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00000000009a02ca in uv__epoll_wait (epfd=<optimized out>, events=<optimized out>, nevents=<optimized out>, timeout=<optimized out>)
at ../deps/uv/src/unix/linux-syscalls.c:282
#2 0x000000000099f04a in uv__io_poll (loop=0xe647a0 <default_loop_struct>, timeout=-1) at ../deps/uv/src/unix/linux-core.c:187
#3 0x0000000000992b78 in uv_run (loop=0xe647a0 <default_loop_struct>, mode=<optimized out>) at ../deps/uv/src/unix/core.c:317
#4 0x0000000000940ec2 in node::Start(int, char**) ()
#5 0x00007ffff6bebec5 in __libc_start_main (main=0x599400 <main>, argc=2, argv=0x7fffffffdf08, init=<optimized out>,
fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdef8) at libc-start.c:287
#6 0x00000000005996e1 in _start ()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment