Open Bug 634612 Opened 14 years ago Updated 2 years ago

Crash [@ libpthread-2.11.2.so (deleted)@0xa543 ] in malloc_mutex_unlock()

Categories

(Core :: Memory Allocator, defect)

x86_64
Linux
defect

Tracking

()

People

(Reporter: bjacob, Unassigned)

Details

I just got a crash: https://crash-stats.mozilla.com/report/index/8fadfd3d-5bb8-4185-a0d2-5b1382110216 The stack points to http://hg.mozilla.org/tracemonkey/annotate/951f34044122/memory/jemalloc/jemalloc.c#l1442 malloc_mutex_unlock(malloc_mutex_t *mutex) { #if defined(MOZ_MEMORY_WINDOWS) LeaveCriticalSection(mutex); #elif defined(MOZ_MEMORY_DARWIN) OSSpinLockUnlock(&mutex->lock); #elif defined(MOZ_MEMORY) pthread_mutex_unlock(mutex); // <--- crash here #else if (__isthreaded) _SPINUNLOCK(&mutex->lock); #endif } Since the crash is a SIGSEGV at address 0xc8 which is very near 0, I wonder if this means that the |mutex| pointer here was null?
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.