Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the fosphorSupport module does not let the GUI start #8

Open
akoun opened this issue Jun 5, 2017 · 2 comments
Open

the fosphorSupport module does not let the GUI start #8

akoun opened this issue Jun 5, 2017 · 2 comments

Comments

@akoun
Copy link

akoun commented Jun 5, 2017

PothosGui crashes with the following message

Exception: Assertion violation: _readfd != -1 in file "/build/poco-HOje2L/poco-1.7.8.2/Foundation/src/PipeImpl_POSIX.cpp", line 66

the presence of
/usr/local/lib/Pothos/modules0.5/gnuradio/libfosphorSupport.so
seems to be at the source of it, since removing it permits the GUI to start

PS: under Debian stretch with MyriadRF and pothosware-support/framework PPA's enabled for zesty

@guruofquality
Copy link
Contributor

I wonder if the fosphor code is doing something like gui/window initialization that conflicts with how Qt is used in PothosGUI. I also wonder if it has something to do with Qt4 being used for fosphor (I think) and Qt5 for PothosGui. Just a guess:

Curious if this works from the command line:
PothosUtil --load-module=/usr/local/lib/Pothos/modules0.5/gnuradio/libfosphorSupport.so

It also might be interesting to:
gdb PothosGui run, and see where the crash is.

@akoun
Copy link
Author

akoun commented Jun 6, 2017

OK here it goes:
$ PothosUtil --load-module=/usr/local/lib/Pothos/modules0.5/gnuradio/libfosphorSupport.so
Loading: /usr/local/lib/Pothos/modules0.5/gnuradio/libfosphorSupport.so
success!

$ gdb PothosGui
GNU gdb (Debian 7.12-6) 7.12.0.20161007-git
Copyright (C) 2016 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-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/.
Find the GDB manual and other documentation resources online at:
http://www.gnu.org/software/gdb/documentation/.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from PothosGui...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/PothosGui
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffed512700 (LWP 18090)]
[New Thread 0x7fffecd11700 (LWP 18091)]
[New Thread 0x7fffe4d17700 (LWP 18092)]
[New Thread 0x7fffda41d700 (LWP 18093)]
[New Thread 0x7fffd9ad1700 (LWP 18094)]
[Thread 0x7fffd9ad1700 (LWP 18094) exited]
--> here it shows the assertion error window. I click OK and
[Thread 0x7fffe4d17700 (LWP 18092) exited]
[Thread 0x7fffed512700 (LWP 18090) exited]
[Thread 0x7fffecd11700 (LWP 18091) exited]
[Thread 0x7fffda41d700 (LWP 18093) exited]
[Inferior 1 (process 18082) exited with code 01]
(gdb)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants