Project

General

Profile

Bug #4254

firefox crashes on hipster if ~/.firefox doesn't exist

Added by Alexander Pyhalov almost 7 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Normal
Category:
OI-Userland
Target version:
-
Start date:
2013-10-21
Due date:
2013-10-23
% Done:

100%

Estimated time:
8.00 h
Difficulty:
Medium
Tags:
firefox

Description

Firefox crashes if user profile wasn't initialized.
It seems to be related to sqlite update.

$ pstack core
core 'core' of 1755:    firefox
-----------------  lwp# 1 / thread# 1  --------------------
 feef5b55 _lwp_kill (1, b, 8037410, 0, feb9ae34, b) + 15
 fee9115b raise    (b, 80374c0, 0, fc83e97e) + 2b
 fc83ea84 __1cNnsProfileLockSFatalSignalHandler6FipnHsiginfo_pv_v_ (b, 80377a4, 80375a4, fef64000, 8037560, feee5a53) + 114
 feef1025 __sighndlr (b, 80377a4, 80375a4, fc83e970, 0, 0) + 15
 feee5a53 call_user_handler (b, 80377a4, 80375a4, 73666f6c, 0, 0) + 292
 feee5ae8 sigacthandler (b, 80377a4, 80375a4) + 77
 --- called from signal handler with signal 11 (SIGSEGV) ---
 fa76bbe4 sqlite3_randomness (4, f4689830, 80379dc, fa7204ba, 0, f4689908) + 134
 fa76c4ac writeJournalHdr (fa7fbf48, f4689a38, f46899a8, 806, 0, 1) + dc
 fa76c8d2 pager_write (0, 0, 0, 0, 0, fa7fd090) + 2c2
 fa76cd15 sqlite3PagerWrite (8037ae4, 0, f4230044, f4668b20, 0, f4668b20) + 355
 fa785f2c newDatabase.part.436 (0, 1, 8037b1c, fa71791d, f4676e60, fa7fb000) + 1c
 fa7865c6 sqlite3BtreeBeginTrans (f4676e60, 0, 1, fa84a040, fa7fb000, f4689400) + 286
 fa796dfa sqlite3VdbeExec (f4676de0, 0, 0, fef64000, fab02a40, fa7fb478) + 10ea
 fa7a473f sqlite3_step (f46723c0, 1, 0, 80381b4, 80381a4, fa9ef040) + 4ef
 fa7a7c16 sqlite3_exec (f4689400, 8038258, 0, 0, 0, 8038244) + 166
 fda97119 __1cHmozillaHstorageKConnectionQExecuteSimpleSQdDL6MrknTnsACString_internal__I_ (f4668a60, 8038244, 2, fda96ecd) + 59
 fda96f5a __1cHmozillaHstorageKConnectionQSetSchemaVersion6Mi_I_ (f4668a60, 2, 70797420, fdb4171e) + 9a
 fdb41736 __1cTnsPermissionManagerLCreateTable6M_I_ (f4668940, 8038354, 8038330, 8038314) + 26
 fdb41391 __1cTnsPermissionManagerGInitDB6Mb_I_ (f4668940, 0, 803873c, fdb40031) + 621
 fdb40045 __1cTnsPermissionManagerEInit6M_I_ (f4668940, fb9fe2b8, 803876c, fdb3fe9e) + 125
 fdb3fef2 __1cTnsPermissionManagerRGetXPCOMSingleton6F_pnUnsIPermissionManager__ (8038840, feb9ae34, 803879c, fdf1acb8, 0, f5cad390) + 62
 fdb3efd9 __1cbFnsIPermissionManagerConstructor6FpnLnsISupports_rknEnsID_ppv_I_ (0, f5cad390, 8038840, fa136044, 8038840, feb9ae34) + 29
 fdf1acb8 __1cHmozillaOGenericFactoryOCreateInstance6MpnLnsISupports_rknEnsID_ppv_I_ (f42064b0, 0, f5cad390, 8038840) + 18
 fdf6a34a __1cWnsComponentManagerImplOCreateInstance6MrknEnsID_pnLnsISupports_rk1ppv_I_ (fa136040, f420f354, 0, f5cad390, 8038840) + 6a
 fdf6a87b __1cWnsComponentManagerImplKGetService6MrknEnsID_rk1ppv_I_ (fa136040, f420f354, f5cad390, 80388a8) + 33b
 fd7aa95c __1cHnsJSCIDKGetService6MppnLnsISupports__I_ (f420f340, 80389e4, 1, feb9ae34, f420f340, b) + 23c
 fdf90a6b NS_InvokeByIndex_P (f420f340, b, 1, 80389e4) + 51
 fd7ce0d3 __1cQXPCWrappedNativeKCallMethod6FrnOXPCCallContext_n0AICallMode__i_ (8038af0, 0, fa1c5e0c, 0) + 953
 fd7dbcbf __1cRXPC_WN_CallMethod6FpnJJSContext_IpnCJSFValue__i_ (f5395220, 1, f4c00638, fe282a61) + 1cf
 fe282f80 __1cCjsMInvokeKernel6FpnJJSContext_n0AICallArgs_n0AOMaybeConstruct__b_ (f5395220, f4c00648, 1, 0) + 530
 fe295272 __1cCjsJInterpret6FpnJJSContext_pn0AKStackFrame_n0AKInterpMode__b_ (f5395220, f4c00600, 0, fe2828ce) + b732
 fe282a21 __1cCjsJRunScript6FpnJJSContext_pnIJSScript_pn0AKStackFrame__b_ (f5395220, f4a199e8, f4c00600, fe282a61) + 161
 fe282ee0 __1cCjsMInvokeKernel6FpnJJSContext_n0AICallArgs_n0AOMaybeConstruct__b_ (f5395220, f4c00600, 0, 0) + 490
 fe246398 __1cLjs_fun_call6FpnJJSContext_IpnCJSFValue__i_ (f5395220, 1, f4c005d8, fe24642e) + 188
 fe246635 __1cMjs_fun_apply6FpnJJSContext_IpnCJSFValue__i_ (f5395220, 1, f4c005d8, fe282a61) + 215
 fe282f80 __1cCjsMInvokeKernel6FpnJJSContext_n0AICallArgs_n0AOMaybeConstruct__b_ (f5395220, f4c005e8, 1, 0) + 530
 fe295272 __1cCjsJInterpret6FpnJJSContext_pn0AKStackFrame_n0AKInterpMode__b_ (f5395220, f4c00590, 0, fe2828ce) + b732
 fe282a21 __1cCjsJRunScript6FpnJJSContext_pnIJSScript_pn0AKStackFrame__b_ (f5395220, f4a198f8, f4c00590, 803c700) + 161
 fe2845bf __1cCjsUInvokeGetterOrSetter6FpnJJSContext_pnIJSObject_rknCJSFValue_Ip69A_b_ (f5395220, f4a27088, 803c838, 0, 0, 803d720) + 63f
 fe2c620e __1cbAjs_GetPropertyHelperInline6FpnJJSContext_pnIJSObject_3iIpnCJSFValue__i_ (f5395220, f4a27088, f4a27088, f4a1fd60, 1, 803d720) + 64e
 fe2c116c __1cUjs_GetPropertyHelper6FpnJJSContext_pnIJSObject_iIpnCJSFValue__i_ (f5395220, f4a27088, f4a1fd60, 1, 803d720, f539bb3c) + 1c
 fe29a775 __1cCjsJInterpret6FpnJJSContext_pn0AKStackFrame_n0AKInterpMode__b_ (f5395220, f4c00540, 0, fe2828ce) + 10c35
 fe282a21 __1cCjsJRunScript6FpnJJSContext_pnIJSScript_pn0AKStackFrame__b_ (f5395220, f4aac268, f4c00540, fe282a61) + 161
 fe282ee0 __1cCjsMInvokeKernel6FpnJJSContext_n0AICallArgs_n0AOMaybeConstruct__b_ (f5395220, f4c00510, 3, 0) + 490
 fe1f60fa __1cUarray_readonlyCommon4nUArrayForEachBehavior__6FpnJJSContext_rnCjsICallArgs__b_ (f5395220, 803e698, f4a807a0, fecea7d0, f4c004f8, 1) + 57a
 fe1f21a0 __1cNarray_forEach6FpnJJSContext_IpnCJSFValue__i_ (f5395220, 1, f4c004e8, fe282a61) + 30
 fe282f80 __1cCjsMInvokeKernel6FpnJJSContext_n0AICallArgs_n0AOMaybeConstruct__b_ (f5395220, f4c004f8, 1, 0) + 530
 fe295272 __1cCjsJInterpret6FpnJJSContext_pn0AKStackFrame_n0AKInterpMode__b_ (f5395220, f4c004a8, 0, fe2828ce) + b732
 fe282a21 __1cCjsJRunScript6FpnJJSContext_pnIJSScript_pn0AKStackFrame__b_ (f5395220, f4aac1f0, f4c004a8, fe282a61) + 161
 fe282ee0 __1cCjsMInvokeKernel6FpnJJSContext_n0AICallArgs_n0AOMaybeConstruct__b_ (f5395220, f4c00478, 3, 0) + 490
 fe1f60fa __1cUarray_readonlyCommon4nUArrayForEachBehavior__6FpnJJSContext_rnCjsICallArgs__b_ (f5395220, 8040528, f4a807a0, fecea7d0, f4c00460, 1) + 57a
 fe1f21a0 __1cNarray_forEach6FpnJJSContext_IpnCJSFValue__i_ (f5395220, 1, f4c00450, fe282a61) + 30
 fe282f80 __1cCjsMInvokeKernel6FpnJJSContext_n0AICallArgs_n0AOMaybeConstruct__b_ (f5395220, f4c00460, 1, 0) + 530
 fe295272 __1cCjsJInterpret6FpnJJSContext_pn0AKStackFrame_n0AKInterpMode__b_ (f5395220, f4c002b0, 0, fe2828ce) + b732
 fe282a21 __1cCjsJRunScript6FpnJJSContext_pnIJSScript_pn0AKStackFrame__b_ (f5395220, f4aa74c0, f4c002b0, fe282a61) + 161
 fe282ee0 __1cCjsMInvokeKernel6FpnJJSContext_n0AICallArgs_n0AOMaybeConstruct__b_ (f5395220, f4c00298, 3, 0) + 490
 fe246582 __1cMjs_fun_apply6FpnJJSContext_IpnCJSFValue__i_ (f5395220, 2, f4c00268, fe282a61) + 162
 fe282f80 __1cCjsMInvokeKernel6FpnJJSContext_n0AICallArgs_n0AOMaybeConstruct__b_ (f5395220, f4c00278, 2, 0) + 530
 fe295272 __1cCjsJInterpret6FpnJJSContext_pn0AKStackFrame_n0AKInterpMode__b_ (f5395220, f4c00188, 0, fe2828ce) + b732
 fe282a21 __1cCjsJRunScript6FpnJJSContext_pnIJSScript_pn0AKStackFrame__b_ (f5395220, f4a57538, f4c00188, fe282a61) + 161
 fe282ee0 __1cCjsMInvokeKernel6FpnJJSContext_n0AICallArgs_n0AOMaybeConstruct__b_ (f5395220, f4c00158, 3, 0) + 490
 fe1f60fa __1cUarray_readonlyCommon4nUArrayForEachBehavior__6FpnJJSContext_rnCjsICallArgs__b_ (f5395220, 8044198, f4a17b60, fecea7d0, f4c00140, 1) + 57a
 fe1f21a0 __1cNarray_forEach6FpnJJSContext_IpnCJSFValue__i_ (f5395220, 1, f4c00130, fe282a61) + 30
 fe282f80 __1cCjsMInvokeKernel6FpnJJSContext_n0AICallArgs_n0AOMaybeConstruct__b_ (f5395220, f4c00140, 1, 0) + 530
 fe295272 __1cCjsJInterpret6FpnJJSContext_pn0AKStackFrame_n0AKInterpMode__b_ (f5395220, f4c00038, 0, fe2828ce) + b732
 fe282a21 __1cCjsJRunScript6FpnJJSContext_pnIJSScript_pn0AKStackFrame__b_ (f5395220, f4a7aa60, f4c00038, 8045eb0) + 161
 fe2835c5 __1cCjsGInvoke6FpnJJSContext_rknCJSFValue_6Ip47_b_ (f5395220, 8045f78, 8045fa8, 3, 804633c, 80461b8) + 5f5
 fe1d9031 JS_CallFunctionValue (f5395220, f4a6c820, f4a72dd0, ffffff87, 3, 804633c) + 81
 fd7c622d __1cTnsXPCWrappedJSClassKCallMethod6MpnOnsXPCWrappedJS_HpknTXPTMethodDescriptor_pnRnsXPTCMiniVariant__I_ (f4610670, f4659c40, 3, f5c8b978, 8046790, 0) + 219d
 fd7bd65f __1cOnsXPCWrappedJSKCallMethod6MHpknTXPTMethodDescriptor_pnRnsXPTCMiniVariant__I_ (f4659c40, 3, f5c8b978, 8046790) + 15f
 fdf9099f __1cSPrepareAndDispatch6FpnOnsXPTCStubBase_IpI_I_ (f53926e0, 3, 8046854) + 1af
 fdf90a99 __1cOnsXPTCStubBaseFStub36M_I_ (f53926e0, 0, fe7222a8, 0) + 22
 fc839bab __1cQnsXREDirProviderJDoStartup6M_I_ (80469d0, 80469d4, fe720628, 0) + 9b
 fc8334ac XRE_main (1) + 204c
 08052f87 main     (1, 8047a80, 8047a88, 0) + 527
 08052987 _start   (1, 8047b98, 0, 8047ba0, fa80d640, fa8012d0) + 67
