Skip to content

Instantly share code, notes, and snippets.

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
--- 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);
[ ethernet_02070115000b_cable ]
Nameservers = [ ]
State = ready
MonitorTimeout = 0
Provider = { }
Type = ethernet
Security = [ ]
AutoConnect = true
MultipathRouting = 0
Immutable = false
@dtatulea
dtatulea / tmp.patch
Created March 14, 2016 16:12
auto bearer activation scratch
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>
[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;
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

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:

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.
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.
[Child 11166: MediaPlayback #1]: D/MediaDecoder MediaDecoderStateM
-- Journal begins at Sat 2021-06-05 10:48:34 CEST, ends at Sat 2021-06-12 13:39:24 CEST. --
Jun 12 15:26:17 dtatulea-lt kernel: microcode: microcode updated early to revision 0xde, date = 2020-05-24
Jun 12 15:26:17 dtatulea-lt kernel: Linux version 5.12.9-300.fc34.x86_64 (mockbuild@bkernel01.iad2.fedoraproject.org) (gcc (GCC) 11.1.1 20210428 (Red Hat 11.1.1-1), GNU ld version 2.35.1-41.fc34) #1 SMP Thu Jun 3 13:51:40 UTC 2021
Jun 12 15:26:17 dtatulea-lt kernel: Command line: BOOT_IMAGE=(hd0,gpt2)/vmlinuz-5.12.9-300.fc34.x86_64 root=UUID=2bdbb0cd-1170-4c96-bb1c-9946fd77bb11 ro rootflags=subvol=root rd.luks.uuid=luks-73292608-fd4d-4c35-bdb5-68509ecf7d94 rhgb quiet rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1 systemd.unified_cgroup_hierarchy=0
Jun 12 15:26:17 dtatulea-lt kernel: x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
Jun 12 15:26:17 dtatulea-lt kernel: x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
Jun 12 15:26:17 dtatulea-lt kernel: x86/f