exit status 234?

1,521 views
Skip to first unread message

svdel...@gmail.com

unread,
Oct 24, 2013, 8:39:31 PM10/24/13
to golan...@googlegroups.com
I am using github.com/go-gl/gl etc. and go for OpenGL development, when OpenGL occasionally fails to render visually, the program always exits with 'exit status 234' at the end of the program output.

As far as I know the program still exits cleanly and properly (a.k.a. the program does not crash/stop abruptly), but it doesn't work correctly.
Has anyone had trouble with this? Or are there any reasons/fixes?

Thanks for your help.

Ross Light

unread,
Oct 25, 2013, 11:30:01 AM10/25/13
to svdel...@gmail.com, golang-nuts
Which OS?  If Linux, which driver (e.g. Intel, nVidia, etc.)?  How are you setting up the OpenGL context (e.g. SDL, GLUT, etc.)?  Is it printing "exit status 234" or is it actually exiting with that status code?  Have you tried attaching gdb to your program?


Ross Light | Software Engineer | li...@google.com                       


--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Sam Delmerico

unread,
Oct 27, 2013, 1:58:37 AM10/27/13
to golan...@googlegroups.com, svdel...@gmail.com
Yes it is linux. AMD catalyst 13.4 on Arch linux. OpenGL is initialized with glfw3. It prints 'exit status 234' before exiting, but it returns 1 to the OS. Yes the problem is when the program reaches the OpenGL part, gdb can't go into the source for it because the drivers have no debug info. Otherwise, the program runs the same with or without gdb.

Sam Delmerico

unread,
Oct 27, 2013, 12:01:04 PM10/27/13
to golan...@googlegroups.com, svdel...@gmail.com
Playing with it more shows that when the program doesn't work and it doesn't output 'exit status 234' then it returns 234 to the OS.

Konstantin Khomoutov

unread,
Oct 28, 2013, 5:15:43 AM10/28/13
to svdel...@gmail.com, golan...@googlegroups.com
IIRC, on Linux at least, exit code with the 8th bit set (that is, >=
128) mean the program exited due to it being sent a signal it did not
handle or ignore. You could start from there. I'd at first try to run
it under strace and inspect the strace's log post mortem to see if
there's anything of interest toward its end.

1. http://www.linuxjournal.com/article/10844

Reply all
Reply to author
Forward
0 new messages