Skip to content

Strange error when running specific Node.js application #940

@miha-plesko

Description

@miha-plesko

I'm running a Node.js 6.10.2 application and unikernel crashes like this:

OSv v0.24-472-gf240a59
eth0: 192.168.122.15
Aborted

[backtrace]
0x000000000045237a <osv::generate_signal(siginfo&, exception_frame*)+58>
0x00000000004523ea <osv::handle_mmap_fault(unsigned long, int, exception_frame*)+26>
0x000000000033073a <mmu::vm_fault(unsigned long, exception_frame*)+330>
0x0000000000395bd7 <page_fault+119>
0x0000000000394a26 <???+3754534>
0x0000100001d5955f <icu_58::UnicodeSet::add(int, int)+127>
0x0000100001364bed <icu_58::CollationDataReader::read(icu_58::CollationTailoring const*, unsigned char const*, int, icu_58::CollationTailoring&, UErrorCode&)+2093>
0x00001000012977a9 <icu_58::CollationRoot::load(UErrorCode&)+233>
0x0000100001297897 <icu_58::CollationRoot::getRootCacheEntry(UErrorCode&)+87>
0x000010000136378e <icu_58::CollationLoader::loadTailoring(icu_58::Locale const&, UErrorCode&)+46>
0x000010000133d9b4 <icu_58::Collator::makeInstance(icu_58::Locale const&, UErrorCode&)+20>
0x000010000133da46 <icu_58::Collator::createInstance(icu_58::Locale const&, UErrorCode&)+38>
0x0000100001956c55 <???+26569813>
0x000010000195916d <v8::internal::Collator::InitializeCollator(v8::internal::Isolate*, v8::internal::Handle<v8::internal::String>, v8::internal::Handle<v8::internal::JSObject>, v8::internal::Handle<v8::internal::JSObject>)+349>
0x0000100001af5753 <v8::internal::Runtime_CreateCollator(int, v8::internal::Object**, v8::internal::Isolate*)+1267>
0x0000342b2fa092a6 <???+799052454>
0x0000342b2fcdeeeb <???+802025195>
0x0000342b2fa400e2 <???+799277282>
0x0000342b2fa09894 <???+799053972>
0x0000342b2fa34455 <???+799229013>
0x0000342b2fd3f3af <???+802419631>
0x0000342b2fdc05d9 <???+802948569>
0x0000342b2fb491f3 <???+800362995>
0x0000342b2fcfc631 <???+802145841>
0x0000342b2fb3e451 <???+800318545>
0x0000342b2fb3df7c <???+800317308>
0x0000342b2fb34841 <???+800278593>
0x0000342b2fb8236b <???+800596843>
0x0000342b2fb49ea5 <???+800366245>
0x0000342b2fd25f16 <???+802316054>
0x0000342b2fb491f3 <???+800362995>
0x0000342b2fcfc631 <???+802145841>
0x0000342b2fb3e451 <???+800318545>
0x0000342b2fb3df7c <???+800317308>
0x0000342b2fb34841 <???+800278593>
0x0000342b2fb8236b <???+800596843>
0x0000342b2fb49ea5 <???+800366245>
0x0000342b2fd2506c <???+802312300>
0x0000342b2fb491f3 <???+800362995>
0x0000342b2fcfc631 <???+802145841>
0x0000342b2fb3e451 <???+800318545>
0x0000342b2fb3df7c <???+800317308>
0x0000342b2fb34841 <???+800278593>
0x0000342b2fb8236b <???+800596843>
0x0000342b2fb49ea5 <???+800366245>
0x0000342b2fb4d4e8 <???+800380136>
0x0000342b2fb491f3 <???+800362995>
0x0000342b2fb3f88a <???+800323722>
0x0000342b2fb3e451 <???+800318545>
0x0000342b2fb3df7c <???+800317308>
0x0000342b2fb34841 <???+800278593>
0x0000342b2fb4a172 <???+800366962>
0x0000342b2fb49ea5 <???+800366245>
0x0000342b2fb495e3 <???+800364003>
0x0000342b2fb491f3 <???+800362995>
0x0000342b2fb3f88a <???+800323722>
0x0000342b2fb3e451 <???+800318545>
0x0000342b2fb3df7c <???+800317308>
0x0000342b2fb34841 <???+800278593>
0x0000342b2fb34309 <???+800277257>
0x0000342b2fb3418f <???+800276879>
0x0000342b2fa44955 <???+799295829>
0x0000342b2fa42738 <???+799287096>
0x0000342b2fa3b7a2 <???+799258530>
0x0000342b2fa2508e <???+799166606>
0x00001000018bafc6 <v8::internal::Execution::Call(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int, v8::internal::Handle<v8::internal::Object>*)+198>
0x0000100001609af3 <v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)+307>
0x0000100001613980 <v8::Function::Call(v8::Local<v8::Value>, int, v8::Local<v8::Value>*)+64>
0x00001000011fc74d <node::LoadEnvironment(node::Environment*)+621>
0x00001000011ff10f <node::Start(int, char**)+1247>
0x000000000041b171 <osv::application::run_main(std::string, int, char**)+385>
0x000000000041d988 <osv::application::run_main()+568>
0x000000000020c5a6 <osv::application::main()+86>
0x000000000041dd18 <???+4316440>
0x000000000044d6a5 <???+4511397>
0x00000000003f5477 <thread_main_c+39>
0x00000000003959a5 <???+3758501>
0x00a7000ba2024dff <???+-1576907265>
0x00000000003f4b6f <???+4148079>
0xfb89485354415540 <???+1413567808>

I have no idea what the stacktrace is telling me, @nyh would you be willing to enlighten me? 😄 It feels like there should be something small, but I can't tell what...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions