Quantcast
Channel: Active questions tagged crash - Stack Overflow
Viewing all 7143 articles
Browse latest View live

Understanding crash report from iOS review process

$
0
0

I'm trying to upload an app to the iOS App Store but I'm getting rejection due to crashes (which I can't reproduce with the several simulations / devices I have.

I'm attaching here the crash reports. The problem that I have is that I can't re-symbolicate the crash correctly and all I can get when I try to right click and choose re-symbolicate them is the following:

{"app_name":"Livycs","timestamp":"2019-10-21 13:36:46.22 -0700","app_version":"1.3","slice_uuid":"4ceb4db7-568a-3a47-a8e9-0e6d8ff33b2b","adam_id":1054637602,"build_version":"12","bundleID":"me.linktree.Livycs","share_with_app_devs":false,"is_first_party":false,"bug_type":"109","os_version":"iPhone OS 13.1.3 (17A878)","incident_id":"B26974A6-3E7F-40F4-836A-BC4FF36D1219","name":"Livycs"}
Incident Identifier: B26974A6-3E7F-40F4-836A-BC4FF36D1219
CrashReporter Key:   f76f6829cc13ca447c49f923305d7b23085e37fd
Hardware Model:      xxx
Process:             Livycs [394]
Path:                /private/var/containers/Bundle/Application/1ADC7177-F01D-4C60-B624-730592A5C45A/Livycs.app/Livycs
Identifier:          me.linktree.Livycs
Version:             12 (1.3)
AppStoreTools:       11A1002b
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd [1]
Coalition:           me.linktree.Livycs [530]


Date/Time:           2019-10-21 13:36:46.1480 -0700
Launch Time:         2019-10-21 13:34:25.7023 -0700
OS Version:          iPhone OS 13.1.3 (17A878)
Release Type:        User
Baseband Version:    n/a
Report Version:      104

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note:  EXC_CORPSE_NOTIFY
Triggered by Thread:  0

Application Specific Information:
abort() called

Last Exception Backtrace:
0   CoreFoundation                  0x1a450298c __exceptionPreprocess + 220
1   libobjc.A.dylib                 0x1a422b0a4 objc_exception_throw + 55
2   CoreFoundation                  0x1a43f8054 +[NSException raise:format:] + 107
3   UIKitCore                       0x1a7eb70f8 UISearchDisplayControllerNoLongerSupported + 247
4   UIKitCore                       0x1a7eb73fc -[UISearchDisplayController initWithCoder:] + 83
5   UIFoundation                    0x1a7aab838 UINibDecoderDecodeObjectForValue + 727
6   UIFoundation                    0x1a7aaba6c UINibDecoderDecodeObjectForValue + 1291
7   UIFoundation                    0x1a7a47ec8 -[UINibDecoder decodeObjectForKey:] + 315
8   UIKitCore                       0x1a7efe6e4 -[UIViewController initWithCoder:] + 1035
9   UIKitCore                       0x1a81b9c2c -[UIClassSwapper initWithCoder:] + 2455
10  UIFoundation                    0x1a7aab838 UINibDecoderDecodeObjectForValue + 727
11  UIFoundation                    0x1a7aaba6c UINibDecoderDecodeObjectForValue + 1291
12  UIFoundation                    0x1a7a47ec8 -[UINibDecoder decodeObjectForKey:] + 315
13  UIKitCore                       0x1a81b8edc -[NSCoder+ 6917852 (UIIBDependencyInjectionInternal) _decodeObjectsAndTrackChildViewControllerIndexWithParent:forKey:] + 315
14  UIKitCore                       0x1a7efe89c -[UIViewController initWithCoder:] + 1475
15  UIKitCore                       0x1a7e41a84 -[UITabBarController initWithCoder:] + 79
16  UIKitCore                       0x1a81b9c2c -[UIClassSwapper initWithCoder:] + 2455
17  UIFoundation                    0x1a7aab838 UINibDecoderDecodeObjectForValue + 727
18  UIFoundation                    0x1a7a47ec8 -[UINibDecoder decodeObjectForKey:] + 315
19  UIKitCore                       0x1a81bdc50 -[UIRuntimeConnection initWithCoder:] + 127
20  UIFoundation                    0x1a7aab838 UINibDecoderDecodeObjectForValue + 727
21  UIFoundation                    0x1a7aaba6c UINibDecoderDecodeObjectForValue + 1291
22  UIFoundation                    0x1a7a47ec8 -[UINibDecoder decodeObjectForKey:] + 315
23  UIKitCore                       0x1a81b8cc8 -[NSCoder+ 6917320 (UIIBDependencyInjectionInternal) _decodeObjectsWithSourceSegueTemplate:creator:sender:forKey:] + 487
24  UIKitCore                       0x1a81bb8b8 -[UINib instantiateWithOwner:options:] + 1111
25  UIKitCore                       0x1a86617d8 -[UIStoryboard __reallyInstantiateViewControllerWithIdentifier:creator:storyboardSegueTemplate:sender:] + 287
26  Livycs                          0x1040d44dc @objc WelcomeViewController.searchShowsAroundMeButtonClicked+ 165084 (_:) + 131
27  UIKitCore                       0x1a8511a44 -[UIApplication sendAction:to:from:forEvent:] + 95
28  UIKitCore                       0x1a7f556d0 -[UIControl sendAction:to:forEvent:] + 239
29  UIKitCore                       0x1a7f55a34 -[UIControl _sendActionsForEvents:withEvent:] + 407
30  UIKitCore                       0x1a7f54a50 -[UIControl touchesEnded:withEvent:] + 519
31  UIKitCore                       0x1a854ad68 -[UIWindow _sendTouchesForEvent:] + 2323
32  UIKitCore                       0x1a854c0a8 -[UIWindow sendEvent:] + 3351
33  UIKitCore                       0x1a8528ae8 -[UIApplication sendEvent:] + 335
34  UIKitCore                       0x1a85a023c __dispatchPreprocessedEventFromEventQueue + 5879
35  UIKitCore                       0x1a85a2798 __handleEventQueueInternal + 4923
36  UIKitCore                       0x1a859b60c __handleHIDEventFetcherDrain + 107
37  CoreFoundation                  0x1a44807e0 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 23
38  CoreFoundation                  0x1a4480738 __CFRunLoopDoSource0 + 79
39  CoreFoundation                  0x1a447fed0 __CFRunLoopDoSources0 + 179
40  CoreFoundation                  0x1a447b01c __CFRunLoopRun + 1079
41  CoreFoundation                  0x1a447a8bc CFRunLoopRunSpecific + 463
42  GraphicsServices                0x1ae2e6328 GSEventRunModal + 103
43  UIKitCore                       0x1a85106d4 UIApplicationMain + 1935
44  Livycs                          0x1040d246c main + 156780 (SearchLocationViewController.swift:14)
45  libdyld.dylib                   0x1a4305460 start + 3


Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   libsystem_kernel.dylib          0x00000001a42faebc __pthread_kill + 8
1   libsystem_pthread.dylib         0x00000001a4216790 pthread_kill$VARIANT$mp + 112
2   libsystem_c.dylib               0x00000001a416a8a0 __abort + 112
3   libsystem_c.dylib               0x00000001a416a830 __abort + 0
4   libc++abi.dylib                 0x00000001a42c37d4 __cxa_bad_cast + 0
5   libc++abi.dylib                 0x00000001a42c39c4 demangling_unexpected_handler+ 6596 () + 0
6   libobjc.A.dylib                 0x00000001a422b358 _objc_terminate+ 25432 () + 124
7   Livycs                          0x0000000104113a94 CLSTerminateHandler() + 424596 (CLSException.mm:0)
8   libc++abi.dylib                 0x00000001a42d0304 std::__terminate(void (*)+ 58116 ()) + 16
9   libc++abi.dylib                 0x00000001a42cfed8 __cxa_rethrow + 144
10  libobjc.A.dylib                 0x00000001a422b258 objc_exception_rethrow + 40
11  CoreFoundation                  0x00000001a447a92c CFRunLoopRunSpecific + 576
12  GraphicsServices                0x00000001ae2e6328 GSEventRunModal + 104
13  UIKitCore                       0x00000001a85106d4 UIApplicationMain + 1936
14  Livycs                          0x00000001040d246c main + 156780 (SearchLocationViewController.swift:14)
15  libdyld.dylib                   0x00000001a4305460 start + 4

The code where I think it crashes (WelcomeViewController.swift)

//
//  WelcomeViewController.swift
//  Livycs
//
//  Created by Nir Sagiv on 03/03/2016.
//  Copyright © 2016 Nir Sagiv. All rights reserved.
//

import UIKit

class WelcomeViewController: UIViewController {

    @IBOutlet weak var showsRoundMeButton: UIButton!

    @IBOutlet weak var showsByLocationBotton: UIButton!

    @IBOutlet weak var iosVersion: UILabel!
    override func viewDidLoad() {
        super.viewDidLoad()

        showsRoundMeButton.layer.cornerRadius = 10
        showsByLocationBotton.layer.cornerRadius = 10

        self.navigationController?.navigationBar.setBackgroundImage(UIImage(), for: UIBarMetrics.default)
        self.navigationController?.navigationBar.shadowImage = UIImage()
        self.navigationController?.navigationBar.isTranslucent = true
        self.navigationController?.navigationBar.backgroundColor = UIColor.clear

        iosVersion.text = version()

        BiAnalyticsService.logEvent("MainPage", withParameter: nil)

        // Do any additional setup after loading the view.
    }

    override var preferredStatusBarStyle : UIStatusBarStyle {
        return .lightContent
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }

    func version() -> String {
        let dictionary = Bundle.main.infoDictionary!
        let version = dictionary["CFBundleShortVersionString"] as! String
        let build = dictionary["CFBundleVersion"] as! String
        return "v\(version) (\(build))"
    }

    @IBAction func searchShowsAroundMeButtonClicked(_ sender: UIButton) {
        BiAnalyticsService.logEvent("MainPage:searchShowsAroundMeButtonClicked", withParameter: nil)
        let vc:UITabBarController = (self.storyboard?.instantiateViewController(withIdentifier: "main")) as! UITabBarController
        vc.selectedIndex = 0

        self.present(vc, animated: true, completion: nil)
    }

    @IBAction func searchShowsByLocationButtonClicked(_ sender: UIButton) {
        BiAnalyticsService.logEvent("MainPage:searchShowsByLocationButtonClicked", withParameter: nil)
        let vc:UITabBarController = (self.storyboard?.instantiateViewController(withIdentifier: "main")) as! UITabBarController
        vc.selectedIndex = 1

        self.present(vc, animated: true, completion: nil)
    }

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
        // Get the new view controller using segue.destinationViewController.
        // Pass the selected object to the new view controller.
    }
    */

}

