Titanium JIRA Archive
Appcelerator Community (AC)

[AC-433] libTiCore random crash: EXEC_BAD_ACCESS

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionHold
Resolution Date2015-12-09T08:58:48.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
LabelsTCSupportTriage
ReporterMartin Guillon
AssigneeRakhi Mitro
Created2014-12-22T16:18:11.000+0000
Updated2015-12-09T09:01:40.000+0000

Description

I am building Titanium from the sources. Recently i started having random EXEC_BAD_ACCESS out of libTiCore calls. I think it comes from the 64bit build version. It's really tough to get debug data on this as it appears as memory leaks so without any real trace. But i just got this one running on a iphone 5s
1   0x1004d9130 TI::CodeBlock::CodeBlock(TI::ScriptExecutable*, TI::UnlinkedCodeBlock*, TI::JSScope*, WTI::PassRefPtr<TI::SourceProvider>, unsigned int, unsigned int)
2   0x1005033b8 TI::ScriptExecutable::newCodeBlockFor(TI::CodeSpecializationKind, TI::JSScope*, TI::JSObject*&)
3   0x10050372c TI::ScriptExecutable::prepareForExecutionImpl(TI::ExecState*, TI::JSScope*, TI::CodeSpecializationKind)
4   0x1006019e0 TI::LLInt::setUpCall(TI::ExecState*, TI::Instruction*, TI::CodeSpecializationKind, TI::TiValue, TI::LLIntCallLinkInfo*)
5   0x1006076a4 llint_op_call
Let me know what i can do to help

Attachments

FileDateSize
screenshot-1.jpg2014-12-23T14:20:16.000+000072397