-----------------  lwp# 2 / thread# 2  --------------------
 feef4c97 _portfs  (18, f664ecf0, 8, f664ece4, 0, f664eeb8) + 7
 fdfbe183 evport_dispatch (fa863000, fa1210a0, 0, fdfb413e) + 223
 fdfb428a event_base_loop (fa863000, 1, f664ee58, fe036c0e) + 15a
 fe036d50 __1cEbaseTMessagePumpLibeventDRun6Mpn0ALMessagePumpIDelegate__v_ (fa112fd0, f664eeb0, f664ee98, fdfd6c2c) + 150
 fdfd6c55 __1cLMessageLoopDRun6M_v_ (f664eeb0, fa118714, f664efa8, fdff6b48) + 35
 fdff6b9f __1cEbaseGThreadKThreadMain6M_v_ (fa118700, 3, fa4a0aa0, fef64000, fa4a0a40, 0) + 8f
 fe0370a2 __1cKThreadFunc6Fpv_0_ (fa118700, 0, 0, 0) + 12
 feef0dad _thrp_setup (fa4a0a40) + 88
 feef0f40 _lwp_start (fa4a0a40, 0, 0, 0, 0, 0)
-----------------  lwp# 3 / thread# 3  --------------------
 feef0f99 __lwp_park (fa124864, fa122340, 0, fef64000, fa80fa50, fa1248a0) + 19
 feeeb058 cond_wait_queue (fa124864, fa122340, 0, feeeb76d, fa1248a4, fa80f974) + 6a
 feeeb6d0 __cond_wait (fa124864, fa122340, 0, fb9e6619, fef64000, fa80fa50) + 8f
 feeeb724 cond_wait (fa124864, fa122340, f654fe48, fb9fead0, fa1212e0, fb9fe2b8) + 2e
 feeeb76d pthread_cond_wait (fa124864, fa122340, f654fe78, fb9deb4a) + 24
 fb9debb8 PR_WaitCondVar (fa124860, ffffffff, f6690018, fdf8b64d) + 88
 fdf8b67f __1cWnsCycleCollectorRunnerDRun6M_I_ (fa1212e0, 1, f654fecc, fdf7402a) + 4f
 fdf7425b __1cInsThreadQProcessNextEvent6Mbpb_I_ (fa1223a0, 1, f654ff3c, fdf1538d) + 24b
 fdf153c4 __1cVNS_ProcessNextEvent_P6FpnJnsIThread_b_b_ (fa1223a0, 1, f654ff6c, fdf7341d) + 44
 fdf73493 __1cInsThreadKThreadFunc6Fpv_v_ (fa1223a0) + 93
 fb9e5e9b _pt_root (fa80fa50, 0, 0, 0) + 9b
 feef0dad _thrp_setup (fa4a1240) + 88
 feef0f40 _lwp_start (fa4a1240, 0, 0, 0, 0, 0)
