Skip to content

Instantly share code, notes, and snippets.

View hut8's full-sized avatar
✍️
Writing code!

Liam hut8

✍️
Writing code!
  • Supervillain Software Group
  • Albany, NY, USA
  • 09:14 (UTC -04:00)
View GitHub Profile
2015-12-07T02:32:21.195Z I WRITE [conn9] insert contributions.contributions query: { _id: ObjectId('5664efb56488664744e2e49e'), type: "IssueCommentEvent", repo: "petrockblog/RetroPie-Setup", issue_number: 687, _event_id: "2607630517", action: "created", user: "joolswills", created_at: "2015-02-25T22:20:05+00:00", issue_url: "https://github.com/petrockblog/RetroPie-Setup/issues/687", comment_body: "thanks - yeh will be doing a loop to manage it (and likely will stick it in a function). Just need to sort out how to handle the settings.
", _user_lower: "joolswills", comment_id: 76073328, comment_url: "https://github.com/petrockblog/RetroPie-Setup/issues/687#issuecomment-76073328", _repo_lower: "petrockblog/retropie-setup" } ninserted:1 keyUpdates:0 writeConflicts:0 numYields:0 locks:{ Global: { acquireCount: { r: 1, w: 1 } }, Database: { acquireCount: { w: 1 } }, Collection: { acquireCount: { w: 1 } } } 183ms
2015-12-07T02:32:21.195Z I COMMAND [conn9] command contributions.$cmd command: insert { insert: "
# Use this template to report PaperTrail bugs.
# It is based on the ActiveRecord template.
# https://github.com/rails/rails/blob/master/guides/bug_report_templates/active_record_gem.rb
begin
require 'bundler/inline'
rescue LoadError => e
$stderr.puts 'Bundler version 1.10 or later is required. Please update your Bundler'
raise e
end
{
"body": {
"trace": {
"frames": [
{
"lineno": 79,
"method": "rollrus.(*Hook).Fire",
"filename": "github.com/heroku/rollrus/rollrus.go"
},
{
#!/usr/bin/env ruby
# frozen_string_literal: true
require 'json'
require 'open-uri'
components = JSON.parse(open('https://rails-assets.org/components.json').read)
i = 0
components.each do |c|
cn = c['name']
c['versions'].each do |v|
cv = "#{cn}##{v}"
package main
import (
"fmt"
"syscall"
"unsafe"
)
type (
DWORD uint32
@hut8
hut8 / gist:bda7e9e87f90ecadc7a5bb47603c3e9d
Created December 30, 2021 21:17
Crash Dump !analyze -v
0:011> !analyze -v
*******************************************************************************
* *
* Exception Analysis *
* *
*******************************************************************************
KEY_VALUES_STRING: 1

Postmortem debugger session for libpq crash

Commit 092b785fad

Microsoft (R) Windows Debugger Version 10.0.22473.1005 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.

*** wait with pending attach

libpq crash analysis

Revision 52a1022

Session

Microsoft (R) Windows Debugger Version 10.0.22473.1005 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.
Microsoft (R) Windows Debugger Version 10.0.22473.1005 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.
*** wait with pending attach
************* Path validation summary **************
Response Time (ms) Location
Deferred srv*
OK C:\Users\dcbow\pg-14.1\libpq
*************************** 1. row ***************************
Type: InnoDB
Name:
Status:
=====================================
2022-01-30 00:29:10 0x7f7234541700 INNODB MONITOR OUTPUT
=====================================
Per second averages calculated from the last 16 seconds
-----------------
BACKGROUND THREAD