notice that I've cleared the BiAnalyticsService.logEvent... since I was thinking it might cause problems and the code there is now:

    class func logEvent( eventName : String, withParameter : Dictionary<String,String>?){

//        if withParameter == nil {
//            mixpanel.track(eventName, properties:  staticProperties)
//        } else {
//            var prm = withParameter!
//            
//            for key in staticProperties.keys {
//                prm[key] = staticProperties[key]
//            }
//            mixpanel.track(eventName, properties: prm)
//        }



    }

Any help will be appreciated


Native Crash | abort | libc.so | android::RefBase::decStrong(void const*)

$
0
0

Below is the log that i captured from Google Play console, that seem to be occurring in major number. https://source.android.com/devices/tech/debug/native-crash did not help much.

What may cause this error? I am unable to reproduce this issue. but occurs in good number in production. (However I have not tried in all devices)

Devices in which this observed:
Huawei P30 Pro (HWVOG), Android 9
Huawei HUAWEI Y9 Prime 2019 (HWSTK-HF), Android 9
Samsung Galaxy S9 (starlte), Android 9
Huawei P30 Pro (HWVOG), Android 9
Samsung Galaxy Note9 (crownlte), Android 9
Huawei P30 Pro (HWVOG), Android 9
Samsung Galaxy Note10+ (d2s), Android 9
Huawei Mate 20 Pro (HWLYA), Android 9
Huawei HUAWEI Y9 Prime 2019 (HWSTK-HF), Android 9
Huawei Mate 20 Pro (HWLYA), Android 9
Huawei HUAWEI P30 lite (HWMAR), Android 9

Error From Google Play Console

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 0

backtrace:
  #00  pc 0000000000022988  /system/lib64/libc.so (abort+116)
  #01  pc 0000000000008480  /system/lib64/liblog.so (__android_log_assert+304)
  #02  pc 000000000000be14  /system/lib64/libutils.so (android::RefBase::decStrong(void const*) const+168)
  #03  pc 000000000006c05c  /system/lib64/libbinder.so (android::IPCThreadState::processPendingDerefs()+104)
  #04  pc 000000000006c16c  /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+52)
  #05  pc 000000000009ff60  /system/lib64/libbinder.so (android::PoolThread::threadLoop()+24)
  #06  pc 000000000000fa94  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+280)
  #07  pc 00000000000bc8e0  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+140)
  #08  pc 0000000000083588  /system/lib64/libc.so (__pthread_start(void*)+36)
  #09  pc 00000000000241dc  /system/lib64/libc.so (__start_thread+68)

Native Crash | art::MonitorList::SweepMonitorList

$
0
0

Below error occurred to multiple users but once mostly per device. But it continuous to happen.
I have not used App bundle, but provided 2 separate APK for 32 bit and 64 bit phones.
All devices mentioned so far are at Android 9 level.
My build is taken with target SDK API 26 (due to the limitation present in Kony IDE). compiled using API 28.

What may cause this error? I am unable to reproduce this issue. Any probable cause for this issue?

Devices in which this observed:
Samsung Galaxy A7 (2018) (a7y18lte), Android 9
Samsung Galaxy Note10+ (d2s), Android 9
Samsung Galaxy S10 (beyond1), Android 9
Samsung Galaxy S10+ (beyond2), Android 9
Samsung Galaxy Note9 (crownlte), Android 9
Samsung Galaxy Note8 (greatlte), Android 9
Samsung Galaxy S10 (beyond1), Android 9
Huawei P20 Pro (HWCLT), Android 9
Huawei P30 Pro (HWVOG), Android 9
Huawei Mate 20 Pro (HWLYA), Android 9

Error From Google Play Console

pid: 0, tid: 0 