-----------------  lwp# 4 / thread# 4  --------------------
 feef0f99 __lwp_park (fa1242c4, fa1221c0, f5dfed48, 3, 0, fefce995) + 19
 feeeb058 cond_wait_queue (fa1242c4, fa1221c0, f5dfed48, feece3ca, 3, f5dfece8) + 6a
 feeeb32c cond_wait_common (fa1242c4, fa1221c0, f5dfed48, fef70018, f5dfedf0, fefdb936) + 27b
 feeeb50e __cond_timedwait (fa1242c4, fa1221c0, f5dfedc0, fa1242c0, fef64000, 289e8770) + 85
 feeeb5d4 cond_timedwait (fa1242c4, fa1221c0, f5dfedc0, f5dfedc0, f5dfedd8, fb9fe2b8) + 35
 feeeb624 pthread_cond_timedwait (fa1242c4, fa1221c0, f5dfedc0, 207) + 2b
 fb9de9b2 pt_TimedWait (fa1242c4, fa1221c0, f4157, fb9deb4a) + b2
 fb9deb9d PR_WaitCondVar (fa1242c0, f4157, f5dfee48, e35791f8) + 6d
 fdf7acd0 __1cLTimerThreadDRun6M_I_ (fa839480, 1, f5dfeecc, fdf7402a) + 350
 fdf7425b __1cInsThreadQProcessNextEvent6Mbpb_I_ (fa122fa0, 1, f5dfef3c, fdf1538d) + 24b
 fdf153c4 __1cVNS_ProcessNextEvent_P6FpnJnsIThread_b_b_ (fa122fa0, 1, f5dfef6c, fdf7341d) + 44
 fdf73493 __1cInsThreadKThreadFunc6Fpv_v_ (fa122fa0) + 93
 fb9e5e9b _pt_root (fa80fb30, 0, 0, 0) + 9b
 feef0dad _thrp_setup (fa4a1a40) + 88
 feef0f40 _lwp_start (fa4a1a40, 0, 0, 0, 0, 0)
