Comments (12)
I try to figure out root of problem
426db21 hangs
from kiui.
Does that fix it ? f7d10df
(It's the path set by CMake that might have been wrong, if you don't want to rerun cmake you can modify KIUI_EXAMPLE_RESSOURCE_PATH manually and tell me if that fixes it)
The backtrace is really weird though. I don't see what could go wrong so early...
from kiui.
Oooh wait I think I'm starting to seeing the problem in Type(), calling Type::cls() from Type::cls()
from kiui.
I'll be able to check at the morning. Now I'm lying in bed :р
from kiui.
No problem. I think I fixed it in 16b7c4d, keep me posted.
from kiui.
Looks like it's not connected with Type() bug.
Problem has not gone. I'm trying to figure out...
from kiui.
If the application hangs, it should be possible to pause the debugger and see where exactly the hang happens. Could you try to give me this information so that I try to understand what is going on ?
from kiui.
Nevermind. The data path was not set properly between win32 and linux 4ef1ec4 and af54385.
Tell me if that solves the problem.
from kiui.
Hang callstack, hangs in static initialization of Type ty(0);
static Type& cls() { static Type ty(0); return ty; }
0 syscall /usr/lib/debug/lib/x86_64-linux-gnu/libc-2.19.so 38 0x7ffff5b91fd9
1 __cxa_guard_acquire 0x7ffff63cf023
2 mk::Type::cls mkType.h 54 0x7ffff79bd748
3 mk::Indexed<mk::Type, void>::indexer mkIndexer.h 78 0x7ffff79be37f
4 mk::Type::Type mkType.cpp 17 0x7ffff79bd3d4
5 mk::Type::cls mkType.h 54 0x7ffff79bd76b
6 mk::Type::Type mkType.cpp 21 0x7ffff79bd43c
7 mk::typecls mkTyped.h 42 0x7ffff79c66b6
8 mk::Dispatch<mk::ValueWidget, bool&, &mk::valueWidget<bool&, mk::Input>>::Dispatch mkDispatch.h 89 0x7ffff79c9b0a
9 __static_initialization_and_destruction_0 mkDispatch.h 102 0x7ffff79c645e
10 _GLOBAL__sub_I_mkInput.cpp(void) mkInput.cpp 110 0x7ffff79c65cb
11 call_init /usr/lib/debug/lib/x86_64-linux-gnu/ld-2.19.so 78 0x7ffff7dea9fa
12 call_init /usr/lib/debug/lib/x86_64-linux-gnu/ld-2.19.so 36 0x7ffff7deaae3
13 _dl_init /usr/lib/debug/lib/x86_64-linux-gnu/ld-2.19.so 126 0x7ffff7deaae3
14 _dl_start_user 0x7ffff7ddd1ca
15 ?? 0x1
16 ?? 0x7fffffffea31
17 ??
Looks like dead look due to double static initailization.
First time it acquires look and goes deeper, calls Type::cls() again and again makes static initialization, which already locked ==> deadlock as the result.
from kiui.
Yes now I see it. I already removed one such recursion in Type() and now I see there's another one when it calls indexer(). Gonna fix it right away.
from kiui.
Here dd5d3c8
from kiui.
Ought to be fixed!
Great! Thx a lot!
from kiui.
Related Issues (20)
- startup rendering erros HOT 10
- File Browser demo crash HOT 7
- Valgrind report #1 HOT 1
- Filtered demo crash 2 HOT 2
- Crash on kiui_example startup HOT 12
- [Enchantment] Make int/uint overflow optional in TypeIn HOT 4
- [Emscripten] graphical glitches and other minor bugs HOT 1
- [feature request] source code widget HOT 2
- [Emscripten] "Tabs demo" rendering error HOT 2
- Odd textbox behavior in web demo
- Segfault on Ubuntu 14.04
- Lack of documentation on adding kiui to larger cmake project. HOT 4
- Who to use with own/higher opengl Context?
- Examples Failed in Visual studio 2013
- Problems compiling example in MinGW HOT 11
- CMake error in: CHECK_INCLUDE_FILES(dirent.h HAVE_DIRENT_API)
- Just a question re: the current status of kiUi
- linuxmint failed to build HOT 4
- toyui_example fails to work properly on HEAD 6461a83 HOT 4
- unable to build with cmake
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kiui.