Skip to content

Instantly share code, notes, and snippets.

So, for a revised specification I'll go with msgpack for now, since I don't want to port the rest of c-toxcore to CBOR and the availability of libraries is better.

Current ONLINE packet format:

Length Value Description
1 0x19 PACKET_ID_ONLINE

New ONLINE packet format:

[15:53:53.156] src/widget/form/settings/avform.cpp:336 : Debug: available Modes:
[15:53:53.157] src/widget/form/settings/avform.cpp:201 : Debug: width: 320, height: 240, FPS: 187.000000, pixel format: yuyv422
[15:53:53.157] src/widget/form/settings/avform.cpp:201 : Debug: width: 320, height: 240, FPS: 150.000000, pixel format: yuyv422
[15:53:53.157] src/widget/form/settings/avform.cpp:201 : Debug: width: 320, height: 240, FPS: 137.000000, pixel format: yuyv422
[15:53:53.157] src/widget/form/settings/avform.cpp:201 : Debug: width: 320, height: 240, FPS: 125.000000, pixel format: yuyv422
[15:53:53.157] src/widget/form/settings/avform.cpp:201 : Debug: width: 320, height: 240, FPS: 100.000000, pixel format: yuyv422
[15:53:53.157] src/widget/form/settings/avform.cpp:201 : Debug: width: 320, height: 240, FPS: 75.000000, pixel format: yuyv422
[15:53:53.157] src/widget/form/settings/avform.cpp:201 : Debug: width: 320, height: 240, FPS: 60.000000, pixel format: yuyv422
[15:53:53.157] src/widget/form/settings/avform.cp
ar: `u' modifier ignored since `D' is the default (see `U')
/usr/bin/sed: can't read dir/qtox/libs/libtoxcore-latest/build/libtoxcore.la: No such file or directory
ar: `u' modifier ignored since `D' is the default (see `U')
ar: `u' modifier ignored since `D' is the default (see `U')
/usr/bin/sed: can't read dir/qtox/libs/libtoxcore-latest/build/libtoxcore.la: No such file or directory
/usr/bin/sed: can't read dir/qtox/libs/libtoxcore-latest/build/libtoxcore.la: No such file or directory
libtool: error: 'dir/qtox/libs/libtoxcore-latest/build/libtoxcore.la' is not a valid libtool archive
Makefile:1463: recipe for target 'libtoxdns.la' failed
make[2]: *** [libtoxdns.la] Error 1
make[2]: *** Warte auf noch nicht beendete Prozesse...
(gdb) thread apply all bt
Thread 10 (Thread 0x7fffaeffd700 (LWP 4535)):
#0 0x00007fffeec6ba1d in poll () at /lib64/libc.so.6
#1 0x00007ffff3e93056 in () at /usr/lib64/libglib-2.0.so.0
#2 0x00007ffff3e9316c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3 0x00007fffeff299ff in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4 0x00007fffefed544a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5 0x00007fffefd0d9ec in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6 0x00007fffefd12629 in () at /usr/lib64/libQt5Core.so.5
#
# Automatically generated file; DO NOT EDIT.
# OpenWrt Configuration
#
CONFIG_MODULES=y
CONFIG_HAVE_DOT_CONFIG=y
# CONFIG_TARGET_ppc44x is not set
# CONFIG_TARGET_realview is not set
# CONFIG_TARGET_arm64 is not set
# CONFIG_TARGET_sunxi is not set
./tox-check-online-bootstraps_001
Boostrapping from 2607:5600:284::2 33445 951C88B7E75C867418ACDB5D273821372BB5BD652740BCDF623A4FA293E75D2F stqism ... BAD BOOTSTRAP - FAILED ✗
ERROR: BadHost
Boostrapping from 192.254.75.102 33445 951C88B7E75C867418ACDB5D273821372BB5BD652740BCDF623A4FA293E75D2F stqism ... FAILED ✗
Boostrapping from 2a01:4f8:191:64d6::1 33445 04119E835DF3E78BACF0F84235B300546AF8B936F035185E2A8E9E0A67C8924F sonOfRa ... BAD BOOTSTRAP - FAILED ✗
ERROR: BadHost
Boostrapping from 144.76.60.215 33445 04119E835DF3E78BACF0F84235B300546AF8B936F035185E2A8E9E0A67C8924F sonOfRa ... SUCCESSFUL ✔
Boostrapping from 2604:180:1::3ded:b280 33445 A09162D68618E742FFBCA1C2C70385E6679604B2D80EA6E84AD0996A1AC8A074 stal ... BAD BOOTSTRAP - FAILED ✗
ERROR: BadHost
Boostrapping from 23.226.230.47 33445 A09162D68618E742FFBCA1C2C70385E6679604B2D80EA6E84AD0996A1AC8A074 stal ... SUCCESSFUL ✔
user1@user1-linux:/data/build/supertuxkart/stk-code/cmake_build> gdb ./bin/supertuxkart
GNU gdb (GDB; openSUSE Factory) 7.8
Copyright (C) 2014 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 "x86_64-suse-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by toxic configure 0.3.1, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
Generated by configure script
BSDBuild Version: 3.0
Host: x86_64-unknown-linux-gnu
checking for a C compiler...yes, /usr/bin/cc
checking whether the C compiler works...yes
checking for compiler warning options.../usr/bin/cc -Wall -Werror -o ./conftest conftest.c
yes
checking for IEEE754 floating point.../usr/bin/cc -Wall -Werror -o ./conftest conftest.c
yes
checking for long double.../usr/bin/cc -Wall -Werror -o ./conftest conftest.c
ls -l /usr/lib64/ | grep ncurses
lrwxrwxrwx 1 root root 12 17. Mär 23:02 libcurses.a -> libncurses.a
-rw-r--r-- 1 root root 687210 17. Mär 23:02 libncurses.a
-rw-r--r-- 1 root root 159766 17. Mär 23:02 libncurses++.a
-rw-r--r-- 1 root root 3746032 17. Mär 23:02 libncurses_g.a
-rw-r--r-- 1 root root 69 27. Sep 17:29 libncurses.so
lrwxrwxrwx 1 root root 17 15. Mär 11:11 libncurses++.so -> libncurses++.so.5
lrwxrwxrwx 1 root root 19 15. Mär 11:04 libncurses++.so.5 -> libncurses++.so.5.9
-rwxr-xr-x 1 root root 81104 27. Sep 17:29 libncurses++.so.5.9
lrwxrwxrwx 1 root root 19 15. Mär 11:15 libncurses++.so.6 -> libncurses++.so.6.0