-----------------  lwp# 5 / thread# 5  --------------------
 feef5665 __pollsys (f5bfeb60, 1, 0, 0, fb9e35ad, 1) + 15
 fee8e2d6 poll     (f5bfeb60, 1, ffffffff, fb9e304d) + 66
 fb9e35ad _pr_poll_with_poll (fa8da360, 1, ffffffff, f5cf4ca0, f5bfedd8, fef70018) + 57d
 fb9e3754 PR_Poll  (fa8da360, 1, ffffffff, fc886752) + 14
 fc88678f __1cYnsSocketTransportServiceEPoll6MbpI_i_ (fa16d760, 1, f5bfee64, fc886daa) + af
 fc88736e __1cYnsSocketTransportServiceDRun6M_I_ (fa16d760, 1, f5bfeecc, fdf7402a) + 62e
 fdf7425b __1cInsThreadQProcessNextEvent6Mbpb_I_ (fa16d820, 1, f5bfef3c, fdf1538d) + 24b
 fdf153c4 __1cVNS_ProcessNextEvent_P6FpnJnsIThread_b_b_ (fa16d820, 1, f5bfef6c, fdf7341d) + 44
 fdf73493 __1cInsThreadKThreadFunc6Fpv_v_ (fa16d820) + 93
 fb9e5e9b _pt_root (fa80fdd0, 0, 0, 0) + 9b
 feef0dad _thrp_setup (fa4a2240) + 88
 feef0f40 _lwp_start (fa4a2240, 0, 0, 0, 0, 0)
