Comments (8)
What's the panic message?
from qml.
Please run it with:
export GOTRACEBACK=2
from qml.
Thanks for the suggestion. As you can see, there is no panic, there is no
helpful error message. Using the gdb I only found that it happens before
'main.main'
david@debian:/local/src/dasa.cc/universe/senet/test2$ export GOTRACEBACK=2/local/src/dasa.cc/universe/senet/test2$ ./test2
david@debian:
Segmentation fault
On Tue, Apr 1, 2014 at 1:56 PM, Gustavo Niemeyer
[email protected]:
Please run it with:
export GOTRACEBACK=2
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/55#issuecomment-39244164
.
from qml.
Gustavo,
I'm the author of the azul3d.org/v0/native/freetype package mentioned here. A more simple program can reproduce the issue (removing either one of the imports makes the program work):
package main
import (
_ "azul3d.org/v0/native/freetype"
_ "gopkg.in/v0/qml"
)
func main() {
}
which results in just a segfault with no other information, gdb also has little to say:
(gdb) run
Starting program: /home/stephen/Desktop/godev/bin/qmlft
Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) up
#1 0x0000000000000000 in ?? ()
(gdb) up
Initial frame selected; you cannot go up.
I'll try to investigate further as time allows.
from qml.
azul3d.org/v0/native/freetype links against a static version of libfreetype kept in the repo (freetype_linux_amd64.syso) and it seems that if I delete that and link against my system's freetype library then it works fine.
I think the version of freetype used is binary-incompatible with the one QT 5 probably uses (or something like that).
Stephen
from qml.
I am thinking that the only reason I had this problem is because I would
rather use someone else s code than write my own. I appreciate your finding
this problem so quickly, I expect it will be okay in v1 but I am still
concerned that the error code was so lacking in information. I am hoping
you can let the problem remain in the v0 of the library long enough for the
authors of go1.3 to devise some way of reporting the error in a bit more
informative way, or even detecting the error during compile or link time.
https://code.google.com/p/go/issues/detail?id=7678
On Wed, Apr 2, 2014 at 8:25 AM, stephengutekanst
[email protected]:
azul3d.org/v0/native/freetype links against a static version of
libfreetype kept in the repo (freetype_linux_amd64.syso) and it seems that
if I delete that and link against my system's freetype library then it
works fine.I think the version of freetype used is binary-incompatible with the one
QT 5 probably uses (or something like that).Stephen
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/55#issuecomment-39329276
.
from qml.
Gustavo,
You can close this issue now, sorry for the bother here. I've made azul3d.org/v0/native/freetype link against the system library and fixed the issue. (more details at https://code.google.com/p/azul3d/issues/detail?id=44)
Stephen
from qml.
@stephengutekanst Thanks for following this through, and getting a fix in place so quickly.
from qml.
Related Issues (20)
- Can we use QT5 with Microsoft VS2015 Community?
- Statically compiling with qt/qml for a truly standalone app HOT 9
- Something wrong with WebView HOT 3
- Install on Mac without Homebrew
- cgo result has Go pointer
- go-qml is broken under Go 1.7 HOT 21
- Error Build a sample HOT 3
- How Build and Install QT on Go 1.8?
- Error Build
- Tray icon/menu support
- types foe model QML
- Error! HOT 1
- Error while building/testing on windows HOT 1
- How do I register a singleton qml file/component
- Qt 5.11 Support HOT 6
- Broken under Go 1.12 (relocation target runtime.acquirem not defined for ABI0 (but is defined for ABIInternal)) HOT 5
- build go-qml failure HOT 1
- How to connect Material?
- on Mac QT 5.13.0 + Go 1.12.7 installing error when did 'go get gopkg.in/qml.v1' HOT 1
- Installation on Ubuntu 19.10
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 qml.