Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-24663

iOS: App with "More" tab crashes on tapping (6.0.4.GA)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 6.1.0
    • Component/s: iOS
    • Labels:
    • Environment:

      SDK 6.0.4.GA
      iOS 10.3 (Simulator)

      Description

      You can reproduce this issue very easily:

      First, build iOS app with more than 6 tabs.

      <Alloy>
        <TabGroup>
          <Tab title="tab1">
            <Window class="container">
              <Label id="label">Hello Tab1</Label>
            </Window>
          </Tab>
          <Tab title="tab2">
            <Window class="container">
              <Label id="label">Hello Tab2</Label>
            </Window>
          </Tab>
          <Tab title="tab3">
            <Window class="container">
              <Label id="label">Hello Tab3</Label>
            </Window>
          </Tab>
          <Tab title="tab4">
            <Window class="container">
              <Label id="label">Hello Tab4</Label>
            </Window>
          </Tab>
          <Tab title="tab5">
            <Window class="container">
              <Label id="label">Hello Tab5</Label>
            </Window>
          </Tab>
          <Tab title="tab6">
            <Window class="container">
              <Label id="label">Hello Tab6</Label>
            </Window>
          </Tab>
        </TabGroup>
      </Alloy>
      

      Then, tap "More" tab. Error message is:

      [ERROR] The application has crashed with an uncaught exception 'NSInvalidArgumentException'.
      [ERROR] Reason:
      [ERROR] -[TiUITabGroup controller]: unrecognized selector sent to instance 0x7fc4c7e0f080
      [ERROR] Stack trace:
      [ERROR] 0   CoreFoundation                      0x00000001153f5af3 __exceptionPreprocess + 147
      [ERROR] 1   libobjc.A.dylib                     0x0000000114991141 objc_exception_throw + 48
      [ERROR] 2   CoreFoundation                      0x0000000115465134 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
      [ERROR] 3   CoreFoundation                      0x000000011537c840 ___forwarding___ + 1024
      [ERROR] 4   CoreFoundation                      0x000000011537c3b8 _CF_forwarding_prep_0 + 120
      [ERROR] 5   TestApp                             0x000000010e684adc -[TiUITabGroup handleDidShowTab:] + 588
      [ERROR] 6   TestApp                             0x000000010e685c86 -[TiUITabGroup tabBarController:didSelectViewController:] + 294
      [ERROR] 7   UIKit                               0x00000001105a4853 -[UITabBarController _tabBarItemClicked:] + 658
      [ERROR] 8   UIKit                               0x00000001103a7d22 -[UIApplication sendAction:to:from:forEvent:] + 83
      [ERROR] 9   UIKit                               0x00000001107ba6f7 -[UITabBar _sendAction:withEvent:] + 566
      [ERROR] 10  UIKit                               0x00000001103a7d22 -[UIApplication sendAction:to:from:forEvent:] + 83
      [ERROR] 11  UIKit                               0x000000011052c25c -[UIControl sendAction:to:forEvent:] + 67
      [ERROR] 12  UIKit                               0x000000011052c577 -[UIControl _sendActionsForEvents:withEvent:] + 450
      [ERROR] 13  UIKit                               0x00000001107bcdb5 -[UITabBar _buttonUp:] + 113
      [ERROR] 14  UIKit                               0x00000001103a7d22 -[UIApplication sendAction:to:from:forEvent:] + 83
      [ERROR] 15  UIKit                               0x000000011052c25c -[UIControl sendAction:to:forEvent:] + 67
      [ERROR] 16  UIKit                               0x000000011052c577 -[UIControl _sendActionsForEvents:withEvent:] + 450
      [ERROR] 17  UIKit                               0x000000011052b4b2 -[UIControl touchesEnded:withEvent:] + 618
      [ERROR] 18  UIKit                               0x000000011041549a -[UIWindow _sendTouchesForEvent:] + 2707
      [ERROR] 19  UIKit                               0x0000000110416bb0 -[UIWindow sendEvent:] + 4114
      [ERROR] 20  UIKit                               0x00000001103c37b0 -[UIApplication sendEvent:] + 352
      [ERROR] 21  UIKit                               0x0000000110ba6adc __dispatchPreprocessedEventFromEventQueue + 2926
      [ERROR] 22  UIKit                               0x0000000110b9ea3a __handleEventQueue + 1122
      [ERROR] 23  CoreFoundation                      0x000000011539bc01 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
      [ERROR] 24  CoreFoundation                      0x00000001153810cf __CFRunLoopDoSources0 + 527
      [ERROR] 25  CoreFoundation                      0x00000001153805ff __CFRunLoopRun + 911
      [ERROR] 26  CoreFoundation                      0x0000000115380016 CFRunLoopRunSpecific + 406
      [ERROR] 27  GraphicsServices                    0x0000000116d00a24 GSEventRunModal + 62
      [ERROR] 28  UIKit                               0x00000001103a60d4 UIApplicationMain + 159
      [ERROR] 29  TestApp                             0x000000010e5d2be4 main + 100
      [ERROR] 30  libdyld.dylib                       0x0000000117f3c65d start + 1
      

      SDK 6.0.3.GA works just fine.

        Attachments

          Activity

            People

            • Assignee:
              hknoechel Hans Knöchel
              Reporter:
              toshiro Toshiro Yagi
              Reviewer:
              Vijay Singh
              Tester:
              Eric Wieber
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-10661
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code