MantisBT - VCMI
View Issue Details
0001673VCMIMechanics - Adventure Mappublic2014-01-30 18:522014-06-02 11:33
beegee 
Tow 
highcrashhave not tried
closedfixed 
 
 
0001673: Crash when loading one of the last scenarios in the SoD campaign Unholy alliance
The server crashes when loading one of the last scenarios in the SoD campaign Unholy alliance. According to stacktrace it's a problem with victory/loss conditions. The map where the crash occured was either Barbarian Brothers or To Strive, To seek.
Stacktrace (it's really great that we now have server logging on linux when a SIGSEV occurs -> server executable is tedious to debug):

Error: signal 11:
/usr/local/bin/vcmiserver(_Z17handleLinuxSignali+0x26) [0x797126]
/lib64/libc.so.6() [0x39c7e35cd0]
/home/bge/VCMI/trunk/build/lib/libvcmi.so(_ZeqRK3ObjRKNS_4EObjE+0x10) [0x7ffff796e120]
/home/bge/VCMI/trunk/build/lib/libvcmi.so(_ZN4CMap22getObjectiveObjectFromE4int3N3Obj4EObjE+0x23f) [0x7ffff77ff30f]
/home/bge/VCMI/trunk/build/lib/libvcmi.so(+0xe6a21f) [0x7ffff780021f]
/home/bge/VCMI/trunk/build/lib/libvcmi.so(+0xe69cb2) [0x7ffff77ffcb2]
/home/bge/VCMI/trunk/build/lib/libvcmi.so(_ZNKSt8functionIFvR14EventConditionEEclES1_+0x58) [0x7ffff7802a78]
/home/bge/VCMI/trunk/build/lib/libvcmi.so(_ZNK23LogicalExpressionDetail14ForEachVisitorI14EventConditionEclERS1_+0x1d) [0x7ffff7802a0d]
/home/bge/VCMI/trunk/build/lib/libvcmi.so(_ZN5boost6detail7variant14invoke_visitorIKN23LogicalExpressionDetail14ForEachVisitorI14EventConditionEEE14internal_visitIS5_EEvRT_i+0x23) [0x7ffff7803413]
/home/bge/VCMI/trunk/build/lib/libvcmi.so(_ZN5boost6detail7variant27visitation_impl_invoke_implINS1_14invoke_visitorIKN23LogicalExpressionDetail14ForEachVisitorI14EventConditionEEEEPvS6_EENT_11result_typeEiRSB_T0_PT1_N4mpl_5bool_ILb0EEE+0x49) [0x7ffff78033b9]
/home/bge/VCMI/trunk/build/lib/libvcmi.so(_ZN5boost6detail7variant22visitation_impl_invokeINS1_14invoke_visitorIKN23LogicalExpressionDetail14ForEachVisitorI14EventConditionEEEEPvS6_NS_7variantINS4_14ExpressionBaseIS6_E7ElementILNSD_11EOperationsE1EEENSE_ILSF_0EEENSE_ILSF_2EEES6_NS1_5void_ESJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_E18has_fallback_type_EEENT_11result_typeEiRSM_T0_PT1_T2_i+0x2f) [0x7ffff78032bf]
/home/bge/VCMI/trunk/build/lib/libvcmi.so(_ZN5boost6detail7variant15visitation_implIN4mpl_4int_ILi0EEENS1_20visitation_impl_stepINS_3mpl6l_iterINS7_6l_itemINS3_5long_ILl4EEEN23LogicalExpressionDetail14ExpressionBaseI14EventConditionE7ElementILNSF_11EOperationsE1EEENS9_INSA_ILl3EEENSG_ILSH_0EEENS9_INSA_ILl2EEENSG_ILSH_2EEENS9_INSA_ILl1EEESE_NS7_5l_endEEEEEEEEEEENS8_ISO_EEEENS1_14invoke_visitorIKNSC_14ForEachVisitorISE_EEEEPvNS_7variantISI_SK_SM_SE_NS1_5void_ES13_S13_S13_S13_S13_S13_S13_S13_S13_S13_S13_S13_S13_S13_S13_E18has_fallback_type_EEENT1_11result_typeEiiRS16_T2_NS3_5bool_ILb0EEET3_PT_PT0_+0xe5) [0x7ffff7802eb5]
/home/bge/VCMI/trunk/build/lib/libvcmi.so(_ZN5boost7variantIN23LogicalExpressionDetail14ExpressionBaseI14EventConditionE7ElementILNS4_11EOperationsE1EEENS5_ILS6_0EEENS5_ILS6_2EEES3_NS_6detail7variant5void_ESC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_E27internal_apply_visitor_implINSB_14invoke_visitorIKNS1_14ForEachVisitorIS3_EEEEPvEENT_11result_typeEiiRSL_T0_+0x39) [0x7ffff7802dc9]
/home/bge/VCMI/trunk/build/lib/libvcmi.so(_ZN5boost7variantIN23LogicalExpressionDetail14ExpressionBaseI14EventConditionE7ElementILNS4_11EOperationsE1EEENS5_ILS6_0EEENS5_ILS6_2EEES3_NS_6detail7variant5void_ESC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_E22internal_apply_visitorINSB_14invoke_visitorIKNS1_14ForEachVisitorIS3_EEEEEENT_11result_typeERSK_+0x55) [0x7ffff7802d85]
/home/bge/VCMI/trunk/build/lib/libvcmi.so(_ZN5boost7variantIN23LogicalExpressionDetail14ExpressionBaseI14EventConditionE7ElementILNS4_11EOperationsE1EEENS5_ILS6_0EEENS5_ILS6_2EEES3_NS_6detail7variant5void_ESC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_E13apply_visitorIKNS1_14ForEachVisitorIS3_EEEENT_11result_typeERSI_+0x35) [0x7ffff7802cf5]
/home/bge/VCMI/trunk/build/lib/libvcmi.so(_ZN5boost13apply_visitorIN23LogicalExpressionDetail14ForEachVisitorI14EventConditionEENS_7variantINS1_14ExpressionBaseIS3_E7ElementILNS7_11EOperationsE1EEENS8_ILS9_0EEENS8_ILS9_2EEES3_NS_6detail7variant5void_ESF_SF_SF_SF_SF_SF_SF_SF_SF_SF_SF_SF_SF_SF_SF_EEEENT_11result_typeERKSH_RT0_+0x1d) [0x7ffff7802c8d]
/home/bge/VCMI/trunk/build/lib/libvcmi.so(_ZNK23LogicalExpressionDetail14ForEachVisitorI14EventConditionEclERNS_14ExpressionBaseIS1_E7ElementILNS4_11EOperationsE1EEE+0x71) [0x7ffff78036e1]
/home/bge/VCMI/trunk/build/lib/libvcmi.so(_ZN5boost6detail7variant14invoke_visitorIKN23LogicalExpressionDetail14ForEachVisitorI14EventConditionEEE14internal_visitINS3_14ExpressionBaseIS5_E7ElementILNSB_11EOperationsE1EEEEEvRT_i+0x23) [0x7ffff7803663]
/home/bge/VCMI/trunk/build/lib/libvcmi.so(_ZN5boost6detail7variant27visitation_impl_invoke_implINS1_14invoke_visitorIKN23LogicalExpressionDetail14ForEachVisitorI14EventConditionEEEEPvNS4_14ExpressionBaseIS6_E7ElementILNSC_11EOperationsE1EEEEENT_11result_typeEiRSG_T0_PT1_N4mpl_5bool_ILb1EEE+0x3c) [0x7ffff780362c]
/home/bge/VCMI/trunk/build/lib/libvcmi.so(_ZN5boost6detail7variant22visitation_impl_invokeINS1_14invoke_visitorIKN23LogicalExpressionDetail14ForEachVisitorI14EventConditionEEEEPvNS4_14ExpressionBaseIS6_E7ElementILNSC_11EOperationsE1EEENS_7variantISF_NSD_ILSE_0EEENSD_ILSE_2EEES6_NS1_5void_ESJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_E18has_fallback_type_EEENT_11result_typeEiRSM_T0_PT1_T2_i+0x2f) [0x7ffff78031ff]
/home/bge/VCMI/trunk/build/lib/libvcmi.so(_ZN5boost6detail7variant15visitation_implIN4mpl_4int_ILi0EEENS1_20visitation_impl_stepINS_3mpl6l_iterINS7_6l_itemINS3_5long_ILl4EEEN23LogicalExpressionDetail14ExpressionBaseI14EventConditionE7ElementILNSF_11EOperationsE1EEENS9_INSA_ILl3EEENSG_ILSH_0EEENS9_INSA_ILl2EEENSG_ILSH_2EEENS9_INSA_ILl1EEESE_NS7_5l_endEEEEEEEEEEENS8_ISO_EEEENS1_14invoke_visitorIKNSC_14ForEachVisitorISE_EEEEPvNS_7variantISI_SK_SM_SE_NS1_5void_ES13_S13_S13_S13_S13_S13_S13_S13_S13_S13_S13_S13_S13_S13_S13_E18has_fallback_type_EEENT1_11result_typeEiiRS16_T2_NS3_5bool_ILb0EEET3_PT_PT0_+0x76) [0x7ffff7802e46]
/home/bge/VCMI/trunk/build/lib/libvcmi.so(_ZN5boost7variantIN23LogicalExpressionDetail14ExpressionBaseI14EventConditionE7ElementILNS4_11EOperationsE1EEENS5_ILS6_0EEENS5_ILS6_2EEES3_NS_6detail7variant5void_ESC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_E27internal_apply_visitor_implINSB_14invoke_visitorIKNS1_14ForEachVisitorIS3_EEEEPvEENT_11result_typeEiiRSL_T0_+0x39) [0x7ffff7802dc9]
/home/bge/VCMI/trunk/build/lib/libvcmi.so(_ZN5boost7variantIN23LogicalExpressionDetail14ExpressionBaseI14EventConditionE7ElementILNS4_11EOperationsE1EEENS5_ILS6_0EEENS5_ILS6_2EEES3_NS_6detail7variant5void_ESC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_E22internal_apply_visitorINSB_14invoke_visitorIKNS1_14ForEachVisitorIS3_EEEEEENT_11result_typeERSK_+0x55) [0x7ffff7802d85]
/home/bge/VCMI/trunk/build/lib/libvcmi.so(_ZN5boost7variantIN23LogicalExpressionDetail14ExpressionBaseI14EventConditionE7ElementILNS4_11EOperationsE1EEENS5_ILS6_0EEENS5_ILS6_2EEES3_NS_6detail7variant5void_ESC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_E13apply_visitorIKNS1_14ForEachVisitorIS3_EEEENT_11result_typeERSI_+0x35) [0x7ffff7802cf5]
/home/bge/VCMI/trunk/build/lib/libvcmi.so(_ZN5boost13apply_visitorIN23LogicalExpressionDetail14ForEachVisitorI14EventConditionEENS_7variantINS1_14ExpressionBaseIS3_E7ElementILNS7_11EOperationsE1EEENS8_ILS9_0EEENS8_ILS9_2EEES3_NS_6detail7variant5void_ESF_SF_SF_SF_SF_SF_SF_SF_SF_SF_SF_SF_SF_SF_SF_EEEENT_11result_typeERKSH_RT0_+0x1d) [0x7ffff7802c8d]
/home/bge/VCMI/trunk/build/lib/libvcmi.so(_ZNK23LogicalExpressionDetail14ForEachVisitorI14EventConditionEclERNS_14ExpressionBaseIS1_E7ElementILNS4_11EOperationsE2EEE+0x71) [0x7ffff7802b71]
/home/bge/VCMI/trunk/build/lib/libvcmi.so(_ZN5boost6detail7variant14invoke_visitorIKN23LogicalExpressionDetail14ForEachVisitorI14EventConditionEEE14internal_visitINS3_14ExpressionBaseIS5_E7ElementILNSB_11EOperationsE2EEEEEvRT_i+0x23) [0x7ffff78034d3]
/home/bge/VCMI/trunk/build/lib/libvcmi.so(_ZN5boost6detail7variant27visitation_impl_invoke_implINS1_14invoke_visitorIKN23LogicalExpressionDetail14ForEachVisitorI14EventConditionEEEEPvNS4_14ExpressionBaseIS6_E7ElementILNSC_11EOperationsE2EEEEENT_11result_typeEiRSG_T0_PT1_N4mpl_5bool_ILb1EEE+0x3c) [0x7ffff780349c]
/home/bge/VCMI/trunk/build/lib/libvcmi.so(_ZN5boost6detail7variant22visitation_impl_invokeINS1_14invoke_visitorIKN23LogicalExpressionDetail14ForEachVisitorI14EventConditionEEEEPvNS4_14ExpressionBaseIS6_E7ElementILNSC_11EOperationsE2EEENS_7variantINSD_ILSE_1EEENSD_ILSE_0EEESF_S6_NS1_5void_ESJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_SJ_E18has_fallback_type_EEENT_11result_typeEiRSM_T0_PT1_T2_i+0x2f) [0x7ffff780327f]
/home/bge/VCMI/trunk/build/lib/libvcmi.so(_ZN5boost6detail7variant15visitation_implIN4mpl_4int_ILi0EEENS1_20visitation_impl_stepINS_3mpl6l_iterINS7_6l_itemINS3_5long_ILl4EEEN23LogicalExpressionDetail14ExpressionBaseI14EventConditionE7ElementILNSF_11EOperationsE1EEENS9_INSA_ILl3EEENSG_ILSH_0EEENS9_INSA_ILl2EEENSG_ILSH_2EEENS9_INSA_ILl1EEESE_NS7_5l_endEEEEEEEEEEENS8_ISO_EEEENS1_14invoke_visitorIKNSC_14ForEachVisitorISE_EEEEPvNS_7variantISI_SK_SM_SE_NS1_5void_ES13_S13_S13_S13_S13_S13_S13_S13_S13_S13_S13_S13_S13_S13_S13_E18has_fallback_type_EEENT1_11result_typeEiiRS16_T2_NS3_5bool_ILb0EEET3_PT_PT0_+0xc0) [0x7ffff7802e90]
/home/bge/VCMI/trunk/build/lib/libvcmi.so(_ZN5boost7variantIN23LogicalExpressionDetail14ExpressionBaseI14EventConditionE7ElementILNS4_11EOperationsE1EEENS5_ILS6_0EEENS5_ILS6_2EEES3_NS_6detail7variant5void_ESC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_E27internal_apply_visitor_implINSB_14invoke_visitorIKNS1_14ForEachVisitorIS3_EEEEPvEENT_11result_typeEiiRSL_T0_+0x39) [0x7ffff7802dc9]
/home/bge/VCMI/trunk/build/lib/libvcmi.so(_ZN5boost7variantIN23LogicalExpressionDetail14ExpressionBaseI14EventConditionE7ElementILNS4_11EOperationsE1EEENS5_ILS6_0EEENS5_ILS6_2EEES3_NS_6detail7variant5void_ESC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_E22internal_apply_visitorINSB_14invoke_visitorIKNS1_14ForEachVisitorIS3_EEEEEENT_11result_typeERSK_+0x55) [0x7ffff7802d85]
/home/bge/VCMI/trunk/build/lib/libvcmi.so(_ZN5boost7variantIN23LogicalExpressionDetail14ExpressionBaseI14EventConditionE7ElementILNS4_11EOperationsE1EEENS5_ILS6_0EEENS5_ILS6_2EEES3_NS_6detail7variant5void_ESC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_E13apply_visitorIKNS1_14ForEachVisitorIS3_EEEENT_11result_typeERSI_+0x35) [0x7ffff7802cf5]
/home/bge/VCMI/trunk/build/lib/libvcmi.so(_ZN5boost13apply_visitorIN23LogicalExpressionDetail14ForEachVisitorI14EventConditionEENS_7variantINS1_14ExpressionBaseIS3_E7ElementILNS7_11EOperationsE1EEENS8_ILS9_0EEENS8_ILS9_2EEES3_NS_6detail7variant5void_ESF_SF_SF_SF_SF_SF_SF_SF_SF_SF_SF_SF_SF_SF_SF_EEEENT_11result_typeERKSH_RT0_+0x1d) [0x7ffff7802c8d]
/home/bge/VCMI/trunk/build/lib/libvcmi.so(_ZNK23LogicalExpressionDetail14ForEachVisitorI14EventConditionEclERNS_14ExpressionBaseIS1_E7ElementILNS4_11EOperationsE1EEE+0x71) [0x7ffff78036e1]
/home/bge/VCMI/trunk/build/lib/libvcmi.so(_ZN5boost6detail7variant14invoke_visitorIN23LogicalExpressionDetail14ForEachVisitorI14EventConditionEEE14internal_visitINS3_14ExpressionBaseIS5_E7ElementILNSA_11EOperationsE1EEEEEvRT_i+0x23) [0x7ffff7803873]
/home/bge/VCMI/trunk/build/lib/libvcmi.so(_ZN5boost6detail7variant27visitation_impl_invoke_implINS1_14invoke_visitorIN23LogicalExpressionDetail14ForEachVisitorI14EventConditionEEEEPvNS4_14ExpressionBaseIS6_E7ElementILNSB_11EOperationsE1EEEEENT_11result_typeEiRSF_T0_PT1_N4mpl_5bool_ILb1EEE+0x3c) [0x7ffff780383c]
/home/bge/VCMI/trunk/build/lib/libvcmi.so(_ZN5boost6detail7variant22visitation_impl_invokeINS1_14invoke_visitorIN23LogicalExpressionDetail14ForEachVisitorI14EventConditionEEEEPvNS4_14ExpressionBaseIS6_E7ElementILNSB_11EOperationsE1EEENS_7variantISE_NSC_ILSD_0EEENSC_ILSD_2EEES6_NS1_5void_ESI_SI_SI_SI_SI_SI_SI_SI_SI_SI_SI_SI_SI_SI_SI_E18has_fallback_type_EEENT_11result_typeEiRSL_T0_PT1_T2_i+0x2f) [0x7ffff780278f]
/home/bge/VCMI/trunk/build/lib/libvcmi.so(_ZN5boost6detail7variant15visitation_implIN4mpl_4int_ILi0EEENS1_20visitation_impl_stepINS_3mpl6l_iterINS7_6l_itemINS3_5long_ILl4EEEN23LogicalExpressionDetail14ExpressionBaseI14EventConditionE7ElementILNSF_11EOperationsE1EEENS9_INSA_ILl3EEENSG_ILSH_0EEENS9_INSA_ILl2EEENSG_ILSH_2EEENS9_INSA_ILl1EEESE_NS7_5l_endEEEEEEEEEEENS8_ISO_EEEENS1_14invoke_visitorINSC_14ForEachVisitorISE_EEEEPvNS_7variantISI_SK_SM_SE_NS1_5void_ES12_S12_S12_S12_S12_S12_S12_S12_S12_S12_S12_S12_S12_S12_S12_E18has_fallback_type_EEENT1_11result_typeEiiRS15_T2_NS3_5bool_ILb0EEET3_PT_PT0_+0x76) [0x7ffff78023d6]
/home/bge/VCMI/trunk/build/lib/libvcmi.so(_ZN5boost7variantIN23LogicalExpressionDetail14ExpressionBaseI14EventConditionE7ElementILNS4_11EOperationsE1EEENS5_ILS6_0EEENS5_ILS6_2EEES3_NS_6detail7variant5void_ESC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_E27internal_apply_visitor_implINSB_14invoke_visitorINS1_14ForEachVisitorIS3_EEEEPvEENT_11result_typeEiiRSK_T0_+0x39) [0x7ffff7802359]
/home/bge/VCMI/trunk/build/lib/libvcmi.so(_ZN5boost7variantIN23LogicalExpressionDetail14ExpressionBaseI14EventConditionE7ElementILNS4_11EOperationsE1EEENS5_ILS6_0EEENS5_ILS6_2EEES3_NS_6detail7variant5void_ESC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_E22internal_apply_visitorINSB_14invoke_visitorINS1_14ForEachVisitorIS3_EEEEEENT_11result_typeERSJ_+0x55) [0x7ffff7802315]
/home/bge/VCMI/trunk/build/lib/libvcmi.so(_ZN5boost7variantIN23LogicalExpressionDetail14ExpressionBaseI14EventConditionE7ElementILNS4_11EOperationsE1EEENS5_ILS6_0EEENS5_ILS6_2EEES3_NS_6detail7variant5void_ESC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_SC_E13apply_visitorINS1_14ForEachVisitorIS3_EEEENT_11result_typeERSH_+0x35) [0x7ffff7802285]
/home/bge/VCMI/trunk/build/lib/libvcmi.so(_ZN5boost13apply_visitorIN23LogicalExpressionDetail14ForEachVisitorI14EventConditionEENS_7variantINS1_14ExpressionBaseIS3_E7ElementILNS7_11EOperationsE1EEENS8_ILS9_0EEENS8_ILS9_2EEES3_NS_6detail7variant5void_ESF_SF_SF_SF_SF_SF_SF_SF_SF_SF_SF_SF_SF_SF_SF_EEEENT_11result_typeERSH_RT0_+0x1d) [0x7ffff78021ed]
/home/bge/VCMI/trunk/build/lib/libvcmi.so(_ZN17LogicalExpressionI14EventConditionE7forEachESt8functionIFvRS0_EE+0x50) [0x7ffff7800ba0]
/home/bge/VCMI/trunk/build/lib/libvcmi.so(_ZN4CMap18checkForObjectivesEv+0xbb) [0x7ffff77ff5eb]
/home/bge/VCMI/trunk/build/lib/libvcmi.so(_ZN10CGameState4initEP9StartInfo+0x4e2) [0x7ffff76817e2]
/usr/local/bin/vcmiserver(_ZN12CGameHandler4initEP9StartInfo+0xdf) [0x66d76f]
/usr/local/bin/vcmiserver(_ZN11CVCMIServer27initGhFromHostingConnectionER11CConnection+0x242) [0x795eb2]
/usr/local/bin/vcmiserver(_ZN11CVCMIServer7newGameEv+0x74) [0x795fc4]
/usr/local/bin/vcmiserver(_ZN11CVCMIServer5startEv+0x772) [0x796a32]
/usr/local/bin/vcmiserver(main+0x267) [0x797597]
/lib64/libc.so.6(__libc_start_main+0xf5) [0x39c7e21d65]
/usr/local/bin/vcmiserver() [0x662d85]
No tags attached.
Issue History
2014-01-30 18:52beegeeNew Issue
2014-02-01 12:56TowNote Added: 0004358
2014-02-01 12:56TowStatusnew => resolved
2014-02-01 12:56TowResolutionopen => fixed
2014-02-01 12:56TowAssigned To => Tow
2014-06-02 11:33KantorNote Added: 0004745
2014-06-02 11:33KantorStatusresolved => closed

Notes
(0004358)
Tow   
2014-02-01 12:56   
Trace would be even grater if there were file names and line numbers. :)

The crash should be fixed by r3720.
(0004745)
Kantor   
2014-06-02 11:33   
This one may be closed.