backtrace:


  #00  pc 00000000003c3ef8  /system/lib64/libart.so (art::MonitorList::SweepMonitorList(art::IsMarkedVisitor*)+288)


  #01  pc 0000000000469874  /system/lib64/libart.so (art::Runtime::SweepSystemWeaks(art::IsMarkedVisitor*)+40)


  #02  pc 00000000001c1824  /system/lib64/libart.so (art::gc::collector::ConcurrentCopying::SweepSystemWeaks(art::Thread*)+192)


  #03  pc 00000000001be504  /system/lib64/libart.so (art::gc::collector::ConcurrentCopying::MarkingPhase()+1928)


  #04  pc 00000000001bc8b8  /system/lib64/libart.so (art::gc::collector::ConcurrentCopying::RunPhases()+1328)


  #05  pc 00000000001d2be8  /system/lib64/libart.so (art::gc::collector::GarbageCollector::Run(art::gc::GcCause, bool)+320)


  #06  pc 00000000001f5594  /system/lib64/libart.so (art::gc::Heap::CollectGarbageInternal(art::gc::collector::GcType, art::gc::GcCause, bool)+3408)


  #07  pc 0000000000206b10  /system/lib64/libart.so (art::gc::Heap::ConcurrentGC(art::Thread*, art::gc::GcCause, bool)+128)


  #08  pc 000000000020c178  /system/lib64/libart.so (art::gc::Heap::ConcurrentGCTask::Run(art::Thread*)+40)


  #09  pc 000000000022ebb8  /system/lib64/libart.so (art::gc::TaskProcessor::RunAllTasks(art::Thread*)+68)


  #10  pc 000000000007b56c  /system/framework/arm64/boot-core-libart.oat (dalvik.system.VMRuntime.clampGrowthLimit [DEDUPED]+124)


  #11  pc 00000000001845d4  /system/framework/arm64/boot-core-libart.oat (java.lang.Daemons$HeapTaskDaemon.runInternal+196)


  #12  pc 0000000000111e7c  /system/framework/arm64/boot-core-libart.oat (java.lang.Daemons$Daemon.run+76)


  #13  pc 000000000025d068  /system/framework/arm64/boot.oat (java.lang.Thread.run+72)


  #14  pc 000000000055ab88  /system/lib64/libart.so (art_quick_invoke_stub+584)


  #15  pc 00000000000d04c8  /system/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200)


  #16  pc 00000000004618ac  /system/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+104)


  #17  pc 0000000000462968  /system/lib64/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue*)+424)


  #18  pc 000000000048dd88  /system/lib64/libart.so (art::Thread::CreateCallback(void*)+1120)


  #19  pc 00000000000836c8  /system/lib64/libc.so (__pthread_start(void*)+196)


  #20  pc 0000000000023bac  /system/lib64/libc.so (__start_thread+68)

Simple MS Acccess Form - Checking Checkbox Crashes App

$
0
0

I have a very simple form. The main form is unbound. It has one combo and 2 checkboxes, for filtering results on the subform. The VBA has the default sql, for when the form is unfiltered and conditional where clauses to append, when any of the filters is turned on or off (after update of the combo, or checking/unchecking the checkboxes). This works fine in other apps. For some reason, in this application, the app is crashing if I check or uncheck either of the 2 boxes more than once. I can do it once and then if I do another check or uncheck, the app just crashes. This is all the code on the back of the form:

Private Sub Filters()
    Dim fSQL As String
    Dim nCount As Integer

    fSQL = "SELECT vwu.* FROM vw_UpdateFilterView vwu WHERE 1 = 1 "

    If Nz(Me.cboLocation.Value, 0) <> 0 Then
        fSQL = fSQL & " AND vwu.FKLocation = " & Me.cboLocation.Column(0)
    End If

    If Nz(Me.chkPUpdated, 0) <> 0 Then
        fSQL = fSQL & " AND vwu.ID Not in (Select FKPID From tblUpdatedPAccount)"
    End If

    If Nz(Me.chkNoBlankProfiles, 0) <> 0 Then
        fSQL = fSQL & " AND vwu.ID Not in (Select FKPID From tblUpdatedPAccount)" & " And nz(vwu.User,'')<> ''"
    End If

'Debug.Print Nz(Me.cboLocation.Value, 0) & " cboLocation"
'Debug.Print Nz(Me.chkPUpdated, 0) & " chkPUpdated"
'Debug.Print Nz(Me.chkNoBlankProfiles, 0) & " chkNoAcct"

'Debug.Print fSQL
    Me.frmUpdateMainPeopleAccounts_SubProfiles.Form.RecordSource = fSQL
    Me.frmUpdateMainPeopleAccounts_SubProfiles.Form.Requery
    With Me.frmUpdateMainPeopleAccounts_SubProfiles.Form.RecordsetClone
        If .RecordCount > 0 Then .MoveLast
        nCount = .RecordCount
    End With
    Me.txtCountProfs = nCount & " People Profiles"
End Sub
Private Sub Form_Load()
    cmdReset_Click
End Sub
Private Sub cboLocation_AfterUpdate()
    Filters
End Sub

Private Sub chkPUpdated_Click()
    Filters
End Sub

Private Sub chkNoBlankProfiles_Click()
    Filters
End Sub

Private Sub cmdReset_Click()
    Me.cboLocation.Value = Null
    Me.chkPUpdated.Value = Null
    Me.chkNoBlankProfiles.Value = Null
    Filters
End Sub

Private Sub cmdMain_Click()
    OpenCloseForm "frmMain", "frmUpdatePProfiles", 0
End Sub

This is the event view error in the Windows Application log.

Faulting application name: MSACCESS.EXE, version: 14.0.7230.5000, time stamp: 0x5c6738e8
Faulting module name: ACECORE.DLL, version: 14.0.7237.5000, time stamp: 0x5d56d4bc
Exception code: 0xc0000005
Fault offset: 0x00059717
Faulting process id: 0x3810
Faulting application start time: 0x01d588e19f4ce5a1
Faulting application path: C:\Program Files (x86)\Microsoft Office\Office14\MSACCESS.EXE
Faulting module path: C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE14\ACECORE.DLL
Report Id: 344fb181-f4d5-11e9-ad79-e8393534bdd2

I have created a new application and imported all the objects from the old one. I exported the form and subform as text, deleted the form and subform and then re-imported the text objects as forms. None of that has worked.

Any thoughts on how I can fix this?

Android Studio combined chart crashes

$
0
0

I'm having an error and app crash, when pressed on chart. With single LineChart or BarChart I can press on the view or zoom.

With implementation com.github.PhilJay:MPAndroidChart:v3.0.2

Log: 12-12 22:01:50.108 3804-3804/com.example.jer.chart8 E/InputEventReceiver: Exception dispatching input event. 12-12

22:01:50.108 3804-3804/com.example.jer.chart8 E/MessageQueue-JNI:Exception in MessageQueue callback: handleReceiveCallback 12-12

22:01:50.108 3804-3804/com.example.jer.chart8 E/MessageQueue-JNI: java.lang.ArrayIndexOutOfBoundsException: length=12; index=-1

package com.example.jer.chart9;

import android.graphics.Color;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

import com.github.mikephil.charting.charts.CombinedChart;
import com.github.mikephil.charting.components.AxisBase;
import com.github.mikephil.charting.components.Legend;
import com.github.mikephil.charting.components.XAxis;
import com.github.mikephil.charting.components.YAxis;
import com.github.mikephil.charting.data.BarData;
import com.github.mikephil.charting.data.BarDataSet;
import com.github.mikephil.charting.data.BarEntry;
import com.github.mikephil.charting.data.CombinedData;
import com.github.mikephil.charting.data.Entry;
import com.github.mikephil.charting.data.LineData;
import com.github.mikephil.charting.data.LineDataSet;
import com.github.mikephil.charting.formatter.IAxisValueFormatter;
import com.github.mikephil.charting.utils.ColorTemplate;

import java.util.ArrayList;

public class MainActivity extends AppCompatActivity {
    private CombinedChart mChart;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        mChart = (CombinedChart) findViewById(R.id.mp_Combine);
        mChart.getDescription().setText("This is testing Description");
        mChart.setBackgroundColor(Color.WHITE);
        mChart.setDrawGridBackground(true);
        mChart.setDrawBarShadow(true);
        mChart.setHighlightFullBarEnabled(true);

        // draw bars behind lines
        mChart.setDrawOrder(new CombinedChart.DrawOrder[]{
                CombinedChart.DrawOrder.BAR,  CombinedChart.DrawOrder.LINE
        });

