-
Notifications
You must be signed in to change notification settings - Fork 53
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
swc-launch only works once per boot #8
Comments
Hmm, I have not observed this. Does swc-launch attempt to change the VT? That will help identify whether the problem lies in libswc or swc-launch. |
Yeah, it appears so. it will momentarily go blank for just a moment, but no real meaningful error messages are printed to STDOUT/STDERR. Edit: maybe the problem is in evdev_devices.c, since that is the only debug message Edit2: actually, it seems that the stdout is getting all mucked about. Dropping DRM Master got printed on its own line one time and everything else got printed clearly on their own lines. I have no idea what would be causing interrupts like that. |
It sounds like the example wm might be crashing. You might be able to figure out why with |
with valgrind, it complains that ./wm does not exist. with gdb -batch -ex run, it booted it up, but with the following warnings: Why would it work with gdb and not normally? or is gdb normal? |
So I am having the same issue with the example wm and velox (nice work btw). I tried running with valgrind and gdb but it does not crash. However if i just redirect stderr i can get some nice output. I hope this helps
|
I don't know if this is related but I'm having a trouble with a race condition happening when the launcher is trying to setup tty1 which gives the same result. It is between the ioctl call for VT_ACTIVE and VT_WAITACTIVE that this sometimes happen. A quick fix is to insert a sleep(1) between the two calls. |
@jezze So using sleep(1) fixes that issue for me. It also allows me to run swc-launch in another tty which I wasn't able to do before either :) Now off to investigate further |
Can anyone check if this is still an issue? |
@michaelforney I'm still getting this on the august 30 commit; I'll update later today and test again. |
using the example wm, i am able to run swc-launch one time each boot. concurrent attempts show it exiting immediately after calling swc-launch ./wm.
The text was updated successfully, but these errors were encountered: