Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crash during "make unittests" #111

Closed
fceller opened this issue Jun 21, 2012 · 1 comment
Closed

crash during "make unittests" #111

fceller opened this issue Jun 21, 2012 · 1 comment
Assignees
Labels
Milestone

Comments

@fceller
Copy link
Contributor

fceller commented Jun 21, 2012

Sometimes there is a crash at the end of the "unittests-http-server":

Core was generated by `./bin/arangod /tmp/vocdir.3707 --javascript.startup-directory ./js --javascript'.
Program terminated with signal 11, Segmentation fault.
#0 0x000000000055ccfb in v8::internal::FixedArray::get(int) ()

(gdb) info threads
25 Thread 4019 0x00007fc28ce6dd53 in epoll_wait () at ../sysdeps/unix/syscall-template.S:82
24 Thread 4020 0x00007fc28ce6dd53 in epoll_wait () at ../sysdeps/unix/syscall-template.S:82
23 Thread 4017 0x00007fc28ce3c98d in nanosleep () at ../sysdeps/unix/syscall-template.S:82
22 Thread 4016 0x00007fc28ce3c98d in nanosleep () at ../sysdeps/unix/syscall-template.S:82
21 Thread 4025 __dl_iterate_phdr (callback=0x7fc28d3350d0, data=0x7fc2837fc7d0) at dl-iteratephdr.c:36
20 Thread 4037 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
19 Thread 4021 0x00007fc28ce6dd53 in epoll_wait () at ../sysdeps/unix/syscall-template.S:82
18 Thread 4034 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
17 Thread 4028 __dl_iterate_phdr (callback=0x7fc28d3350d0, data=0x7fc281ff9a50) at dl-iteratephdr.c:36
16 Thread 4038 sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:86
15 Thread 4032 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
14 Thread 4036 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
13 Thread 4018 0x00007fc28ce3c98d in nanosleep () at ../sysdeps/unix/syscall-template.S:82
12 Thread 4029 __dl_iterate_phdr (callback=0x7fc28d3350d0, data=0x7fc2817f8a90) at dl-iteratephdr.c:36
11 Thread 4023 __dl_iterate_phdr (callback=0x7fc28d3350d0, data=0x7fc288973dd0) at dl-iteratephdr.c:36
10 Thread 4026 __dl_iterate_phdr (callback=0x7fc28d3350d0, data=0x7fc282ffb810) at dl-iteratephdr.c:36
9 Thread 4010 0x00007fc28ce3c98d in nanosleep () at ../sysdeps/unix/syscall-template.S:82
8 Thread 4015 0x00007fc28ce3c98d in nanosleep () at ../sysdeps/unix/syscall-template.S:82
7 Thread 4027 __dl_iterate_phdr (callback=0x7fc28d3350d0, data=0x7fc2827fa910) at dl-iteratephdr.c:36
6 Thread 4031 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
5 Thread 4024 __dl_iterate_phdr (callback=0x7fc28d3350d0, data=0x7fc283ffdf10) at dl-iteratephdr.c:36
4 Thread 4030 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
3 Thread 4033 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
2 Thread 4035 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162

  • 1 Thread 4022 0x000000000055ccfb in v8::internal::FixedArray::get(int) ()

This happens in thread 1 during the GC of a cursor
#0 0x000000000055ccfb in v8::internal::FixedArray::get(int) ()
#1 0x000000000055ae63 in v8::internal::Context::global() ()
#2 0x00000000006ad9be in v8::internal::Isolate::global_context() ()
#3 0x0000000000581479 in v8::Context::GetCurrent() ()
#4 0x000000000046a93c in GetContextVocBase (object=, parameter=0x7fc2840ad3b0) at arangod/V8Server/v8-vocbase.cpp:157
#5 WeakGeneralCursorCallback (object=, parameter=0x7fc2840ad3b0) at arangod/V8Server/v8-vocbase.cpp:1120
#6 0x000000000060e24a in v8::internal::GlobalHandles::Node::PostGarbageCollectionProcessing(v8::internal::Isolate_, v8::internal::GlobalHandles_) ()
#7 0x000000000060f04f in v8::internal::GlobalHandles::PostGarbageCollectionProcessing(v8::internal::GarbageCollector) ()
#8 0x000000000062a161 in v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::internal::GCTracer*) ()
#9 0x00000000006292d6 in v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollector, char const_, char const_) ()
#10 0x00000000005e0d4e in v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, char const*) ()
#11 0x0000000000628fd5 in v8::internal::Heap::CollectAllGarbage(int, char const*) ()
#12 0x00000000006353ec in v8::internal::Heap::IdleGlobalGC() ()
#13 0x0000000000634f38 in v8::internal::Heap::IdleNotification(int) ()
#14 0x000000000080923a in v8::internal::V8::IdleNotification(int) ()
#15 0x0000000000580186 in v8::V8::IdleNotification(int) ()
#16 0x000000000045159a in triagens::arango::JavascriptDispatcherThread::run (this=0xe7b390) at arangod/RestServer/JavascriptDispatcherThread.cpp:168
#17 0x0000000000509605 in triagens::basics::Thread::runMe (this=0xe7b390) at lib/Basics/Thread.cpp:280
#18 0x0000000000509a79 in triagens::basics::Thread::startThread (arg=) at lib/Basics/Thread.cpp:55
#19 0x000000000051aa80 in ThreadStarter (data=0xe8c2b0) at lib/BasicsC/threads-posix.c:93
#20 0x00007fc28d10da3f in start_thread (arg=0x7fc289176700) at pthread_create.c:297
#21 0x00007fc28ce6d71d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#22 0x0000000000000000 in ?? ()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants