Skip to content

Instantly share code, notes, and snippets.

View yaronyg's full-sized avatar

Yaron Y Goland yaronyg

View GitHub Profile
@yaronyg
yaronyg / gist:49d94abd4448e9bb2cff39f1745d7666
Created December 2, 2016 23:24
Nexus 6 - Failed run - Bug 1596 - Test Write
12-02 15:02:31.902 867 879 I system_server User[0] Flushing usage stats to disk
12-02 15:02:32.104 970 - I /system/bin/ks STATUS: SAHARA_HELLO: hw_info = 0x01030610, pwrup_reason = 0x00004000
12-02 15:02:32.104 970 - I /system/bin/ks STATUS: Wrote to /sys/power/wake_lock
12-02 15:02:32.140 970 - E /system/bin/ks ERROR: function: open_file:195 filename = /dev/block/platform/msm_sdcc.1/by-name/mdm1m9kefs2
12-02 15:02:32.140 970 - I /system/bin/ks STATUS: Opening file '/dev/block/platform/msm_sdcc.1/by-name/mdm1m9kefs2' for writing
12-02 15:02:33.116 /system/bin/ks 970 - I kickstart STATUS: Received file 'm9kefs2'
12-02 15:02:33.116 /system/bin/ks 970 - I kickstart STATUS: 950272 bytes transferred in 0.975168 seconds
12-02 15:02:33.116 /system/bin/ks 970 - I kickstart STATUS: Successfully downloaded files from target
12-02 15:02:33.116 /system/bin/ks 970 - I kickstart STATUS: Wrote to /sys/power/wake_unlock
12-02 15:02:33.120 /system/bin/ks 970 - I kickstart STATUS: Sahara protocol compl
npm http request GET http://localhost:4873/pouchdb
npm http 304 http://localhost:4873/base64url
npm http 200 http://localhost:4873/pouchdb-promise
npm http 304 http://localhost:4873/pouchdb-system-db
npm http 304 http://localhost:4873/crypto-lite
npm http 304 http://localhost:4873/pouchdb-bulkdocs-wrapper
npm http 304 http://localhost:4873/pouchdb-plugin-error
npm http 304 http://localhost:4873/pouchdb-req-http-query
npm http 304 http://localhost:4873/secure-random
2016-07-26 15:48:10,665 [ 0] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------
2016-07-26 15:48:10,671 [ 6] INFO - #com.intellij.idea.Main - IDE: IntelliJ IDEA (build #IU-162.1121.32, 09 Jul 2016 00:00)
2016-07-26 15:48:10,671 [ 6] INFO - #com.intellij.idea.Main - OS: Mac OS X (10.10.5, x86_64)
2016-07-26 15:48:10,671 [ 6] INFO - #com.intellij.idea.Main - JRE: 1.8.0_76-release-b216 (JetBrains s.r.o)
2016-07-26 15:48:10,671 [ 6] INFO - #com.intellij.idea.Main - JVM: 25.76-b216 (OpenJDK 64-Bit Server VM)
2016-07-26 15:48:10,676 [ 11] INFO - #com.intellij.idea.Main - JVM Args: -Dfile.encoding=UTF-8 -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Xverify:none -XX:ErrorFile=/Users/yarongola
Yarons-MacBook-Pro:pouchdb yarongoland$ npm install
npm WARN deprecated native-or-bluebird@1.2.0: 'native-or-bluebird' is deprecated. Please use 'any-promise' instead.
npm WARN deprecated lodash@1.0.2: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0.
npm WARN deprecated jade@0.26.3: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN deprecated graceful-fs@3.0.8: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
> sauce-connect-launcher@0.14.0 postinstall /private/tmp/delme2/pouchdb/node_modules/sauce-connect-launcher
> node scripts/install.js
@yaronyg
yaronyg / lg
Created May 12, 2016 21:06
LG dump with stack
This file has been truncated, but you can view the full file.
--------- beginning of system
05-12 13:19:38.403 1179 3110 V AlarmManager: ELAPSED_WAKEUP set : Alarm{ab90d2e type 2 when 787719929 com.android.bluetooth} when 787719929
05-12 13:19:40.683 1179 3110 V AlarmManager: ELAPSED_WAKEUP set : Alarm{1262d0cf type 2 when 787725873 com.android.bluetooth} when 787725873
05-12 13:19:41.723 1179 3110 V AlarmManager: ELAPSED_WAKEUP set : Alarm{3ecc2a5c type 2 when 787727225 com.android.bluetooth} when 787727225
05-12 13:19:42.773 1179 3110 V AlarmManager: ELAPSED_WAKEUP set : Alarm{10fe4165 type 2 when 787728272 com.android.bluetooth} when 787728272
05-12 13:19:43.823 1179 3110 V AlarmManager: ELAPSED_WAKEUP set : Alarm{2d4cce3a type 2 when 787729323 com.android.bluetooth} when 787729323
05-12 13:19:44.863 1179 3110 V AlarmManager: ELAPSED_WAKEUP set : Alarm{2b65aaeb type 2 when 787730365 com.android.bluetooth} when 787730365
05-12 13:19:45.893 1179 3110 V AlarmManager: ELAPSED_WAKEUP set : Alarm{111f9048 type 2 when 787731414 com.android.bluetooth} when 7877
#
# Fatal error in ../deps/v8/src/api.h, line 297
# CHECK(allow_empty_handle || that != __null) failed
#
==== Stack trace ============================================
Security context: 0x77c81557549 <JS Object>#0#
@yaronyg
yaronyg / Bad code
Last active March 23, 2016 22:39
My buggy code that crashed jxcore
'use strict';
var express = require('express');
var https = require('https');
var net = require('net');
var Promise = require('lie');
var sinon = require('sinon');
if (typeof Mobile === 'undefined') {
return;
@yaronyg
yaronyg / Crash
Created March 23, 2016 22:37
Craashed while running a test with pskIdentity
#
# Fatal error in ../deps/v8/src/api.h, line 297
# CHECK(allow_empty_handle || that != __null) failed
#
==== Stack trace ============================================
Security context: 0x30e5a6957549 <JS Object>#0#
1: use [tls.js:210] (this=0x85bfe7ce979 <a SlabBuffer>#1#,context=0x85bfe57e851 <a Connection>#2#,fn=0x10c379d62b79 <JS Function clearOut>#3#,size=16384)
@yaronyg
yaronyg / test.js
Created March 9, 2016 00:42
doesn't cause a stack overflow
var logger = require('thali/thalilogger')('test');
var EventEmitter = require('events').EventEmitter;
var util = require('util');
function MyEmitter() {
EventEmitter.call(this);
}
util.inherits(MyEmitter, EventEmitter);
@yaronyg
yaronyg / gist:9ff7a619958691504698
Created March 8, 2016 15:31
A small doc that when typing at the end causing StackEdit to jump around
---
title: Android Wireless Issues
layout: page-fullwidth
permalink: "/androidWirelessIssues/"
categories:
- documentation
header:
image_fullwidth: "header.png"
---