-----------------  lwp# 6 / thread# 6  --------------------
 feef0f99 __lwp_park (f533bbe4, f5cc8e80, 0, fef64000, 0, fef64000) + 19
 feeeb058 cond_wait_queue (f533bbe4, f5cc8e80, 0, f5cc8e90, f5cc8e80, f6677c00) + 6a
 feeeb6d0 __cond_wait (f533bbe4, f5cc8e80, f5cc8e80, fb9e6619, fef64000, f5301400) + 8f
 feeeb724 cond_wait (f533bbe4, f5cc8e80, 0, fb9fead0, f5301400, fb9fe2b8) + 2e
 feeeb76d pthread_cond_wait (f533bbe4, f5cc8e80, f523ef28, fb9deb4a) + 24
 fb9debb8 PR_WaitCondVar (f533bbe0, ffffffff, 0, fe2501ae) + 88
 fe2501ef __1cCjsOGCHelperThreadKthreadLoop6M_v_ (f538b4bc, 6, f523efc8, fe25017c) + 4f
 fe25018e __1cCjsOGCHelperThreadKthreadMain6Fpv_v_ (f538b4bc) + 1e
 fb9e5e9b _pt_root (f5301400, 0, 0, 0) + 9b
 feef0dad _thrp_setup (fa4a2a40) + 88
 feef0f40 _lwp_start (fa4a2a40, 0, 0, 0, 0, 0)
