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

Android: MapView crash while doing swipe

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Cannot Reproduce
    • Affects Version/s: Release 3.1.1
    • Component/s: Android
    • Labels:
      None
    • Environment:

      Android device: Samsung Galaxy Nexus
      Operating system: 4.2.1
      Titanium SDK: 3.1.1.GA
      Mac OSX 10.7.5

      Description

      MapView using Alloy, is throwing the following message on the log and crash the app:
      D/skia(12431): ------- imageref_ashmem create failed <(null)> 143360
      If the map is inside of a tab, it's faster to reproduce the crash, use the following sample code:

      index.xml

       
      <Alloy>
      	<TabGroup>
      		<Tab title="Tab 1" icon="KS_nav_ui.png">
      			<Window title="Tab 1">
      				<Label>I am Window 1</Label>
      			</Window>
      		</Tab>
      		<Tab title="Tab 2" icon="KS_nav_views.png">
      			<Window title="Tab 2">
      				<View id="mapview" ns="Ti.Map"  animate="true" regionFit="true" userLocation="false" mapType="Ti.Map.STANDARD_TYPE" >
      		            <Annotation id="mountainView"
      		              latitude="37.390749" longitude="-122.081651"
      		              title="Appcelerator Headquarters" subtitle="Mountain View, CA"
      		              pincolor="Titanium.Map.ANNOTATION_RED"
      		              leftButton="/images/appcelerator_small.png"
      		              myid="1"/>
      		        </View>
      			</Window>
      		</Tab>
      	</TabGroup>
      </Alloy> 
      

      To reproduce the issue just zoom in into the map and start doing swipe to any direction.
      I'm also attaching a log output of the crash

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hpham Hieu Pham
                Reporter:
                rtlechuga Radamantis Torres-Lechuga (Inactive)
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code