Closed Bug 899148 Opened 13 years ago Closed 9 years ago

crash in mozilla::ipc::RPCChannel::CxxStackFrame::~CxxStackFrame

Categories

(Core :: IPC, defect)

ARM
Gonk (Firefox OS)
defect
Not set
critical

Tracking

()

RESOLVED INCOMPLETE
Tracking Status
b2g18 --- affected
b2g18-v1.0.1 --- affected

People

(Reporter: nhirata, Unassigned)

Details

(Keywords: crash, Whiteboard: [b2g-crash])

Crash Data

This bug was filed from the Socorro interface and is report bp-b39dd7f4-344b-4ed6-aa7a-d90242130729 . ============================================================= Crashing Thread Frame Module Signature Source 0 libxul.so mozilla::ipc::RPCChannel::CxxStackFrame::~CxxStackFrame ../../dist/include/mozilla/ipc/RPCChannel.h 1 libxul.so mozilla::ipc::RPCChannel::Send /home/zhangchun/P752D04_TME/PRE_2/android/gecko/ipc/glue/RPCChannel.cpp 2 libxul.so mozilla::dom::PContentParent::SendPreferenceUpdate /home/zhangchun/P752D04_TME/PRE_2/android/out/target/product/roamer2/obj/objdir-gecko/ipc/ipdl/PContentParent.cpp 3 libxul.so mozilla::dom::ContentParent::Observe /home/zhangchun/P752D04_TME/PRE_2/android/gecko/dom/ipc/ContentParent.cpp 4 libxul.so nsPrefBranch::NotifyObserver /home/zhangchun/P752D04_TME/PRE_2/android/gecko/modules/libpref/src/nsPrefBranch.cpp 5 libxul.so pref_DoCallback /home/zhangchun/P752D04_TME/PRE_2/android/gecko/modules/libpref/src/prefapi.cpp 6 libxul.so pref_HashPref /home/zhangchun/P752D04_TME/PRE_2/android/gecko/modules/libpref/src/prefapi.cpp 7 libxul.so PREF_SetCharPref /home/zhangchun/P752D04_TME/PRE_2/android/gecko/modules/libpref/src/prefapi.cpp 8 libxul.so nsPrefBranch::SetCharPref /home/zhangchun/P752D04_TME/PRE_2/android/gecko/modules/libpref/src/nsPrefBranch.cpp 9 libxul.so mozilla::Preferences::SetCharPref ../../../dist/include/mozilla/Preferences.h 10 libqc_b2g_ril.so libqc_b2g_ril.so@0x3a85b 11 libmozglue.so arena_dalloc ../../../gecko/memory/mozjemalloc/jemalloc.c 12 @0xffffffff 13 libqc_b2g_ril.so libqc_b2g_ril.so@0x3aaad 14 libxul.so moz_free /home/zhangchun/P752D04_TME/PRE_2/android/gecko/memory/mozalloc/mozalloc.cpp 15 @0x44c1cc96 16 libqc_b2g_ril.so libqc_b2g_ril.so@0x3b321 17 libqc_b2g_ril.so libqc_b2g_ril.so@0x3b63f 18 libqc_b2g_ril.so libqc_b2g_ril.so@0x4e098 19 libmozglue.so free ../../../gecko/memory/mozjemalloc/jemalloc.c 20 @0x45bffd36 21 libqc_b2g_ril.so libqc_b2g_ril.so@0x3b6b9 22 libqc_b2g_ril.so libqc_b2g_ril.so@0x309b9 23 libqc_b2g_ril.so libqc_b2g_ril.so@0x54452 24 libqc_b2g_ril.so libqc_b2g_ril.so@0x36065 25 libqc_b2g_ril.so libqc_b2g_ril.so@0x54452 26 libqc_b2g_ril.so libqc_b2g_ril.so@0x35f7d 27 libqc_b2g_ril.so libqc_b2g_ril.so@0x308bb 28 libqc_b2g_ril.so libqc_b2g_ril.so@0x35f47 29 libqc_b2g_ril.so libqc_b2g_ril.so@0x32a67 30 libqc_b2g_ril.so libqc_b2g_ril.so@0x308bb 31 libqc_b2g_ril.so libqc_b2g_ril.so@0x308bb 32 libqc_b2g_ril.so libqc_b2g_ril.so@0x32b11 33 libcutils.so record_stream_get_next system/core/libcutils/record_stream.c 34 libqc_b2g_ril.so libqc_b2g_ril.so@0x34463 35 libqc_b2g_ril.so libqc_b2g_ril.so@0x4cbc5 36 b2g MOZ_APNG_prog_read_reset ../../../gecko/media/libpng/pngrutil.c 37 @0x44c992de 38 libxul.so nsThread::ProcessNextEvent /home/zhangchun/P752D04_TME/PRE_2/android/gecko/xpcom/threads/nsThread.cpp 39 libxul.so NS_ProcessNextEvent_P /home/zhangchun/P752D04_TME/PRE_2/android/out/target/product/roamer2/obj/objdir-gecko/xpcom/build/nsThreadUtils.cpp 40 libxul.so nsThread::ThreadFunc /home/zhangchun/P752D04_TME/PRE_2/android/gecko/xpcom/threads/nsThread.cpp 41 libnspr4.so _pt_root ../../../../../gecko/nsprpub/pr/src/pthreads/ptthread.c 42 libc.so __thread_entry bionic/libc/bionic/pthread.c 43 libc.so pthread_create bionic/libc/bionic/pthread.c Mote Reports: https://crash-stats.mozilla.com/report/list?product=B2G&signature=mozilla%3A%3Aipc%3A%3ARPCChannel%3A%3ACxxStackFrame%3A%3A%7ECxxStackFrame Lots of duplicate crashes. This particular build is : 20130531232151
OS: Android → Gonk (Firefox OS)
Hardware: All → ARM
Whiteboard: [b2g-crash]
LEO also have one this. Thread 16 (crashed) 0 libxul.so!mozilla::ipc::RPCChannel::CxxStackFrame::~CxxStackFrame [RPCChannel.h : 220 + 0x6] r0 = 0x009dae60 r1 = 0x4cbca00c r2 = 0x00000004 r3 = 0x009dae68 r4 = 0x460ff804 r5 = 0x460ff804 r6 = 0x00000001 r7 = 0x4cbca00c r8 = 0x460ff8ac r9 = 0x460ff8f4 r10 = 0x43714970 r12 = 0x403f44c4 fp = 0x43714970 sp = 0x460ff7d8 lr = 0x4165a777 pc = 0x4165a6c4 Found by: given as instruction pointer in context 1 libxul.so!mozilla::ipc::RPCChannel::Send [RPCChannel.cpp : 110 + 0xf] r4 = 0x460ff7e8 r5 = 0x460ff804 r6 = 0x00000001 r7 = 0x4cbca00c r8 = 0x460ff8ac r9 = 0x460ff8f4 r10 = 0x43714970 fp = 0x43714970 sp = 0x460ff7e8 pc = 0x4165a777 Found by: call frame info 2 libxul.so!mozilla::dom::PContentParent::SendPreferenceUpdate [PContentParent.cpp : 823 + 0x9] r4 = 0x452a1d20 r5 = 0x4cbca000 r6 = 0x0009000f r7 = 0x00000000 r8 = 0x460ff8ac r9 = 0x460ff8f4 r10 = 0x43714970 fp = 0x43714970 sp = 0x460ff820 pc = 0x41683e57 Found by: call frame info 3 libxul.so!mozilla::dom::ContentParent::Observe [ContentParent.cpp : 1466 + 0x7] r0 = 0x00000000 r1 = 0x41c5e984 r2 = 0x00000000 r3 = 0x0009000f r4 = 0x4cbca000 r5 = 0x460ff8ac r6 = 0x460ff858 r7 = 0x00000000 r8 = 0x460ff8e0 r9 = 0x460ff8f4 r10 = 0x43714970 fp = 0x43714970 sp = 0x460ff848 pc = 0x4163e4f9 Found by: call frame info 4 libxul.so!nsPrefBranch::NotifyObserver [nsPrefBranch.cpp : 644 + 0xb] r4 = 0x460ff990 r5 = 0x460ffa24 r6 = 0x4163e395 r7 = 0x00000000 r8 = 0x0000003f r9 = 0x00010011 r10 = 0x4cbca194 fp = 0x43714970 sp = 0x460ff990 pc = 0x41015543 Found by: call frame info 5 libxul.so!pref_DoCallback [prefapi.cpp : 964 + 0x7] r4 = 0x45e1d990 r5 = 0x00000000 r6 = 0x00000000 r7 = 0x426e05b4 r8 = 0x4a8fa3fc r9 = 0x00000000 r10 = 0x00000000 fp = 0x00000000 sp = 0x460ffab8 pc = 0x41016bbd Found by: call frame info 6 libxul.so!pref_HashPref [prefapi.cpp : 803 + 0x3] r4 = 0x00000020 r5 = 0x4532d838 r6 = 0x426e05b4 r7 = 0x4377b5dc r8 = 0x460ffb2c r9 = 0x00000000 r10 = 0x00000000 fp = 0x00000000 sp = 0x460ffad0 pc = 0x41016d53 Found by: call frame info 7 libxul.so!PREF_SetCharPref [prefapi.cpp : 258 + 0x3] r4 = 0x43714970 r5 = 0x4532d838 r6 = 0x426e05b4 r7 = 0x00000000 r8 = 0x460ffb2c r9 = 0x41017ddd r10 = 0x00000000 fp = 0x00000000 sp = 0x460ffaf0 pc = 0x41016db3 Found by: call frame info 8 libxul.so!nsPrefBranch::SetCharPref [nsPrefBranch.cpp : 174 + 0x9] r4 = 0x43714970 r5 = 0x4532d838 r6 = 0x426e05b4 r7 = 0x00000000 r8 = 0x460ffb2c r9 = 0x41017ddd r10 = 0x00000000 fp = 0x00000000 sp = 0x460ffaf8 pc = 0x41016525 Found by: call frame info 9 libxul.so!mozilla::Preferences::SetCharPref [Preferences.h : 48 + 0x9] r4 = 0x404306c0 r5 = 0x460ffb14 r6 = 0x43719308 r7 = 0x00000000 r8 = 0x460ffb2c r9 = 0x41017ddd r10 = 0x00000000 fp = 0x00000000 sp = 0x460ffb08 pc = 0x41017df3 Found by: call frame info 10 libqc_b2g_ril.so + 0x47331 r4 = 0x404306c0 r5 = 0x460ffb14 r6 = 0x43719308 r7 = 0x00000000 r8 = 0x460ffb2c r9 = 0x41017ddd r10 = 0x00000000 fp = 0x00000000 sp = 0x460ffb10 pc = 0x426cc333 Found by: call frame info 11 libmozglue.so!free [jemalloc.c : 6589 + 0x3] sp = 0x460ffb28 pc = 0x40070945 Found by: stack scanning 12 0x44738266 r4 = 0x452a1880 sp = 0x460ffb30 pc = 0x44738268 Found by: call frame info 13 libqc_b2g_ril.so + 0x5dce4 sp = 0x460ffb3c pc = 0x426e2ce6 Found by: stack scanning 14 libqc_b2g_ril.so + 0x47571 sp = 0x460ffb78 pc = 0x426cc573 Found by: stack scanning
Component: Gaia::System → IPC
Product: Boot2Gecko → Core
Version: unspecified → Trunk
It's #6 top crasher in FxOS 1.0.1 according to https://crash-analysis.mozilla.com/rkaiser/2013-08-04/2013-08-04.b2g.topcrashes.weekly.html close to the topcrash limit we arbitrarily set to 5 in https://wiki.mozilla.org/CrashKill/Topcrash.
What's the crashing line? 220 in RPCChannel.h doesn't match up with ~CxxStackFrame on the mozilla-b2g18 branch on MXR.
(In reply to Josh Matthews [:jdm] from comment #3) > What's the crashing line? 220 in RPCChannel.h doesn't match up with > ~CxxStackFrame on the mozilla-b2g18 branch on MXR. The crash report is from "B2G OS Version: 1.0.1.0-prerelease" so make sure you look at the state of b2g18 we shipped in 1.0.1 and not the current v1-train. Unfortunately we don't yet link those git-built things properly in Socorro (and this is a build created by ZTE, not sure if they are using completely pristine code from us there, but I sure hope they do).
b2g crash
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.