Skip to content

Instantly share code, notes, and snippets.

diff --git a/cmake/Dependencies.cmake b/cmake/Dependencies.cmake
index efe196a..2daf7eb 100644
--- a/cmake/Dependencies.cmake
+++ b/cmake/Dependencies.cmake
@@ -2,6 +2,6 @@ SET(LIB_DEPENDENCIES "")
find_package(EGL REQUIRED)
-if (${USE_GLES2})
+if (${GD_USE_GLES2})
@kkristof
kkristof / gist:615cfde44f7c1f491a96
Created July 29, 2014 11:31
Backtrace of the webkit-efl linked with GLES
$ gdb ./MiniBrowser
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "arm-linux-gnueabihf".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
@kkristof
kkristof / gist:82b383c781838d703778
Created July 25, 2014 15:25
Backtrace of the webkit efl linked with gles
(gdb) bt
#0 0x73f0625a in strstr () from /lib/arm-linux-gnueabihf/libc.so.6
#1 0x704d0a6c in eng_window_new (disp=<optimized out>, win=<optimized out>, screen=<optimized out>, vis=0x5fa58, cmap=12582914, depth=32,
w=1, h=1, indirect=0, alpha=1, rot=0) at modules/evas/engines/gl_x11/evas_x_main.c:355
#2 0x704cfb76 in eng_setup (eo_e=<optimized out>, in=0x7cbb8) at modules/evas/engines/gl_x11/evas_engine.c:882
#3 0x756b3240 in _canvas_engine_info_set (eo_e=<optimized out>, _pd=<optimized out>, list=<optimized out>)
at lib/evas/canvas/evas_main.c:423
#4 0x7579eb32 in _eo_op_internal (p_list=0x7effee94, op=376, op_type=EO_OP_TYPE_REGULAR, cur_klass=0x6caf0, eo_ptr=<optimized out>,
line=<optimized out>, file=<optimized out>) at lib/eo/eo.c:306
#5 _eo_dov_internal (p_list=0x7effee94, op_type=EO_OP_TYPE_REGULAR, klass=0x6caf0, obj=0x7c4d0, line=408,
<!DOCTYPE html>
<html>
<body>
<canvas id="myCanvas" width="300" height="150" style="border:1px solid #d3d3d3;">
Your browser does not support the HTML5 canvas tag.</canvas>
<script>
var c=document.getElementById("myCanvas");
var ctx=c.getContext("2d");
18:41:08,578 INFO [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015876: Starting deployment of "P3Szavazaskezelo.war"
18:41:13,393 INFO [org.jboss.as.jpa] (MSC service thread 1-3) JBAS011401: Read persistence.xml for primary
18:41:13,987 INFO [org.jboss.weld.deployer] (MSC service thread 1-6) JBAS016002: Processing weld deployment P3Szavazaskezelo.war
18:41:14,745 INFO [org.jboss.weld.deployer] (MSC service thread 1-2) JBAS016005: Starting Services for CDI deployment: P3Szavazaskezelo.war
18:41:14,887 INFO [org.jboss.weld.Version] (MSC service thread 1-2) WELD-000900 1.1.5 (AS71)
18:41:15,335 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "P3Szavazaskezelo.war" was rolled back with failure message {"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.persistenceunit.\"P3Szavazaskezelo.war#primary\"jboss.naming.context.java.jboss.datasources.P3SzavazaskezeloDSMissing[jboss.persistenceunit.\"P3Szavazaskezelo.war#primary\"jbos
g++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
ICECC[28539] 08:39:03: Compiled on 160.114.36.237
[alias]
lg = log --all --graph --decorate --format=oneline --abbrev-commit
lg0 = log --all --graph --abbrev-commit --format=format:'%C(green)%h%C(reset)%C(yellow)%d%C(reset)%n%C(white)%an%C(reset) %C(bold cyan)%$
lg1 = log --all --graph --abbrev-commit --format=format:'%C(green)%h%C(reset)%C(yellow)%d%C(reset)%n%C(white)%an%C(reset) %C(bold cyan)%$
lg2 = log --all --graph --abbrev-commit --format=format:'%C(green)%h%C(reset)%C(yellow)%d%C(reset)%n%C(white)%an%C(reset) %C(bold cyan)%$
lg3 = log --graph --format=format:'%C(bold magenta)%h%C(reset) %C(bold green)%an%C(reset) %C(bold cyan)%ad%C(reset) %C(bold yellow)(%ar)$
(64bit)kosztyo@cute4:~/gator/driver-src/gator-driver$ make -C /home/kosztyo/gator/chrome-kernel M=`pwd` ARCH=arm CROSS_COMPILE=/usr/lib/icecc/bin-arm/arm-none-linux-gnueabi- modules
make: Entering directory `/home/kosztyo/gator/chrome-kernel'
CC [M] /home/kosztyo/gator/driver-src/gator-driver/gator_main.o
cc1: error: unrecognized command line option ‘-mlittle-endian’
cc1: error: unrecognized command line option ‘-mapcs’
cc1: error: unrecognized command line option ‘-mno-sched-prolog’
cc1: error: unrecognized command line option ‘-mno-thumb-interwork’
/home/kosztyo/gator/driver-src/gator-driver/gator_main.c:1:0: error: unknown ABI (aapcs-linux) for -mabi= switch
/home/kosztyo/gator/driver-src/gator-driver/gator_main.c:1:0: error: bad value (armv5t) for -march= switch
make[1]: *** [/home/kosztyo/gator/driver-src/gator-driver/gator_main.o] Error 1
@kkristof
kkristof / gist:7820562
Created December 6, 2013 08:44
sublime2 settings
{
"auto_match_enabled": false,
"bold_folder_labels": true,
"color_scheme": "Packages/Color Scheme - Default/Mac Classic.tmTheme",
"font_size": 11,
"highlight_modified_tabs": true,
"ignored_packages":
[
"Vintage"
],
Program received signal SIGSEGV, Segmentation fault.
0x4172abc8 in WTFCrash () at /home/kosztyo/arm-nix/Source/WTF/wtf/Assertions.cpp:342
342 *(int *)(uintptr_t)0xbbadbeef = 0;
(gdb) bt
#0 0x4172abc8 in WTFCrash () at /home/kosztyo/arm-nix/Source/WTF/wtf/Assertions.cpp:342
#1 0x405b4c54 in reinterpret_cast_ptr<unsigned long long*> (ptr=0x9bccc) at /home/kosztyo/arm-nix/Source/WTF/wtf/StdLibExtras.h:96
#2 0x4153c3b2 in CoreIPC::ArgumentEncoder::encode (this=0x9bcc0, n=10)
at /home/kosztyo/arm-nix/Source/WebKit2/Platform/CoreIPC/ArgumentEncoder.cpp:158
#3 0x4153c2c8 in CoreIPC::ArgumentEncoder::encodeVariableLengthByteArray (this=0x9bcc0, dataReference=...)
at /home/kosztyo/arm-nix/Source/WebKit2/Platform/CoreIPC/ArgumentEncoder.cpp:122