        Legend l = mChart.getLegend();
        l.setWordWrapEnabled(true);
        l.setVerticalAlignment(Legend.LegendVerticalAlignment.BOTTOM);
        l.setHorizontalAlignment(Legend.LegendHorizontalAlignment.CENTER);
        l.setOrientation(Legend.LegendOrientation.HORIZONTAL);

        YAxis rightAxis = mChart.getAxisRight();
        rightAxis.setDrawGridLines(false);
        rightAxis.setAxisMinimum(0f); // this replaces setStartAtZero(true)

        YAxis leftAxis = mChart.getAxisLeft();
        leftAxis.setDrawGridLines(false);
        leftAxis.setAxisMinimum(0f); // this replaces setStartAtZero(true)

        XAxis xAxis = mChart.getXAxis();
        xAxis.setPosition(XAxis.XAxisPosition.BOTH_SIDED);
        xAxis.setAxisMinimum(0f);
        xAxis.setGranularity(1f);
        xAxis.setValueFormatter(new IAxisValueFormatter() {
            @Override
            public String getFormattedValue(float value, AxisBase axis) {
                return mMonths[(int) value % mMonths.length];
            }
        });

        CombinedData data = new CombinedData();

        data.setData( generateLineData());
        data.setData(generateBarData());

        xAxis.setAxisMaximum(data.getXMax() + 0.25f);
        mChart.setData(data);
        mChart.invalidate();
        mChart.animateXY(2000, 2000);
    }
    protected String[] mMonths = new String[] {
            "Jan", "Feb", "Mar", "Apr", "May", "June"
    };

    private LineData generateLineData() {

        LineData d = new LineData();

        ArrayList<Entry> entries = new ArrayList<Entry>();

        entries = getLineEntriesData(entries);

        LineDataSet set = new LineDataSet(entries, "Line");
        //set.setColor(Color.rgb(240, 238, 70));
        set.setColors(ColorTemplate.COLORFUL_COLORS);
        set.setLineWidth(2.5f);
        set.setCircleColor(Color.rgb(240, 238, 70));
        set.setCircleRadius(5f);
        set.setFillColor(Color.rgb(240, 238, 70));
        set.setMode(LineDataSet.Mode.CUBIC_BEZIER);
        set.setDrawValues(true);
        set.setValueTextSize(10f);
        set.setValueTextColor(Color.rgb(240, 238, 70));

        set.setAxisDependency(YAxis.AxisDependency.LEFT);
        d.addDataSet(set);

        return d;
    }

    private ArrayList<Entry> getLineEntriesData(ArrayList<Entry> entries){
        entries.add(new Entry(1, 20));
        entries.add(new Entry(2, 10));
        entries.add(new Entry(3, 8));
        entries.add(new Entry(4, 40));
        entries.add(new Entry(5, 37));

        return entries;
    }

    private BarData generateBarData() {

        ArrayList<BarEntry> entries = new ArrayList<BarEntry>();
        entries = getBarEnteries(entries);

        BarDataSet set1 = new BarDataSet(entries, "Bar");
        //set1.setColor(Color.rgb(60, 220, 78));
        set1.setColors(ColorTemplate.COLORFUL_COLORS);
        set1.setValueTextColor(Color.rgb(60, 220, 78));
        set1.setValueTextSize(10f);
        set1.setAxisDependency(YAxis.AxisDependency.LEFT);

        float barWidth = 0.45f; // x2 dataset


        BarData d = new BarData(set1);
        d.setBarWidth(barWidth);


        return d;
    }

    private ArrayList<BarEntry> getBarEnteries(ArrayList<BarEntry> entries){
        entries.add(new BarEntry(1, 25));
        entries.add(new BarEntry(2, 30));
        entries.add(new BarEntry(3, 38));
        entries.add(new BarEntry(4, 10));
        entries.add(new BarEntry(5, 15));
        return  entries;
    }
}

1: enter image description here

1: enter image description here

UIWebView webView:resource:canAuthenticateAgainstProtectionSpace:forDataSource:] + 92

$
0
0

Crashed: WebThread
I found following crash logs how to resolve it? iOS version is 12.2.0 and device is iPhone 8 Plus.

0  libobjc.A.dylib                0x22b9af530 objc_msgSend + 16
1  UIKitCore                      0x2592360b8 -[UIWebView webView:resource:canAuthenticateAgainstProtectionSpace:forDataSource:] + 92
2  WebKitLegacy                   0x236a4a190 CallResourceLoadDelegateReturningBoolean(bool, void (*)(), WebView*, objc_selector*, objc_object*, objc_object*, objc_object*) + 76
3  WebCore                        0x23608b6d0 WebCore::ResourceLoader::canAuthenticateAgainstProtectionSpace(WebCore::ProtectionSpace const&) + 60
4  WebCore                        0x23608b650 WebCore::ResourceLoader::canAuthenticateAgainstProtectionSpaceAsync(WebCore::ResourceHandle*, WebCore::ProtectionSpace const&, WTF::CompletionHandler<void (bool)>&&) + 32
5  WebCore                        0x23546e900 WTF::Function<void ()>::CallableWrapper<-[WebCoreResourceHandleAsOperationQueueDelegate connection:canAuthenticateAgainstProtectionSpace:]::$_4>::call() + 136
6  JavaScriptCore                 0x2338bcaa4 WTF::dispatchFunctionsFromMainThread() + 288
7  Foundation                     0x22d2428d4 __NSThreadPerformPerform + 336
8  CoreFoundation                 0x22c74e2bc __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
9  CoreFoundation                 0x22c74e23c __CFRunLoopDoSource0 + 88
10 CoreFoundation                 0x22c74db24 __CFRunLoopDoSources0 + 176
11 CoreFoundation                 0x22c748a60 __CFRunLoopRun + 1004
12 CoreFoundation                 0x22c748354 CFRunLoopRunSpecific + 436
13 WebCore                        0x2353a2480 RunWebThread(void*) + 600
14 libsystem_pthread.dylib        0x22c3dc2c0 _pthread_body + 128
15 libsystem_pthread.dylib        0x22c3dc220 _pthread_start + 44
16 libsystem_pthread.dylib        0x22c3dfcdc thread_start + 4

Xamarin iOS App crashing after users upgrade to iOS 13

$
0
0

After users upgrade their devices to iOS 13 our Xamarin iOS app opens and immediately crashes, but if the users then completely uninstall and then install the app it works perfectly fine. We use AppCenter to track our errors but the app is crashing before it event gets to the setup of the connection to their service meaning we have no errors logs to help track the issue.

Is anyone else experiencing a similar issue or have any more info to help us track down the problem?

how to de symbol(translate) uwp release mode crash to readable format

$
0
0

App's which are published in Windows Store(UWP) are gives symbols as crash trace.

How to translate those into human readable class file and function names . Here is a example

In debug mode , I am getting stack trace as follows

 System.InvalidCastException: Specified cast is not valid.
    at MyWindowsBase.Core.StartScreen(String screenName)
   at MyUWP.ApiHandler.StartScreen(String screenName)
   at TestUwpApp.BlankPage1.Button_Click(Object sender, RoutedEventArgs e)
   at Windows.ApplicationModel.Core.UnhandledError.Propagate()
   at Microsoft.HockeyApp.Extensibility.Windows.UnhandledExceptionTelemetryModule.CoreApplication_UnhandledErrorDetected(Object sender, UnhandledErrorDetectedEventArgs e)

And when this is what I am getting for release mode crash, for the same exception

