Skip to content

Instantly share code, notes, and snippets.

@ChristophHaag
ChristophHaag / gist:4434250
Created January 2, 2013 12:26
html5 scratchpad (http://www.chromeexperiments.com/detail/html5-canvas-scratch-pad/) segfault steam big picture browser
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xedf48b40 (LWP 8220)]
0xf25f5461 in gfx::PbufferGLSurfaceGLX::Initialize() () from /home/chris/Steam/ubuntu12_32/libcef.so
(gdb) bt
#0 0xf25f5461 in gfx::PbufferGLSurfaceGLX::Initialize() () from /home/chris/Steam/ubuntu12_32/libcef.so
#1 0xf25e42f5 in gfx::GLSurface::CreateOffscreenGLSurface(bool, gfx::Size const&) () from /home/chris/Steam/ubuntu12_32/libcef.so
#2 0xf216dfe5 in webkit::gpu::GLInProcessContext::Initialize(bool, unsigned long, gfx::Size const&, webkit::gpu::GLInProcessContext*, char const*, int const*, GURL const&, gfx::GpuPreference) () from /home/chris/Steam/ubuntu12_32/libcef.so
#3 0xf216e456 in webkit::gpu::GLInProcessContext::CreateOffscreenContext(webkit::gpu::GLInProcessContext*, gfx::Size const&, webkit::gpu::GLInProcessContext*, char const*, int const*, GURL const&, gfx::GpuPreference) () from /home/chris/Steam/ubuntu12_32/libcef.so
#4 0xf216e71d in webkit::gpu::WebGraphicsContext3DInProcessCommandBufferI
@ChristophHaag
ChristophHaag / gist:5659298
Created May 27, 2013 22:01
openblas segfault
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff2154700 (LWP 13858)]
0x00007ffff3fcad93 in dgemm_itcopy (m=51, n=12, a=0x7fffee303148, lda=51, b=0x0) at ../kernel/x86_64/../generic/gemm_tcopy_8.c:179
179 *(boffset1 + 0) = ctemp01;
(gdb) bt full
#0 0x00007ffff3fcad93 in dgemm_itcopy (m=51, n=12, a=0x7fffee303148, lda=51, b=0x0) at ../kernel/x86_64/../generic/gemm_tcopy_8.c:179
i = 1
j = 6
aoffset = 0x7fffee303e08
aoffset1 = 0x7fffee303188
#!/usr/bin/bash
export USE_CCACHE=1
if [ ! -d ~/python2env ]
then
virtualenv -p /usr/bin/python2 ~/python2env
fi
. ~/python2env/bin/activate
cd ~/android/system/
@ChristophHaag
ChristophHaag / build.sh
Last active December 21, 2015 16:38
AOKP for Dell Streak 7
#!/usr/bin/bash
export USE_CCACHE=1
if [ ! -d ~/python2env ]
then
virtualenv -p /usr/bin/python2 ~/python2env
fi
. ~/python2env/bin/activate
cd "$ANDROID/aokp/system/"
@ChristophHaag
ChristophHaag / lines.java
Created March 21, 2015 11:16
Zeichne einen "Roboter" mit n einstellbaren Gelenken auf ein JPanel
import sun.awt.VerticalBagLayout;
import javax.swing.*;
import javax.swing.event.ChangeEvent;
import javax.swing.event.ChangeListener;
import java.awt.*;
public class lines {
static lines l = new lines();
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import sys
from PyQt4 import QtGui
import json
class Table(QtGui.QGridLayout):
def __init__(self):
super(QtGui.QGridLayout, self).__init__()
Jun 29 14:03:25 c-l kernel: BUG: unable to handle kernel paging request at ffff800190d15520
Jun 29 14:03:25 c-l kernel: IP: [<ffffffffa005e3ba>] ttm_bo_del_from_lru+0x5a/0x80 [ttm]
Jun 29 14:03:25 c-l kernel: PGD 0
Jun 29 14:03:25 c-l kernel: Oops: 0002 [#1] PREEMPT SMP
Jun 29 14:03:25 c-l kernel: Modules linked in: hidp r8169 mii rtsx_pci iwldvm iwlwifi ctr ccm rfcomm cmac ecb joydev btrfs xor raid6_pq msr bnep snd_hda_codec_hdmi iTCO_wdt iTCO_vendor_support coretemp intel_rapl iosf_mbi arc4 snd_hda_codec_realtek x86_pkg_temp_thermal intel_powerclamp snd_hda_codec_generic kvm_intel uvcvideo kvm btusb videobuf2_vmalloc videobuf2_memops videobuf2_core snd_hda_intel v4l2_common led_class videodev btbcm btintel mousedev crct10dif_pclmul mac80211 snd_hda_controller bluetooth media crc32_pclmul snd_hda_codec crc32c_intel ghash_clmulni_intel aesni_intel snd_hda_core aes_x86_64 snd_hwdep cfg80211 snd_pcm lrw snd_timer gf128mul glue_helper snd mei_me ablk_helper psmouse cryptd serio_raw pcspkr i2c_i801 mei rfkill l
[ 0.000000] microcode: CPU0 microcode updated early to revision 0x1b, date = 2014-05-29
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.3.0-rc6-mainline (builduser@miffe) (gcc version 5.2.0 (GCC) ) #1 SMP PREEMPT Mon Oct 19 18:14:35 CEST 2015
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-linux-mainline root=UUID=650b9f2f-d077-48e9-9fc2-7b6f2294599a rw quiet
[ 0.000000] x86/fpu: xstate_offset[2]: 0240, xstate_sizes[2]: 0100
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x01: 'x87 floating point registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x02: 'SSE registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x04: 'AVX registers'
This file has been truncated, but you can view the full file.
-- Logs begin at Mi 2015-06-03 15:01:48 CEST, end at Do 2015-10-22 09:42:59 CEST. --
Okt 21 20:03:16 c-l kernel: microcode: CPU0 microcode updated early to revision 0x1b, date = 2014-05-29
Okt 21 20:03:16 c-l kernel: Initializing cgroup subsys cpuset
Okt 21 20:03:16 c-l kernel: Linux version 4.1.10-3-ck (squishy@ease) (gcc version 5.2.0 (GCC) ) #1 SMP PREEMPT Wed Oct 7 15:59:34 EDT 2015
Okt 21 20:03:16 c-l kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-linux-ck root=UUID=650b9f2f-d077-48e9-9fc2-7b6f2294599a rw quiet
Okt 21 20:03:16 c-l kernel: e820: BIOS-provided physical RAM map:
Okt 21 20:03:16 c-l kernel: BIOS-e820: [mem 0x0000000000000000-0x000000000009d7ff] usable
Okt 21 20:03:16 c-l kernel: BIOS-e820: [mem 0x000000000009d800-0x000000000009ffff] reserved
Okt 21 20:03:16 c-l kernel: BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved
Okt 21 20:03:16 c-l kernel: BIOS-e820: [mem 0x0000000000100000-0x000000001fffffff] usable
Continuing.
Program received signal SIGSEGV, Segmentation fault.
0x790f7ffb in LLVMAddTargetDependentFunctionAttr () from /usr/lib32/libLLVM-3.8svn.so
#0 0x790f7ffb in LLVMAddTargetDependentFunctionAttr () from /usr/lib32/libLLVM-3.8svn.so
No symbol table info available.
#1 0x7d89e2c2 in radeon_llvm_shader_type (F=0x7cec980c, type=0) at radeon_llvm_emit.c:86
Str = "0"
llvm_type = RADEON_LLVM_SHADER_PS
__func__ = "radeon_llvm_shader_type"