Skip to content

Instantly share code, notes, and snippets.

Avatar

Nathan Freitas n8fr8

View GitHub Profile
@n8fr8
n8fr8 / gist:3e7aa1bbd8ade03c61fdfc510572d28b
Created Jan 14, 2020
crash implementing NewNode android
View gist:3e7aa1bbd8ade03c61fdfc510572d28b
2020-01-14 13:53:31.826 12253-12253/at.xtools.pwawrapper A/ools.pwawrappe: java_vm_ext.cc:570] JNI DETECTED ERROR IN APPLICATION: JNI CallStaticObjectMethod called with pending exception java.lang.NoSuchMethodError: no static method "Lcom/bugsnag/android/NativeInterface;.getErrorStorePath()Ljava/lang/String;"
2020-01-14 13:53:31.826 12253-12253/at.xtools.pwawrapper A/ools.pwawrappe: java_vm_ext.cc:570] at void com.clostra.newnode.NewNode.setCacheDir(java.lang.String) (NewNode.java:-2)
2020-01-14 13:53:31.826 12253-12253/at.xtools.pwawrapper A/ools.pwawrappe: java_vm_ext.cc:570] at void com.clostra.newnode.NewNode.init() (NewNode.java:133)
2020-01-14 13:53:31.826 12253-12253/at.xtools.pwawrapper A/ools.pwawrappe: java_vm_ext.cc:570] at void at.xtools.pwawrapper.MainActivity.onCreate(android.os.Bundle) (MainActivity.java:26)
2020-01-14 13:53:31.826 12253-12253/at.xtools.pwawrapper A/ools.pwawrappe: java_vm_ext.cc:570] at void android.app.Activity.performCreate(android.os.Bundle, android.os.PersistableBu
View gist:dbc0da2f992bd1ee42dc4b88f9085e8c
019-07-08 16:28:15.450 18456-18486/info.guardianproject.keanuapp E/libc: Access denied finding property "vendor.debug.egl.profiler"
2019-07-08 16:28:15.652 18456-18456/info.guardianproject.keanuapp A/libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x65c in tid 18456 (roject.keanuapp), pid 18456 (roject.keanuapp)
2019-07-08 16:28:15.719 18490-18490/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2019-07-08 16:28:15.719 18490-18490/? A/DEBUG: Build fingerprint: 'google/sargo/sargo:9/PQ3B.190705.003/5622519:user/release-keys'
2019-07-08 16:28:15.719 18490-18490/? A/DEBUG: Revision: 'MP1.0'
2019-07-08 16:28:15.719 18490-18490/? A/DEBUG: ABI: 'arm64'
2019-07-08 16:28:15.719 18490-18490/? A/DEBUG: pid: 18456, tid: 18456, name: roject.keanuapp >>> info.guardianproject.keanuapp <<<
2019-07-08 16:28:15.719 18490-18490/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x65c
2019-07-08 16:28:15.719 18490-18490/? A/DEBUG: Cause: null pointer dereference
2019-07
@n8fr8
n8fr8 / gist:7ef1d76f25b0de61810f04327295b35e
Created May 24, 2017
Sample of interactive netcipher volley request
View gist:7ef1d76f25b0de61810f04327295b35e
/*
* Copyright (c) 2016 CommonsWare, LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
View gist:4fafa6406c00e9981fc89dc5d43ad59d
SENT (1): <iq to='nxtestfoo.1c007995@5222.de' id='syCPe-102' type='set'><pubsub xmlns='http://jabber.org/protocol/pubsub'><create node='eu.siacs.conversations.axolotl.devicelist'/></pubsub></iq><r xmlns='urn:xmpp:sm:3'/>
04-05 14:09:29.918 32745-1263/org.awesomeapp.messenger.debug D/SMACK: RECV (1): <r xmlns='urn:xmpp:sm:3'/>
04-05 14:09:29.922 32745-1262/org.awesomeapp.messenger.debug D/SMACK: SENT (1): <a xmlns='urn:xmpp:sm:3' h='15'/>
04-05 14:09:30.022 32745-1263/org.awesomeapp.messenger.debug D/SMACK: RECV (1): <iq id='syCPe-102' type='error' to='nxtestfoo.1c007995@5222.de/ChatSecureZom-eb46339a'><error type='cancel'><service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></iq><a h='15' xmlns='urn:xmpp:sm:3'/>
04-05 14:09:30.027 32745-1324/org.awesomeapp.messenger.debug E/ZomXMPP: 0 : unable to send message
org.jivesoftware.smack.XMPPException$XMPPErrorException: XMPPError: service-unavailable - cancel
View signal-batch.sh
#!/usr/bin/env sh
if [ "$1" != "" ]; then
sBatchList=""
sBatchMessage="$3"
while IFS=, read col1 col2
do
sBatchList="$sBatchList $col1"
View gist:81570c3889763a648e95e872ff1371a3
D/GeckoBrowserApp(15310): BrowserApp.onTabChanged: 0: STOP
W/AccountManagerService( 822): caller uid 10304 lacks any of android.permission.GET_ACCOUNTS
E/GeckoCrashHandler(15310): >>> REPORTING UNCAUGHT EXCEPTION FROM THREAD 11440 ("Gecko")
E/GeckoCrashHandler(15310): java.lang.SecurityException: caller uid 10304 lacks any of android.permission.GET_ACCOUNTS
E/GeckoCrashHandler(15310): at android.os.Parcel.readException(Parcel.java:1546)
E/GeckoCrashHandler(15310): at android.os.Parcel.readException(Parcel.java:1499)
E/GeckoCrashHandler(15310): at android.accounts.IAccountManager$Stub$Proxy.getAccountsAsUser(IAccountManager.java:785)
E/GeckoCrashHandler(15310): at android.accounts.AccountManager.getAccountsByTypeAsUser(AccountManager.java:493)
E/GeckoCrashHandler(15310): at android.accounts.AccountManager.getAccountsByType(AccountManager.java:487)
E/GeckoCrashHandler(15310): at org.mozilla.gecko.sync.setup.SyncAccounts.syncAccountsExist(SyncAccounts.java:66)
View gist:e7ae64fac6721e285089
--------- beginning of /dev/log/system
I/PackageManager( 1009): Adding preferred activity ComponentInfo{org.thoughtcrime.securesms/org.thoughtcrime.securesms.SmsSendtoActivity} for user 0 :
I/ActivityManager( 1009): Start proc com.google.android.talk for broadcast com.google.android.talk/com.google.android.apps.hangouts.phone.PackageReplacedReceiver: pid=4696 uid=10068 gids={50068, 3003, 1028, 1015, 3002}
I/PackageManager( 1009): Adding preferred activity ComponentInfo{org.thoughtcrime.securesms/org.thoughtcrime.securesms.SmsSendtoActivity} for user 0 :
I/ActivityManager( 1009): Process com.google.android.gm (pid 4452) has died.
I/PackageManager( 1009): Adding preferred activity ComponentInfo{org.thoughtcrime.securesms/org.thoughtcrime.securesms.SmsSendtoActivity} for user 0 :
I/PackageManager( 1009): Adding preferred activity ComponentInfo{org.thoughtcrime.securesms/org.thoughtcrime.securesms.SmsSendtoActivity} for user 0 :
I/PackageManager( 1009): Adding preferred activity ComponentInfo{org.thoughtcrime.sec
View gist:852b01bb1e4ca6c272ca
W/GeckoLinker(13240): /data/app/org.mozilla.fennec_amoghbl1-2.apk!/assets/armeabi-v7a/libxul.so: Relocation to NULL @0x01ca8fcc for symbol "__cxa_type_match"
D/GeckoSessInfo(13240): Recording start of session: 1432955779650
D/StrictMode(13240): StrictMode policy violation; ~duration=43 ms: android.os.StrictMode$StrictModeDiskReadViolation: policy=31 violation=2
D/StrictMode(13240): at android.os.StrictMode$AndroidBlockGuardPolicy.onReadFromDisk(StrictMode.java:1135)
D/StrictMode(13240): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:106)
D/StrictMode(13240): at libcore.io.IoBridge.open(IoBridge.java:393)
D/StrictMode(13240): at java.io.FileInputStream.<init>(FileInputStream.java:78)
D/StrictMode(13240): at java.io.FileInputStream.<init>(FileInputStream.java:105)
D/StrictMode(13240): at org.mozilla.gecko.SysInfo.getMemSize(SysInfo.java:148)
D/StrictMode(13240): at org.mozilla.gecko.util.HardwareUtils.getMemSize(HardwareUtils.java:97)
@n8fr8
n8fr8 / gist:fcdb35904600c40ce870
Created May 18, 2015
orfox native code crash
View gist:fcdb35904600c40ce870
D/dalvikvm(10162): Trying to load lib libnativehelper.so 0x0^M
D/dalvikvm(10162): Added shared lib libnativehelper.so 0x0^M
D/dalvikvm(10162): No JNI_OnLoad found in libnativehelper.so 0x0, skipping init^M
D/dalvikvm(10164): Trying to load lib libjavacore.so 0x0^M
D/dalvikvm(10164): Added shared lib libjavacore.so 0x0^M
D/dalvikvm(10164): Trying to load lib libnativehelper.so 0x0^M
D/dalvikvm(10164): Added shared lib libnativehelper.so 0x0^M
D/dalvikvm(10164): No JNI_OnLoad found in libnativehelper.so 0x0, skipping init^M
D/dalvikvm(10162): Note: class Landroid/app/ActivityManagerNative; has 181 unimplemented (abstract) methods^M
I/DEBUG ( 271): r0 00000000 r1 00000000 r2 00000200 r3 00000000^M
View gist:82cc1a37c4e52daf4199
I/GeckoApp( 7527): Creating HealthRecorder.
D/GeckoApp( 7527): OS locale is en_US, app locale is null
D/GeckoHealthRec( 7527): Initializing. Dispatcher is org.mozilla.gecko.EventDispatcher@426dde48
D/GeckoHardwareUtils( 7527): System memory: 851MB.
D/GeckoHealthRec( 7527): Initializing profile cache.
D/GeckoHealthRec( 7527): Looking for /data/data/org.mozilla.fennec_amoghbl1/files/mozilla/mo6h38tf.default/times.json
D/GeckoHealthRec( 7527): Using times.json for profile creation time.
D/GeckoHealthRec( 7527): Incorporating environment: times.json profile creation = 1431971472678
D/GeckoSessInfo( 7527): Recording start of session: 1431971560292
I/GeckoDistribution( 7527): Getting file from distribution.