"Specified cast is not valid."
   at TestUwpApp.BlankPage1.Button_Click(Object, RoutedEventArgs) + 0x21
   at Windows.Foundation.AsyncOperationCompletedHandler`1.Invoke(IAsyncOperation`1, AsyncStatus) + 0x21
   at __Interop.Intrinsics.HasThisCall__9[TArg0](Object, IntPtr, Object, TArg0) + 0x22
   at TestUwpApp!<BaseAddress>+0x46083b
   at System.Runtime.InteropServices.McgMarshal.ThrowOnExternalCallFailed(Int32, RuntimeTypeHandle) + 0x1d
   at __Interop.ComCallHelpers.Call(__ComObject, RuntimeTypeHandle, Int32) + 0x8c
   at __Interop.ForwardComStubs.Stub_15[TThis](__ComObject, Int32) + 0x1f
   at Microsoft.HockeyApp.Extensibility.Windows.UnhandledExceptionTelemetryModule.CoreApplication_UnhandledErrorDetected(Object, UnhandledErrorDetectedEventArgs) + 0xd9
   at System.EventHandler`1.Invoke(Object, TEventArgs) + 0x21
   at __Interop.Intrinsics.HasThisCall__9[TArg0](Object, IntPtr, Object, TArg0) + 0x22
   at TestUwpApp!<BaseAddress>+0x46083b

So , how can I convert this release mode stack trace into class and function names, so that it can be readable.

Read about pdb files, but couldn't get a proper document to translate symbols into class names.

Can anyone give me a proper way to desymbol those crash traces.

Thank you. Noorul


Strange crash when asking for location permission in iOS 13

$
0
0

Device:

iPhone 8, iOS 13.1.3

Crash log from crashlytics:

#0. Crashed: com.apple.main-thread
0  XXXXXXXXXX                     0x104d1a63c _hidden#14520_ + 71 (__hidden#14570_:71)
1  XXXXXXXXXX                     0x104d195a4 _hidden#14511_ (__hidden#14570_)
2  XXXXXXXXXX                     0x104d19b80 _hidden#14512_ (__hidden#1229_)
3  XXXXXXXXXX                     0x104de4594 _hidden#21237_ + 70 (__hidden#27902_:70)
4  XXXXXXXXXX                     0x104de3e54 _hidden#27841_ + 4345593428
5  XXXXXXXXXX                     0x104d7ae20 _hidden#21212_ (__hidden#1229_)
6  XXXXXXXXXX                     0x104ca897c _hidden#5864_ + 122 (__hidden#5883_:122)
7  XXXXXXXXXX                     0x104ca8608 _hidden#5854_ (__hidden#1229_)
8  CoreLocation                   0x1a6066f1c CLClientStopVehicleHeadingUpdates + 72644
9  CoreLocation                   0x1a6066d20 CLClientStopVehicleHeadingUpdates + 72136
10 CoreLocation                   0x1a60503b8 CLClientInvalidate + 1400
11 CoreFoundation                 0x1a2eba614 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 20
12 CoreFoundation                 0x1a2eb9db4 __CFRunLoopDoBlocks + 264
13 CoreFoundation                 0x1a2eb54ec __CFRunLoopRun + 2312
14 CoreFoundation                 0x1a2eb48bc CFRunLoopRunSpecific + 464
15 GraphicsServices               0x1acd20328 GSEventRunModal + 104
16 UIKitCore                      0x1a6f4a6d4 UIApplicationMain + 1936
17 XXXXXXXXXX                     0x104c70a38 main + 20 (__hidden#1227_:20)
18 libdyld.dylib                  0x1a2d3f460 start + 4

When I ask for location permission with

locationManager.requestWhenInUseAuthorization()

my app crashes. System dialog for asking location permissions is not shown, only screen is faded and after 3 second app crashes. On 99% devices it is working without problems only on one device it is crashing.

Thanks for any help.

app crashing on heroku Error H10 app crashed

$
0
0

I am getting this error when launching a mini browser in heroku. This is a node.js file and this is an error i can't go past by myself, s any help is greatly appreciated. I don't think it has a procfile as it not needed in heroku. If you want the package.json file it is here https://github.com/Misterdeath02/browser/blob/master/package.json
whole file of browser https://github.com/Misterdeath02/browser

2019-10-22T23:09:36.638187+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=browserbyfazal.herokuapp.com request_id=70f60e73-bc5f-499e-acbd-a0e08bed5d06 fwd="71.201.83.129" dyno= connect= service= status=503 bytes= protocol=https
2019-10-22T23:09:38.102978+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=browserbyfazal.herokuapp.com request_id=19e5cbf2-7b37-4c59-94d6-2df4c850a8eb fwd="71.201.83.129" dyno= connect= service= status=503 bytes= protocol=https
2019-10-22T23:09:46.400999+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=browserbyfazal.herokuapp.com request_id=407d3137-1fb9-4145-b6e1-8611d3d5eb78 fwd="71.201.83.129" dyno= connect= service= status=503 bytes= protocol=https
2019-10-22T23:09:46.922086+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=browserbyfazal.herokuapp.com request_id=1d143784-1e70-4a10-83c2-d770f26b08a8 fwd="71.201.83.129" dyno= connect= service= status=503 bytes= protocol=https
2019-10-22T23:10:55.624245+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=browserbyfazal.herokuapp.com request_id=71011b13-643c-4857-b130-d2f52460d216 fwd="71.201.83.129" dyno= connect= service= status=503 bytes= protocol=https
2019-10-22T23:10:56.595624+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=browserbyfazal.herokuapp.com request_id=507bec1e-3d4c-4bfe-9528-ea96a5b9c4b4 fwd="71.201.83.129" dyno= connect= service= status=503 bytes= protocol=https

How do you crash JVM in Android

$
0
0

I was reading a thread and I wonder, how can you crash JVM in Android without using JNI or System.exit(int)? (by crashing I mean creating error log or at least stopping the application immediately without uncaught exceptions/errors)

How can I make my iOS app crash when a view is laid out ambiguously?

$
0
0

I want to notify developers on my team, and prevent them from going further, when they have created a view that has ambiguous constraints. To do this, I want to make the phone crash (in debug). I could poll periodically to see if any views in the hierarchy have hasAmbiguousLayout set to true, but this is not great. However, it looks like iOS reports ambiguous layouts in its Runtime Issues area. So, there must be some equivalent of UIViewAlertForUnsatisfiableConstraints for ambiguous layouts. How can I make it crash?

Firebase Crashlytics reporting with custom keys

$
0
0

I wanted to send some custom keys for each crash, say a crash identifier to identify the user reported crash from crashlytics. I see the Crashlytics API provides a method setObjectValue(forkey:) to do this, but, where in code should this be called ? Do we have any Crashlytics callback that gets triggered when a crash happens? So far I have seen, there is only a callback to know whether crash happened during the last session.

  1. So which would be the best place to add custom keys to be associated for each crash?
  2. Docs say that Crashlytics supports a maximum of 64 such key/value pairs, does it mean that we can add custom keys only for 64 crashes or how does that work ?

How to delete blank archived Xcode files (swift4)

$
0
0

Since I have been developing in Xcode I have not figured out how to delete the files I have archived.These files have nothing in them when clicked on but still appear. I want to clean up some space on my hard drive.

enter image description here

iPhone app crash at [NSString stringWithFormat]

$
0
0

Hi I am getting the fowling error can any one help he in solving the issue. when I am sending the query to server the app is crashing before sending the query to server.

> " (lldb) bt
> * thread #1: tid = 0x2503, 0x38a4f5d0 libobjc.A.dylib`objc_msgSend + 16, stop reason = EXC_BAD_ACCESS (code=1, address=0x70706118)
>     frame #0: 0x38a4f5d0 libobjc.A.dylib`objc_msgSend + 16
>     frame #1: 0x323169f0 Foundation`_NSDescriptionWithLocaleFunc + 52
>     frame #2: 0x399dc430 CoreFoundation`__CFStringAppendFormatCore + 11160
>     frame #3: 0x399538a2 CoreFoundation`_CFStringCreateWithFormatAndArgumentsAux + 74
>     frame #4: 0x3231650c Foundation`+[NSString stringWithFormat:] + 60
>     frame #5: 0x0012a92c App`-[merchantListViewController getMerchantsData] + 1344 at merchantListViewController.m:754
>     frame #6: 0x00127a3e App`-[merchantListViewController loadMoreButtonClicked:] + 194 at merchantListViewController.m:353
>     frame #7: 0x0012b0e4 App`-[merchantListViewController tableView:willDisplayCell:forRowAtIndexPath:] + 228 at
> merchantListViewController.m:903
>     frame #8: 0x332565aa UIKit`-[UITableView(UITableViewInternal) _createPreparedCellForGlobalRow:withIndexPath:] + 514
>     frame #9: 0x3323b360 UIKit`-[UITableView(_UITableViewPrivate) _updateVisibleCellsNow:] + 1316
>     frame #10: 0x332527fe UIKit`-[UITableView layoutSubviews] + 206
>     frame #11: 0x3320e896 UIKit`-[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 258
>     frame #12: 0x392cc4ea QuartzCore`-[CALayer layoutSublayers] + 214
>     frame #13: 0x392cc08c QuartzCore`CA::Layer::layout_if_needed(CA::Transaction*) + 460
>     frame #14: 0x392ccfb0 QuartzCore`CA::Layer::layout_and_display_if_needed(CA::Transaction*) +
> 16
>     frame #15: 0x392cc99a QuartzCore`CA::Context::commit_transaction(CA::Transaction*) + 238
>     frame #16: 0x392cc7ac QuartzCore`CA::Transaction::commit() + 316
>     frame #17: 0x392cc610 QuartzCore`CA::Transaction::observer_callback(__CFRunLoopObserver*,
> unsigned long, void*) + 60
>     frame #18: 0x399d0940 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__
> + 20
>     frame #19: 0x399cec38 CoreFoundation`__CFRunLoopDoObservers + 276
>     frame #20: 0x399cef92 CoreFoundation`__CFRunLoopRun + 746
>     frame #21: 0x3994223c CoreFoundation`CFRunLoopRunSpecific + 356
>     frame #22: 0x399420c8 CoreFoundation`CFRunLoopRunInMode + 104
>     frame #23: 0x39a9e33a GraphicsServices`GSEventRunModal + 74
>     frame #24: 0x3325f290 UIKit`UIApplicationMain + 1120
>     frame #25: 0x000dd2d8 App`main + 152 at main.m:15 "