Comments

  1. Martin Guillon 2014-12-22

    I might have found more info. Those are warning from xcode when building Titanium KitchenSink with libTiCore 21
       ld: warning: arm64 function not 4-byte aligned: ltmp0 from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _callToJavaScript from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _returnFromJavaScript from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _callToNativeFunction from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_begin from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_program_prologue from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_eval_prologue from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_function_for_call_prologue from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_function_for_construct_prologue from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_function_for_call_arity_check from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_function_for_construct_arity_check from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_enter from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_create_activation from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_init_lazy_reg from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_create_arguments from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_create_this from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_get_callee from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_to_this from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_new_object from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_mov from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_captured_mov from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_not from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_eq from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_neq from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_eq_null from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_neq_null from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_stricteq from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_nstricteq from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_inc from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_dec from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_to_number from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_negate from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_add from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_mul from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_sub from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_div from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_lshift from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_rshift from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_urshift from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_unsigned from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_bitand from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_bitxor from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_bitor from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_check_has_instance from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_instanceof from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_is_undefined from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_is_boolean from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_is_number from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_is_string from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_init_global_const from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_get_by_id from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_get_by_id_out_of_line from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_get_array_length from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_get_arguments_length from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_put_by_id from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_put_by_id_out_of_line from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_put_by_id_transition_direct from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_put_by_id_transition_direct_out_of_line from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_put_by_id_transition_normal from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_put_by_id_transition_normal_out_of_line from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_get_by_val from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_get_argument_by_val from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_get_by_pname from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_put_by_val from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_put_by_val_direct from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_jmp from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_jeq_null from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_jneq_null from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_jneq_ptr from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_switch_imm from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_switch_char from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_new_func from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_new_captured_func from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_tear_off_activation from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_tear_off_arguments from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_ret from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_ret_object_or_this from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_to_primitive from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_next_pname from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_catch from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_end from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_throw_from_slow_path_trampoline from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_throw_during_call_trampoline from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_resolve_scope from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_get_from_scope from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_put_to_scope from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_touch_entry from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_new_array from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_new_array_with_size from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_new_array_buffer from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_new_regexp from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_less from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_lesseq from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_greater from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_greatereq from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_mod from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_typeof from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_is_object from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_is_function from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_in from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_del_by_id from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_del_by_val from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_put_by_index from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_put_getter_setter from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_jtrue from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_jfalse from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_jless from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_jnless from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_jgreater from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_jngreater from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_jlesseq from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_jnlesseq from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_jgreatereq from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_jngreatereq from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_loop_hint from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_switch_string from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_new_func_exp from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_call from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_construct from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_call_varargs from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_call_eval from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_generic_return_point from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_strcat from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_get_pnames from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_push_with_scope from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_pop_scope from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_push_name_scope from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_throw from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_throw_static_error from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_profile_will_call from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_profile_did_call from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_debug from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_native_call_trampoline from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_native_construct_trampoline from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_get_by_id_chain from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_get_by_id_custom_chain from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_get_by_id_custom_proto from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_get_by_id_custom_self from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_get_by_id_generic from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_get_by_id_getter_chain from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_get_by_id_getter_proto from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_get_by_id_getter_self from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_get_by_id_proto from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_get_by_id_self from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_get_string_length from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_put_by_id_generic from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_put_by_id_replace from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_put_by_id_transition from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_op_init_global_const_nop from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       ld: warning: arm64 function not 4-byte aligned: _llint_end from /Volumes/data/dev/titanium/titanium_mobile/iphone/lib/libTiCore.a(LowLevelInterpreter.o)
       
  2. Martin Guillon 2014-12-23

    Just had it using Titanium Kitchensink after the very last commit (rev 19ef4b8) I should mention again that it is not a reproducible error in the sense that it is totally random :s This is the log
       [DEBUG] Loading: /private/var/mobile/Containers/Bundle/Application/C94B6A82-F2F0-4A88-9C9B-B678519E2B21/Titanium.app/examples/suds.js, Resource: examples/suds_js
       1   0x1002ee138 TI::CodeBlock::CodeBlock(TI::ScriptExecutable*, TI::UnlinkedCodeBlock*, TI::JSScope*, WTI::PassRefPtr<TI::SourceProvider>, unsigned int, unsigned int)
       2   0x100318bf8 TI::ScriptExecutable::newCodeBlockFor(TI::CodeSpecializationKind, TI::JSScope*, TI::JSObject*&)
       3   0x100318f6c TI::ScriptExecutable::prepareForExecutionImpl(TI::ExecState*, TI::JSScope*, TI::CodeSpecializationKind)
       4   0x100417220 TI::LLInt::setUpCall(TI::ExecState*, TI::Instruction*, TI::CodeSpecializationKind, TI::TiValue, TI::LLIntCallLinkInfo*)
       5   0x10041cee4 llint_op_call
       (lldb) 
       
    I attached a screenshot of the callstack
  3. Ingo Muschenetz 2015-01-18

    Have you been able to reproduce this recently? We've made several TiCore updates since then.
  4. Martin Guillon 2015-01-20

    Still happening on the very last master branch
       1   0x100543454 TI::ParserArena::allocateFreeablePool()
       2   0x1004f6214 TI::ParserArena::allocateDeletable(unsigned long)
       3   0x1004e798c TI::Parser<TI::Lexer<unsigned char> >::parseInner()
       4   0x100598754 WTI::PassRefPtr<TI::FunctionBodyNode> TI::Parser<TI::Lexer<unsigned char> >::parse<TI::FunctionBodyNode>(TI::ParserError&)
       5   0x10059838c WTI::PassRefPtr<TI::FunctionBodyNode> TI::parse<TI::FunctionBodyNode>(TI::VM*, TI::SourceCode const&, TI::FunctionParameters*, TI::Identifier const&, TI::JSParserStrictness, TI::JSParserMode, TI::ParserError&, TI::JSTextPosition*)
       6   0x1005972c4 TI::UnlinkedFunctionExecutable::codeBlockFor(TI::VM&, TI::SourceCode const&, TI::CodeSpecializationKind, TI::DebuggerMode, TI::ProfilerMode, TI::ParserError&)
       7   0x1003b2344 TI::ScriptExecutable::newCodeBlockFor(TI::CodeSpecializationKind, TI::JSScope*, TI::JSObject*&)
       8   0x1003b2744 TI::ScriptExecutable::prepareForExecutionImpl(TI::ExecState*, TI::JSScope*, TI::CodeSpecializationKind)
       9   0x1003c4e38 TI::Interpreter::executeCall(TI::ExecState*, TI::JSObject*, TI::CallType, TI::CallData const&, TI::TiValue, TI::ArgList const&)
       10  0x1004572b4 TiObjectCallAsFunction
       11  0x1002857b4 TiBindingEventProcess
       12  0x100285aec -[TiBindingCallbackInvoke invoke:]
       13  0x10004a0cc -[KrollContext invoke:]
       14  0x10004bafc -[KrollContext main]
       15  0x184bbdc0c <redacted>
       16  0x194c1fe80 <redacted>
       17  0x194c1fddc <redacted>
       18  0x194c1cfb0 thread_start
       
    But i don't see any update to libTiCore, still at 21. Is that normal?
  5. Ingo Muschenetz 2015-01-20

    I see 23, here: https://github.com/appcelerator/titanium_mobile/blob/master/iphone/SConstruct#L8
  6. Martin Guillon 2015-01-20

    Indeed i missed it! Will run some test and report. Might take a few days. Thanks
  7. Martin Guillon 2015-03-18

    Sorry it s been a long time since i last reported on this one. It was going really well for the past weeks. I am running libTiCore 24. But yesterday i had a crash report from testfairy which i think is related to libTiCore I know it s not a lot to work on but i don't see how to get more. And i never got this one in my dev env :s
       Incident Identifier: AF14700B-B218-40E5-A650-3238BBD3CC91
       CrashReporter Key:
       Hardware Model:      iPhone6,2
       Process:             Suggest A Move V [1113]
       Path:                /private/var/mobile/Containers/Bundle/Application/3C83CB24-5738-4523-8A88-92A989576FC0/Suggest A Move VTT.app/Suggest A Move VTT
       Identifier:          akylas.quantifiedpeople.samvtt
       Version:             45
       Code Type:           ARM-64
       Parent Process:      launchd [1]
       
       Date/Time:           2015-03-17 21:16:26 +0000
       OS Version:          iPhone OS 8.2 (12D508)
       Report Version:      104
       
       Exception Type:  SIGSEGV
       Exception Codes: SEGV_ACCERR at 0xbbadbeef
       Crashed Thread:  2
       
       Thread 0:
       0   libsystem_kernel.dylib              0x19885b0c0 __psynch_mutexwait (in libsystem_kernel.dylib) + 8
       1   Suggest A Move VTT                  0x1003b13c0 TI::JSLock::grabAllLocks(unsigned int, TCMalloc_SpinLock&) (in Suggest A Move VTT) + 92
       2   Suggest A Move VTT                  0x1003b181c TI::JSLock::DropAllLocks::~DropAllLocks() (in Suggest A Move VTT) + 128
       3   Suggest A Move VTT                  0x100424228 TI::DelayedReleaseScope::~DelayedReleaseScope() (in Suggest A Move VTT) + 448
       4   Suggest A Move VTT                  0x10042341c TI::MarkedAllocator::allocateSlowCase(unsigned long) (in Suggest A Move VTT) + 252
       5   Suggest A Move VTT                  0x1003cbbc4 TI::JSPropertyNameIterator::create(TI::ExecState*, TI::JSObject*) (in Suggest A Move VTT) + 728
       6   Suggest A Move VTT                  0x1004174a8 llint_slow_path_get_pnames (in Suggest A Move VTT) + 524
       7   Suggest A Move VTT                  0x10041eeb4 llint_op_get_pnames (in Suggest A Move VTT) + 20
       
       Thread 1:
       0   libsystem_kernel.dylib              0x198840c24 kevent64 (in libsystem_kernel.dylib) + 8
       1   libdispatch.dylib                   0x19871799c _dispatch_source_invoke (in libdispatch.dylib) + 0
       
       Thread 2 Crashed:
       0   Suggest A Move VTT                  0x1005243a8 Ti_WTFCrash (in Suggest A Move VTT) + 72
       1   Suggest A Move VTT                  0x100326024 TI::Heap::collect(TI::Heap::SweepToggle) (in Suggest A Move VTT) + 1380
       2   Suggest A Move VTT                  0x100325a90 TI::Heap::collectAllGarbage() (in Suggest A Move VTT) + 68
       3   Suggest A Move VTT                  0x100376978 TiGarbageCollect (in Suggest A Move VTT) + 112
       4   Suggest A Move VTT                  0x100060490 -[KrollContext forceGarbageCollectNow] (in Suggest A Move VTT) (KrollContext.m:1142)
       5   Suggest A Move VTT                  0x100060d58 -[KrollContext main] (in Suggest A Move VTT) (KrollContext.m:1152)
       6   Foundation                          0x188032308 __NSThread__main__ (in Foundation) + 1072
       7   libsystem_pthread.dylib             0x1988f7dc8 _pthread_body (in libsystem_pthread.dylib) + 164
       8   libsystem_pthread.dylib             0x1988f7d24 _pthread_body (in libsystem_pthread.dylib) + 0
       9   libsystem_pthread.dylib             0x1988f4ef8 thread_start (in libsystem_pthread.dylib) + 4
       
  8. Rakhi Mitro 2015-12-03

    Hello [~farfromrefuge], Are you still experiencing this issue ? Please let us know if there any concern with libTiCore 24. Thanks
  9. Martin Guillon 2015-12-09

    Hi, Sorry for not answering sooner. Recently i have been trying the run-on-main option and did not see it. I will go back and remove it to see if i still see this. Thanks

JSON Source