Skip to content

Instantly share code, notes, and snippets.

View est31's full-sized avatar

est31

View GitHub Profile
@est31
est31 / password_list.txt*outdated*
Last active August 29, 2015 14:14
pwm example (old format)
return {["passwords"] = { --the list of the passwords. Every password has an ID. Every entry references that ID instead of the password itself.
[42] = "42world",
[33] = "12345secretpassword",
[34] = "anothersupersecretpassword"
}, ["lu"] = {
["user1"] = { --every username gets one entry
["addr_lu"] = { --you can either specify the domain name in the "addr_lu" section,
--or you can specify the "display name" (or both) in the "select_srv_lu" section.
["digitalaudioconcepts.com"] = {["30001"] = 33},
["0.0.0.0"] = {["30000"] = 42} --a localhost test client. Note the changed number, its a changed ID.
@est31
est31 / backtrace
Created October 26, 2014 18:01
backtrace for MT segfault
#0 0x00007ffff4f9dbb9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007ffff4fa0fc8 in __GI_abort () at abort.c:89
#2 0x00007ffff4fdae14 in __libc_message (do_abort=do_abort@entry=1,
fmt=fmt@entry=0x7ffff50e9668 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
#3 0x00007ffff4fe70ee in malloc_printerr (ptr=<optimized out>, str=0x7ffff50e9830 "double free or corruption (fasttop)", action=1)
at malloc.c:4996
#4 _int_free (av=<optimized out>, p=<optimized out>, have_lock=0) at malloc.c:3840
#5 0x00007ffff5904046 in std::string::reserve(unsigned long) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#6 0x00000000006d1873 in push_back (__c=115 's', this=0xe8b348 <errorbuf+72>) at /usr/include/c++/4.8/bits/basic_string.h:1056
Program received signal SIGSEGV, Segmentation fault.
0x0000000001132130 in ?? ()
(gdb) bt
#0 0x0000000001132130 in ?? ()
#1 0x00000000007cda38 in irr::gui::CGUIEnvironment::OnPostRender(unsigned int) ()
#2 0x000000000064398a in draw_load_screen (text=..., device=device@entry=0xf12c30, guienv=guienv@entry=0x10350e0,
font=font@entry=0x107f190, dtime=dtime@entry=0, percent=percent@entry=0, clouds=clouds@entry=true)
at ~/src/minetest/src/drawscene.cpp:545
#3 0x000000000066426d in the_game (kill=@0xeaa7e0: false, random_input=random_input@entry=false, input=input@entry=0x1025950,
Program received signal SIGSEGV, Segmentation fault.
__memcpy_sse2_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S:36
36 ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: File not found
(gdb) bt full
#0 __memcpy_sse2_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S:36
No locals.
#1 0x00007ffff58e65e0 in std::basic_streambuf<char, std::char_traits<char> >::xsputn(char const*, long) ()
from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
No symbol table info available.
#2 0x00007ffff58dddb5 in std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6