-----------------  lwp# 7 / thread# 7  --------------------
 feef0f99 __lwp_park (f533bc44, f5cc8e80, f513fe78, fa4a3240, f513fe10, fef64000) + 19
 feeeb058 cond_wait_queue (f533bc44, f5cc8e80, f513fe78, feece3ca, 3, f513fe18) + 6a
 feeeb32c cond_wait_common (f533bc44, f5cc8e80, f513fe78, 3, 0, fefce995) + 27b
 feeeb50e __cond_timedwait (f533bc44, f5cc8e80, f513fef0, fb9b5318, fef64000, 368b8428) + 85
 feeeb5d4 cond_timedwait (f533bc44, f5cc8e80, f513fef0, f533bc40, 0, fb9fe2b8) + 35
 feeeb624 pthread_cond_timedwait (f533bc44, f5cc8e80, f513fef0, 203) + 2b
 fb9de9b2 pt_TimedWait (f533bc44, f5cc8e80, 186a0, fb9deb4a) + b2
 fb9deb9d PR_WaitCondVar (f533bc40, 186a0) + 6d
 fd7ae378 __1cMXPCJSRuntimeMWatchdogMain6Fpv_v_ (fa8ed8e0) + 98
 fb9e5e9b _pt_root (f5301470, 0, 0, 0) + 9b
 feef0dad _thrp_setup (fa4a3240) + 88
 feef0f40 _lwp_start (fa4a3240, 0, 0, 0, 0, 0)

History

#1

Updated by Alexander Pyhalov almost 7 years ago

  • % Done changed from 0 to 100

Fixed by https://github.com/OpenIndiana/oi-userland/commit/a90e5c7522eba6d5ddea7b23d73b3bf689394080 .

However, the original reason for the bug is not identified.

#2

Updated by Ken Mays almost 7 years ago

  • Due date set to 2013-10-23
  • Category set to 10
  • Status changed from New to Resolved
  • Estimated time set to 8.00 h
  • Tags changed from needs-triage to firefox

Tested and resolved in hipster ISO release 10.23.2013.

Also available in: Atom PDF