-
Notifications
You must be signed in to change notification settings - Fork 63
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
DStarRepeater Remote Command's Crash Application #97
Comments
The assertion is only enabled when wxWidgets is compiled with DEBUG enabled. It doesn't mean that the error isn't happening, it just means that the assertion isn't firing. This is a programming error as the code doesn't check to see if it's running on the main thread or not. wxShell/wxExecute can only be run from the main thread, so we'll have to run down how to use wxQueueEvent to trigger the main thread to do the processing. |
I did a standard compile in my latest Odroid C2 image. no flag added for In debian/ubuntu setting the existing user in settings.mk worked very I was doing systemd rpm packaging for 2.8 wx base since 4 years ago ; %define debug_packages %{nil} Name: dstarrepeater %description %prep %build %install cp DStarRepeater/dstarrepeater %{buildroot}/usr/local/bin cp /srv/opendv/etc/sysconfig/dstarrepeater_conf %{buildroot}/etc/sysconfig cp -bu /srv/opendv/usr/share/dstarrepeater_conf/.hlp %clean %files %attr(644,root,root) /etc/dstarrepeater.version %attr(644,root,root) /etc/default/dstarrepeater.default %attr(644,root,root) /usr/share/dstarrepeater_conf/.hlp %dir /var/run/%{name} %post /usr/bin/echo "run dstarrepeater_conf 1 to setup. Remove dstar %changelog
Let me know the included systemd components in latest code please, and On 26/04/16 05:33, Jeremy McDermond wrote:
|
I see where the issue is here and have a path forward to fix it. I'll see if I can commit some code within the next couple of days to move forward on it. It's going to have a few other rearchitecting things that it'll be dependent on, so I'll have to complete those first. Stay tuned @viper14306. |
I have setup a Raspberry Pi B+ with the DVMEGA GPIO board on it. I installed Raspbian Jessie on the Pi and compiled the repeater software from here and tried the one from Yahoo Group. All of them appear to have this issue (except the one from the Western D-Star Group, which doesn't indicate it is in DEBUG). When I have remote commands setup to do things like Shutdown or Restart, when I make a call to the command, it crashes the Repeater with the following error in the console that the repeater was ran from:
Fatel Error: Assertion failed on line 587 in file ../src/unix/utilsunx.cpp and function wxExecute: wxThread::IsMain() wxExecute() can be called only from the main thread.
I posted this in the Yahoo Group and someone said their build works fine. The Yahoo Group code says it is the same version as the Western D-Star Group's version (again, mine saying DEBUG and theirs does not). Anyone else have this issue or have any thoughts?
The text was updated successfully, but these errors were encountered: