Skip to content

Instantly share code, notes, and snippets.

View lldb_run_sigill
dragos@dragos-tp:~/wrk/llvm_build/Debug+Asserts/bin$ ./lldb ../../../lldb_tests/run
Traceback (most recent call last):
File "<console>", line 1, in <module>
ImportError: No module named gnu_libstdcpp
Current executable set to '../../../lldb_tests/run' (x86_64).
(lldb) runProcess::SetPublicState (launching)
Process::SetPrivateState (launching)
thread created
ptrace(PTRACE_SETOPTIONS, 18857, (nil), 0x40) called from file /mnt/c/wrk/llvm/tools/lldb/source/Plugins/Process/Linux/ProcessMonitor.cpp line 991
View disable attached check
--- a/src/gprs.c
+++ b/src/gprs.c
@@ -1251,8 +1253,8 @@ static DBusMessage *pri_set_property(DBusConnection *conn,
if (ctx->active == (ofono_bool_t) value)
return dbus_message_new_method_return(msg);
- if (value && !ctx->gprs->attached)
- return __ofono_error_not_attached(msg);
+ //if (value && !ctx->gprs->attached)
+ // return __ofono_error_not_attached(msg);
View connman-list-services.log
[ ethernet_02070115000b_cable ]
Nameservers = [ ]
State = ready
MonitorTimeout = 0
Provider = { }
Type = ethernet
Security = [ ]
AutoConnect = true
MultipathRouting = 0
Immutable = false
@dtatulea
dtatulea / tmp.patch
Created Mar 14, 2016
auto bearer activation scratch
View tmp.patch
diff --git a/drivers/ubloxmodem/gprs-context.c b/drivers/ubloxmodem/gprs-context.c
index dd9dba8..a5b3024 100644
--- a/drivers/ubloxmodem/gprs-context.c
+++ b/drivers/ubloxmodem/gprs-context.c
@@ -35,6 +35,7 @@
#include <ofono/log.h>
#include <ofono/modem.h>
#include <ofono/gprs-context.h>
+#include <ofono/gprs.h>
View gist:dad10867ea33acdf1939f10999551385
[vagrant@f23t vagrant]$ cat test.nft
#! @sbindir@nft -f
table ip connman {
chain nat-prerouting {
type nat hook prerouting priority 0;
}
chain nat-postrouting {
type nat hook postrouting priority 0;
View nok
connmand[2528]: Connection Manager version 1.31
connmand[2528]: src/dbus.c:__connman_dbus_init()
connmand[2528]: src/inotify.c:__connman_inotify_init()
connmand[2528]: src/technology.c:__connman_technology_init()
connmand[2528]: src/storage.c:storage_load() Loading /usr/local/var/lib/connman/settings
connmand[2528]: src/storage.c:storage_load() Loading /usr/local/var/lib/connman/settings
connmand[2528]: src/notifier.c:__connman_notifier_init()
connmand[2528]: src/agent.c:__connman_agent_init()
connmand[2528]: src/service.c:__connman_service_init()
connmand[2528]: src/agent.c:connman_agent_driver_register() Registering driver 0x6e25c0 name service
View keybase.md

Keybase proof

I hereby claim:

  • I am dtatulea on github.
  • I am dtatulea (https://keybase.io/dtatulea) on keybase.
  • I have a public key whose fingerprint is 02DE 2C42 176F 837C 8425 5BB6 7678 6D5B AECE BDB8

To claim this, I am signing this object:

View gist:74963ff9e11cab295b0f56ce5b34ddc3
MOZ_LOG=sync,MP4Metadata:5,MediaDecoder:5,MediaDataDemuxer:5,MediaDataDecoder:5,MP4Metadata:5,MoofParser:5,ByteStream:5,MP4Stream:5,H264Converter:5 ./mach run
0:00.21 /home/dtatulea/w/src/mz/mozilla-unified/obj-x86_64-pc-linux-gnu/dist/bin/firefox -no-remote -profile /home/dtatulea/w/src/mz/mozilla-unified/obj-x86_64-pc-linux-gnu/tmp/profile-default
[(null) 23095: Main Thread]: I/MediaDecoder MediaDecoder::InitStatics
[Child 23249: Main Thread]: I/MediaDecoder MediaDecoder::InitStatics
[Child 23338: Main Thread]: I/MediaDecoder MediaDecoder::InitStatics
[Child 23441: Main Thread]: I/MediaDecoder MediaDecoder::InitStatics
[Child 23917: Main Thread]: I/MediaDecoder MediaDecoder::InitStatics
[Child 23441: Main Thread]: D/MediaDecoder MediaDecoder[0x7fa4f18535e0] UpdateVideoDecodeMode(), set Normal because the element is not in tree.
[Child 23441: Main Thread]: D/MediaDecoder MediaDecoder[0x7fa4f18535e0] UpdateVideoDecodeMode(), set Normal because the element visible.
View gist:e0af34baac6b07feba949045555f20a3
This file has been truncated, but you can view the full file.
0:00.19 /home/dtatulea/w/src/mz/mozilla-unified/obj-x86_64-pc-linux-gnu/dist/bin/firefox -no-remote -profile /home/dtatulea/w/src/mz/mozilla-unified/obj-x86_64-pc-linux-gnu/tmp/profile-default
[(null) 10677: Main Thread]: I/MediaDecoder MediaDecoder::InitStatics
[Child 10845: Main Thread]: I/MediaDecoder MediaDecoder::InitStatics
[Child 10971: Main Thread]: I/MediaDecoder MediaDecoder::InitStatics
[Child 11166: Main Thread]: I/MediaDecoder MediaDecoder::InitStatics
[Child 11478: Main Thread]: I/MediaDecoder MediaDecoder::InitStatics
[Child 11166: Main Thread]: D/MediaDecoder MediaDecoder[0x7fbe617ac5e0] UpdateVideoDecodeMode(), set Normal because the element is not in tree.
[Child 11166: Main Thread]: D/MediaDecoder MediaDecoder[0x7fbe617ac5e0] UpdateVideoDecodeMode(), set Normal because the element visible.
[Child 11166: Main Thread]: D/MediaDecoder MediaDecoder[0x7fbe617ac5e0] UpdateVideoDecodeMode(), set Normal because the element visible.