this is the code for the json post request

sessionId =[[NSUserDefaults standardUserDefaults] objectForKey:@"session_id"];
        shouldReloadData=NO;
        [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(getMerchantsListData:) name:@"getMerchantsListData" object:nil];
        NSDictionary *params = [NSDictionary dictionaryWithObjectsAndKeys:
                                latitude,@"latitude",
                                longitude,@"longitude",
                                //[NSString stringWithFormat:@"%d",categoryID],@"category_id",
                                [NSString stringWithFormat:@"%d",sortOrderID],@"sort_order",
                                @"5",@"page_size",
                                [NSString stringWithFormat:@"%@",searchMerchant.text],@"search_keyword",
                                [NSString stringWithFormat:@"%d",pageNumber],@"page_number",
                                sessionId,@"session_id",
                                nil];
        //searchKeyword=@"";
        NSLog(@"params %@",params);

        [[UFNetworking dataSourceInstance] getData:params toAPI:kGetMerchantList cache:NO secure:NO notification:@"getMerchantsListData"];

Xamarin.iOS app crashes on startup on iOS13 on Testflight

$
0
0

I have tested the application on Testflight and as soon as I open it everything works correctly. The problem comes when I close the app and open it again, at that moment the application crashed and does not let me open it anymore.

I am testing on my iphone 6s with iOS 13.1.3.

Can anyone help me, please?

loop crashes after first variable

$
0
0

I have a code in c++ which i have to loop over with another external python script. Every time I run that python script, the whole process crashes after the first loop. So I think my problem is more general, maybe I need to understand basic syntax first which would have generally lead to that crash. I hope you guys can give me some hints on why it causes the crash.

the c++ code is:

bool IsaSlowPion(const Particle*, const std::vector<double>& vars)
{
  const unsigned iparticle = int(std::lround(vars[0]));
  std::cout << "looking at particle nr:   " << iparticle << std::endl;
  StoreArray<MCParticle> particles;
  for (auto p : particles) {
    std::cout << p.getMother() << std::endl;
  }
  unsigned nparticles = particles.getEntries();
  std::cout << "Particles per event:  "<< nparticles << std::endl;
  if (nparticles < 1) {
    B2WARNING("No MCParticles found in the event, check the input");
    return false;
  }
  if (iparticle > (nparticles-1)) {
    return false;
  }
  std::cout << particles[iparticle]->getPDG() <<  std::endl;
  if (abs(particles[iparticle]->getPDG() == 413)) {
    std::cout << "test print" << std::endl;
    std::cout << particles[iparticle]->getMother() << std::endl;

      if (abs(particles[iparticle]->getMother()->getPDG() == 413)) {
        std::cout << particles[iparticle]->getEnergy() << std::endl;
        return true;
      } else {
        return false;
      }

  }
}

VARIABLE_GROUP("PXD clusters");
REGISTER_VARIABLE("IsaSlowPion(i)", IsaSlowPion, "[EventBased] Returns" );

and the python script to access the C++ Code and executing the loop looks like this:

IsaPionList = []
maxparticles = 20
for iy in range(1, maxparticles):
  variables.addAlias('IsaSlowPion_%i' %(iy), 'IsaSlowPion(%i)' %(iy))
  IsaPionList.append('IsaSlowPion_%i' %(iy))

EDIT: Sorry, I totally forgot to paste in the output and error messages:

[INFO] Steering file: slowPi2.py
looking at particle nr:   1
0          300553         10.5821
0x132f91a0             511         5.27953
0x132f91a0            -511         5.27953
0x132f9240            -413         2.01023
0x132f9240             -11     0.000510999

