Skip to content

Instantly share code, notes, and snippets.

[xcb] Unknown request in queue while dequeuing
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
NoLifeClient: xcb_io.c:179: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.
The program has unexpectedly finished.
In file included from /usr/include/c++/4.8.1/bits/atomic_base.h:36:0,
from /usr/include/c++/4.8.1/atomic:41,
from /home/snake/projects/NoLifeStory/NoLifeClient/NoLifeClient.hpp:32,
from /home/snake/projects/NoLifeStory/NoLifeClient/Sprite.cpp:18:
/home/snake/projects/NoLifeStory/NoLifeClient/Sprite.cpp:26:38: error: use of deleted function 'std::atomic<bool>::atomic(const std::atomic<bool>&)'
atomic<bool> ThreadContextMade = false;
^
In file included from /home/snake/projects/NoLifeStory/NoLifeClient/NoLifeClient.hpp:32:0,
from /home/snake/projects/NoLifeStory/NoLifeClient/Sprite.cpp:18:
/usr/include/c++/4.8.1/atomic:487:7: error: declared here
[xcb] Unknown request in queue while dequeuing
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
NoLifeClient: xcb_io.c:179: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.
The program has unexpectedly finished.
==1394== Memcheck, a memory error detector
==1394== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.
==1394== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info
==1394== Command: ../NoLifeStory-build/NoLifeClient/NoLifeClient
==1394==
==1394== Warning: set address range perms: large range [0xd303000, 0x2943f000) (defined)
==1394== Conditional jump or move depends on uninitialised value(s)
==1394== at 0x4517DC: NL::Foothold::Load() (Foothold.cpp:38)
==1394== by 0x4373F3: NL::Map::Load(std::string) (Map.cpp:45)
==1394== by 0x437A5F: NL::Map::Next() (Map.cpp:89)
/home/snake/projects/NoLifeStory/NoLifeClient/Config.cpp: In function 'void NL::Config::Load()':
/home/snake/projects/NoLifeStory/NoLifeClient/Config.cpp:82:65: error: no matching function for call to 'transform(std::basic_string<char>::iterator, std::basic_string<char>::iterator, std::basic_string<char>::iterator, <unresolved overloaded function type>)'
transform(s.begin(), s.end(), s.begin(), tolower);
^
/home/snake/projects/NoLifeStory/NoLifeClient/Config.cpp:82:65: note: candidates are:
In file included from /usr/include/c++/4.8.1/algorithm:62:0,
from /usr/include/SFML/System/Utf.hpp:32,
from /usr/include/SFML/System.hpp:43,
from /usr/include/SFML/Window.hpp:32,
from /home/snake/projects/NoLifeStory/NoLifeClient/NoLifeClient.hpp:23,
[NoLifeNx/NX.hpp:36] -> [NoLifeNx/NX.hpp:47]: (style, inconclusive) Member variable 'Bitmap::d' is in the wrong place in the initializer list.
[NoLifeNx/NX.hpp:37] -> [NoLifeNx/NX.hpp:47]: (style, inconclusive) Member variable 'Bitmap::d' is in the wrong place in the initializer list.
[NoLifeNx/NX.hpp:46] -> [NoLifeNx/NX.hpp:47]: (style, inconclusive) Member variable 'Bitmap::d' is in the wrong place in the initializer list.
[NoLifeNx/NX.hpp:53] -> [NoLifeNx/NX.hpp:62]: (style, inconclusive) Member variable 'Audio::d' is in the wrong place in the initializer list.
[NoLifeNx/NX.hpp:54] -> [NoLifeNx/NX.hpp:62]: (style, inconclusive) Member variable 'Audio::d' is in the wrong place in the initializer list.
[NoLifeNx/NX.hpp:55] -> [NoLifeNx/NX.hpp:62]: (style, inconclusive) Member variable 'Audio::d' is in the wrong place in the initializer list.
[NoLifeClient/Background.cpp:24] -> [NoLifeClient/Background.hpp:25]: (style, inconclusive) Member variable 'Background::spr' is in the wrong place in the initializer li
arrows.erase(std::remove_if(arrows.begin(), arrows.end(),[](const Arrow* a){
if (a->y > 500) {
delete a;
return true;
}
return false;
}), arrows.end());
Error: main.lua:51: attempt to perform arithmetic on global 'volume' (a nil value)
stack traceback:
main.lua:51: in function 'loadconfig'
main.lua:92: in function 'load'
[string "boot.lua"]:378: in function <[string "boot.lua"]:373>
[C]: in function 'xpcall'
File Loading: 13us
String Searching: 679us
Initial Recursion: 3443022us
C++ Recursion: 448269us
Alternate C++ Recursion: 294421us
Segmentation fault (core dumped)
File Loading: 13us
String Searching: 684us
Initial Recursion: 466296us
C++ Recursion: 440627us
Alternate C++ Recursion: 292081us
ASM Recursion: 56304us
1: 204.285768ns
2: 217.498013ns
3: 186.430775ns
4: 213.263060ns