Particles per event:  23
PDG:  -211
*** Error in `basf2': munmap_chunk(): invalid pointer: 0x00007ffc9e610ab8 ***

Android - Execute function after app stopped (crashed)

$
0
0

I'm currently checking if a user is Premium or not during the authentification.

I noticed that sometime, if the app crash with the message "The application has stopped", the app is relaunched to the current activity (without passing by the main activity).

My problem is that I check if the user is premium or not in the main activity. So, in that case the user is not premium unless if the app is killed and reboot.

I would like to know if it's possible to call a function (e.g. check is the user is premium or not) after the app is stopped by a crash and relaunched.

Redis crashes, read only file system

$
0
0

I have a new install of Redis running and I keep seeing these errors pop up in the logs followed by a Redis restart. I've search for a solution to no avail. Does anyone have any ideas how to solve this?

Update I did try chown-ing the directories to the redis user and adding redis to the sudo user group. Also it changed in the error message which directory it was trying to use to: Failed opening the RDB file root (in server root dir /var/spool/cron) for saving: Read-only file system. Why does it keep changing?

Error Message

23775:M 24 Oct 2019 15:35:57.611 # Failed opening the RDB file root (in server root dir /usr/share/bug/apt) for saving: Read-only file system


=== REDIS BUG REPORT START: Cut & paste starting from here ===
23775:M 24 Oct 2019 15:35:57.611 # Redis 5.0.6 crashed by signal: 11
23775:M 24 Oct 2019 15:35:57.611 # Crashed running the instruction at: 0x55fe9428d8c8
23775:M 24 Oct 2019 15:35:57.611 # Accessing address: 0xaee10
23775:M 24 Oct 2019 15:35:57.611 # Failed assertion: <no assertion failed> (<no file>:0)

------ STACK TRACE ------
EIP:
/usr/bin/redis-server 0.0.0.0:6379(je_malloc_usable_size+0x78)[0x55fe9428d8c8]

Backtrace:
/usr/bin/redis-server 0.0.0.0:6379(logStackTrace+0x5a)[0x55fe9421d4da]
/usr/bin/redis-server 0.0.0.0:6379(sigsegvHandler+0xb1)[0x55fe9421dc91]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x12890)[0x7f025168a890]
/usr/bin/redis-server 0.0.0.0:6379(je_malloc_usable_size+0x78)[0x55fe9428d8c8]
/usr/bin/redis-server 0.0.0.0:6379(zfree+0xe)[0x55fe941de3de]
/usr/bin/redis-server 0.0.0.0:6379(rdbSave+0x268)[0x55fe941f9448]
/usr/bin/redis-server 0.0.0.0:6379(saveCommand+0x5f)[0x55fe941fc29f]
/usr/bin/redis-server 0.0.0.0:6379(call+0xb5)[0x55fe941d6c35]
/usr/bin/redis-server 0.0.0.0:6379(processCommand+0x36f)[0x55fe941d733f]
/usr/bin/redis-server 0.0.0.0:6379(processInputBuffer+0x171)[0x55fe941e7e31]
/usr/bin/redis-server 0.0.0.0:6379(aeProcessEvents+0x150)[0x55fe941d0670]
/usr/bin/redis-server 0.0.0.0:6379(aeMain+0x2b)[0x55fe941d0a5b]
/usr/bin/redis-server 0.0.0.0:6379(main+0x4f4)[0x55fe941cd604]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0x7f02512a8b97]
/usr/bin/redis-server 0.0.0.0:6379(_start+0x2a)[0x55fe941cd85a]

------ INFO OUTPUT ------
# Server
redis_version:5.0.6
redis_git_sha1:00000000
redis_git_dirty:0
redis_build_id:9260170b247e88b
redis_mode:standalone
os:Linux 4.15.0-1052-aws x86_64
arch_bits:64
multiplexing_api:epoll
atomicvar_api:atomic-builtin
gcc_version:7.4.0
process_id:23775
run_id:9d2791f8e49332cfbcb6233a3ae96b4ea7059726
tcp_port:6379
uptime_in_seconds:31859
uptime_in_days:0
hz:10
configured_hz:10
lru_clock:11650269
executable:/usr/bin/redis-server
config_file:/etc/redis/redis.conf

# Clients
connected_clients:47
client_recent_max_input_buffer:2
client_recent_max_output_buffer:0
blocked_clients:0

# Memory
used_memory:1924456
used_memory_human:1.84M
used_memory_rss:55566336
used_memory_rss_human:52.99M
used_memory_peak:125863568
used_memory_peak_human:120.03M
used_memory_peak_perc:1.53%
used_memory_overhead:1688898
used_memory_startup:792408
used_memory_dataset:235558
used_memory_dataset_perc:20.81%
allocator_allocated:2195240
allocator_active:5517312
allocator_resident:47542272
total_system_memory:1004318720
total_system_memory_human:957.79M
used_memory_lua:41984
used_memory_lua_human:41.00K
used_memory_scripts:2144
used_memory_scripts_human:2.09K
number_of_cached_scripts:4
maxmemory:0
maxmemory_human:0B
maxmemory_policy:noeviction
allocator_frag_ratio:2.51
allocator_frag_bytes:3322072
allocator_rss_ratio:8.62
allocator_rss_bytes:42024960
rss_overhead_ratio:1.17
rss_overhead_bytes:8024064
mem_fragmentation_ratio:27.71
mem_fragmentation_bytes:53561008
mem_not_counted_for_evict:0
mem_replication_backlog:0
mem_clients_slaves:0
mem_clients_normal:893650
mem_aof_buffer:0
mem_allocator:jemalloc-5.1.0
active_defrag_running:0
lazyfree_pending_objects:0

# Persistence
loading:0
rdb_changes_since_last_save:14046
rdb_bgsave_in_progress:0
rdb_last_save_time:1571931356
rdb_last_bgsave_status:ok
rdb_last_bgsave_time_sec:0
rdb_current_bgsave_time_sec:-1
rdb_last_cow_size:1150976
aof_enabled:0
aof_rewrite_in_progress:0
aof_rewrite_scheduled:0
aof_last_rewrite_time_sec:-1
aof_current_rewrite_time_sec:-1
aof_last_bgrewrite_status:ok
aof_last_write_status:ok
aof_last_cow_size:0

# Stats
total_connections_received:12329
total_commands_processed:2498511
instantaneous_ops_per_sec:85
total_net_input_bytes:953554893
total_net_output_bytes:230738756
instantaneous_input_kbps:15.81
instantaneous_output_kbps:1.01
rejected_connections:0
sync_full:0
sync_partial_ok:0
sync_partial_err:0
expired_keys:4792
expired_stale_perc:0.12
expired_time_cap_reached_count:0
evicted_keys:0
keyspace_hits:83029
keyspace_misses:806086
pubsub_channels:0
pubsub_patterns:0
latest_fork_usec:1176
migrate_cached_sockets:0
slave_expires_tracked_keys:0
active_defrag_hits:0
active_defrag_misses:0
active_defrag_key_hits:0
active_defrag_key_misses:0

# Replication
role:master
connected_slaves:0
master_replid:3281859808c148713ad3201bb00020ab5f4fac45
master_replid2:0000000000000000000000000000000000000000
master_repl_offset:0
second_repl_offset:-1
repl_backlog_active:0
repl_backlog_size:1048576
repl_backlog_first_byte_offset:0
repl_backlog_histlen:0

# CPU
used_cpu_sys:53.960533
used_cpu_user:54.043861
used_cpu_sys_children:1.267945
used_cpu_user_children:9.823947

# Commandstats
cmdstat_hmget:calls=14608,usec=19682,usec_per_call=1.35
cmdstat_config:calls=8,usec=2950,usec_per_call=368.75
cmdstat_zremrangebyrank:calls=8,usec=47,usec_per_call=5.88
cmdstat_zrangebyscore:calls=436170,usec=1187494,usec_per_call=2.72
cmdstat_incr:calls=6773,usec=24353,usec_per_call=3.60
cmdstat_hsetnx:calls=13546,usec=24831,usec_per_call=1.83
cmdstat_set:calls=1,usec=5,usec_per_call=5.00
cmdstat_expireat:calls=13546,usec=20965,usec_per_call=1.55
cmdstat_exists:calls=15818,usec=15034,usec_per_call=0.95
cmdstat_sadd:calls=13546,usec=16288,usec_per_call=1.20
cmdstat_setnx:calls=63608,usec=123081,usec_per_call=1.93
cmdstat_hget:calls=21734,usec=74410,usec_per_call=3.42
cmdstat_info:calls=5,usec=355,usec_per_call=71.00
cmdstat_incrby:calls=7909,usec=15466,usec_per_call=1.96
cmdstat_select:calls=12320,usec=11424,usec_per_call=0.93
cmdstat_lpop:calls=218085,usec=270171,usec_per_call=1.24
cmdstat_flushall:calls=1,usec=11517,usec_per_call=11517.00
cmdstat_zrem:calls=6773,usec=102174,usec_per_call=15.09
cmdstat_smembers:calls=13546,usec=14951,usec_per_call=1.10
cmdstat_ping:calls=1,usec=1,usec_per_call=1.00
cmdstat_rpush:calls=6773,usec=103922,usec_per_call=15.34
cmdstat_zremrangebyscore:calls=127652,usec=320001,usec_per_call=2.51
cmdstat_hmset:calls=161092,usec=1019926,usec_per_call=6.33
cmdstat_get:calls=237752,usec=514119,usec_per_call=2.16
cmdstat_expire:calls=127751,usec=194701,usec_per_call=1.52
cmdstat_zadd:calls=140773,usec=1180994,usec_per_call=8.39
cmdstat_del:calls=1535,usec=2832,usec_per_call=1.84
cmdstat_llen:calls=148955,usec=320113,usec_per_call=2.15
cmdstat_zrevrangebyscore:calls=532,usec=3787,usec_per_call=7.12
cmdstat_setex:calls=4071,usec=21029,usec_per_call=5.17
cmdstat_eval:calls=683619,usec=12380210,usec_per_call=18.11

# Cluster
cluster_enabled:0

# Keyspace
db0:keys=9,expires=6,avg_ttl=512675849

------ CLIENT LIST OUTPUT ------
id=14 addr=34.217.102.227:51546 fd=19 name= age=31857 idle=1 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=eval
id=15 addr=34.217.102.227:51548 fd=20 name= age=31857 idle=2 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=eval
id=16 addr=34.217.102.227:51550 fd=21 name= age=31857 idle=0 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=eval
id=17 addr=34.217.102.227:51552 fd=22 name= age=31857 idle=1 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=eval
id=6 addr=34.217.102.227:51530 fd=11 name= age=31859 idle=0 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=zremrangebyscore
id=7 addr=34.217.102.227:51532 fd=12 name= age=31858 idle=0 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=llen
id=8 addr=34.217.102.227:51534 fd=13 name= age=31857 idle=1 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=eval
id=9 addr=34.217.102.227:51536 fd=14 name= age=31857 idle=2 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=eval
id=10 addr=34.217.102.227:51538 fd=15 name= age=31857 idle=2 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=eval
id=28 addr=54.244.76.24:41980 fd=33 name= age=31856 idle=1 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=llen
id=3 addr=34.217.102.227:51528 fd=8 name= age=31859 idle=0 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=hget
id=4 addr=54.244.76.24:41954 fd=9 name= age=31859 idle=0 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=32768 obl=0 oll=0 omem=0 events=r cmd=setnx
id=33 addr=34.217.102.227:51560 fd=36 name= age=31854 idle=53 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=eval
id=34 addr=34.217.102.227:51566 fd=37 name= age=31854 idle=23 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=eval
id=45 addr=54.244.76.24:42024 fd=40 name= age=31554 idle=41 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=eval
id=46 addr=54.244.76.24:42026 fd=41 name= age=31554 idle=19 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=eval
id=35 addr=34.217.102.227:51568 fd=38 name= age=31854 idle=12 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=eval
id=5 addr=54.244.76.24:41956 fd=10 name= age=31859 idle=0 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=32768 obl=0 oll=0 omem=0 events=r cmd=zremrangebyscore
id=72 addr=54.244.76.24:42138 fd=50 name= age=30954 idle=19 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=eval
id=73 addr=54.244.76.24:42140 fd=51 name= age=30954 idle=53 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=eval
id=74 addr=54.244.76.24:42142 fd=52 name= age=30954 idle=19 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=eval
id=75 addr=54.244.76.24:42144 fd=53 name= age=30954 idle=19 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=eval
id=53 addr=34.217.102.227:51676 fd=42 name= age=31374 idle=19 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=eval
id=54 addr=34.217.102.227:51678 fd=43 name= age=31374 idle=21 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=eval
id=55 addr=34.217.102.227:51680 fd=44 name= age=31374 idle=19 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=eval
id=56 addr=34.217.102.227:51684 fd=45 name= age=31374 idle=53 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=eval
id=57 addr=34.217.102.227:51686 fd=46 name= age=31374 idle=53 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=eval
id=21 addr=54.244.76.24:41964 fd=26 name= age=31857 idle=1 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=eval
id=22 addr=54.244.76.24:41966 fd=27 name= age=31857 idle=2 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=eval
id=44 addr=54.244.76.24:42020 fd=39 name= age=31554 idle=53 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=eval
id=31 addr=34.217.102.227:51554 fd=34 name= age=31854 idle=94 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=eval
id=12328 addr=54.38.207.237:48762 fd=54 name= age=2 idle=0 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=6 qbuf-free=32762 obl=0 oll=0 omem=0 events=r cmd=save
id=32 addr=34.217.102.227:51558 fd=35 name= age=31854 idle=53 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=eval
id=23 addr=54.244.76.24:41968 fd=28 name= age=31857 idle=2 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=eval
id=24 addr=54.244.76.24:41970 fd=29 name= age=31857 idle=1 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=eval
id=25 addr=54.244.76.24:41972 fd=30 name= age=31857 idle=1 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=eval
id=62 addr=54.244.76.24:42090 fd=47 name= age=31254 idle=38 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=eval
id=63 addr=54.244.76.24:42092 fd=48 name= age=31254 idle=53 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=eval
id=64 addr=54.244.76.24:42094 fd=49 name= age=31254 idle=19 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=eval
id=26 addr=54.244.76.24:41976 fd=31 name= age=31857 idle=1 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=eval
id=27 addr=54.244.76.24:41974 fd=32 name= age=31857 idle=2 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=eval
id=11 addr=34.217.102.227:51540 fd=16 name= age=31857 idle=2 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=eval
id=12 addr=34.217.102.227:51542 fd=17 name= age=31857 idle=3 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=eval
id=18 addr=54.244.76.24:41958 fd=23 name= age=31857 idle=2 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=eval
id=19 addr=54.244.76.24:41960 fd=24 name= age=31857 idle=2 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=eval
id=20 addr=54.244.76.24:41962 fd=25 name= age=31857 idle=1 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=eval
id=13 addr=34.217.102.227:51544 fd=18 name= age=31857 idle=2 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=eval

How can I redirect a single segment url without forward slash at the end?

$
0
0

My website's htaccess file is not allowing a single segment's redirect without a forward slash at the end. If I leave it off, it loops and crashes the website. How can I allow my users to go to [site].com/winter-camping and have it be redirected? This is what I have set up that currently works:

RewriteEngine On

RedirectMatch permanent /find-a-park/ https://[site].com/about/find-a-park
RedirectMatch permanent /winter-camping/ https://[site].com/about/promotion-details/winter-camping

#our rules:
<IfModule mod_rewrite.c>
        RewriteEngine On
        RewriteBase /

        # Removes index.php from ExpressionEngine URLs
        RewriteCond %{THE_REQUEST} ^GET.*index\.php [NC]
        RewriteCond %{REQUEST_URI} !/system/.* [NC]
        RewriteRule (.*?)index\.php/*(.*) /$1$2 [R=301,NE,L]

        # Directs all EE web requests through the site index file
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteRule ^(.*)$ /index.php/$1 [L]
</IfModule>

Basically I don't want my users to have to put the forward slash at the end to get to the page at all.

I do have instances that do work, however, which is why I'm confused. The only difference is they're subpages:

RedirectMatch permanent /parks/about/central-park https://[site].com/parks/central-park

One thing to know is that we use ExpressionEngine as our CMS. How can I get those first two redirects to redirect their urls and not crash my site? Thanks 🙃

Viewing all 7143 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>