I don't think this is worth filing a bug for (yet)... FS rev 11655 segfaults with AstLinux (uClibc). Backtrace: http://astbuild.star2star.com/astlinux-freeswitch-segfault.txt I'm sorry it doesn't have all the symbols... Everything except FS is stripped. Configure options: http://astlinux.svn.sourceforge.net/viewvc/astlinux/branches/astlinux-freesw... FreeSWITCH compiles cleanly. Are there any known issues with uclibc (couldn't find anything on Jira) or did I do something stupid? Thanks! -- Kristian Kielhofner http://blog.krisk.org http://www.submityoursip.com http://www.astlinux.org http://www.star2star.com
There arent known issues cause I don't think anyone else has tried it hah
From: Kristian Kielhofner <kristian.kielhofner@gmail.com> Reply-To: <freeswitch-users@lists.freeswitch.org> Date: Tue, 10 Feb 2009 02:43:49 -0500 To: <freeswitch-users@lists.freeswitch.org> Subject: [Freeswitch-users] FreeSWITCH uclibc segfault
I don't think this is worth filing a bug for (yet)...
FS rev 11655 segfaults with AstLinux (uClibc).
Backtrace: http://astbuild.star2star.com/astlinux-freeswitch-segfault.txt
I'm sorry it doesn't have all the symbols... Everything except FS is stripped.
Configure options: http://astlinux.svn.sourceforge.net/viewvc/astlinux/branches/astlinux-freesw... ch/package/freeswitch/freeswitch.mk
FreeSWITCH compiles cleanly.
Are there any known issues with uclibc (couldn't find anything on Jira) or did I do something stupid?
Thanks!
-- Kristian Kielhofner http://blog.krisk.org http://www.submityoursip.com http://www.astlinux.org http://www.star2star.com
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Uh oh, I was afraid of that. I haven't had to work around uClibc issues in a while. Hopefully I still remember some of that stuff. ;) On Tue, Feb 10, 2009 at 2:47 AM, Ken Rice <krice@suspicious.org> wrote:
There arent known issues cause I don't think anyone else has tried it hah
-- Kristian Kielhofner http://blog.krisk.org http://www.submityoursip.com http://www.astlinux.org http://www.star2star.com
hmm crashing in mutex lock, maybe the pthread lib is messed up. how did you trick it into compiling? Maybe some of the answers are wrong and apr is using the wrong thread abstraction? Some guy made this wiki page regarding cross compiling, did you see it ? http://wiki.freeswitch.org/wiki/Download_%26_Installation_Guide#Cross_Compil... I was able to build FS in scratchbox for arm11 before. I do remember one time when trying to get asterisk to work on wrt in the old days that the pthread lib was bad and I had to use a different version of uClibc runtime to get around it. On Tue, Feb 10, 2009 at 9:34 AM, Kristian Kielhofner < kristian.kielhofner@gmail.com> wrote:
Uh oh, I was afraid of that.
I haven't had to work around uClibc issues in a while. Hopefully I still remember some of that stuff. ;)
On Tue, Feb 10, 2009 at 2:47 AM, Ken Rice <krice@suspicious.org> wrote:
There arent known issues cause I don't think anyone else has tried it hah
-- Kristian Kielhofner http://blog.krisk.org http://www.submityoursip.com http://www.astlinux.org http://www.star2star.com
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
From that link, these are the ones that are most likey causing the issue. I think the first one. Can you check your config.log and see what results it has for those checks? If you can compile native on the device I would suggest to on the device do a ./configure -C and then to use that config.cache file generated to get all your answers to feed your cross toolchain. You can probably just slim down that exact file and have everything you need. export apr_cv_mutex_recursive=yes; \ export ac_cv_func_pthread_rwlock_init=yes; \ export apr_cv_type_rwlock_t=yes; \ Mike On Feb 10, 2009, at 11:15 AM, Anthony Minessale wrote:
hmm crashing in mutex lock, maybe the pthread lib is messed up. how did you trick it into compiling? Maybe some of the answers are wrong and apr is using the wrong thread abstraction?
Some guy made this wiki page regarding cross compiling, did you see it ? http://wiki.freeswitch.org/wiki/Download_%26_Installation_Guide#Cross_Compil...
I was able to build FS in scratchbox for arm11 before.
I do remember one time when trying to get asterisk to work on wrt in the old days that the pthread lib was bad and I had to use a different version of uClibc runtime to get around it.
On Tue, Feb 10, 2009 at 9:34 AM, Kristian Kielhofner <kristian.kielhofner@gmail.com
wrote: Uh oh, I was afraid of that.
I haven't had to work around uClibc issues in a while. Hopefully I still remember some of that stuff. ;)
On Tue, Feb 10, 2009 at 2:47 AM, Ken Rice <krice@suspicious.org> wrote:
There arent known issues cause I don't think anyone else has tried it hah
-- Kristian Kielhofner http://blog.krisk.org http://www.submityoursip.com http://www.astlinux.org http://www.star2star.com
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org pstn:213-799-1400 _______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Yep, now that Tony boiled down that gdb output to a mutex lock I agree. I'm trying a compile now with these values (cross compiling, no native compiler). Cross compiling is so much fun! On Tue, Feb 10, 2009 at 11:34 AM, Michael Jerris <mike@jerris.com> wrote:
From that link, these are the ones that are most likey causing the issue. I think the first one. Can you check your config.log and see what results it has for those checks? If you can compile native on the device I would suggest to on the device do a ./configure -C and then to use that config.cache file generated to get all your answers to feed your cross toolchain. You can probably just slim down that exact file and have everything you need. export apr_cv_mutex_recursive=yes; \ export ac_cv_func_pthread_rwlock_init=yes; \ export apr_cv_type_rwlock_t=yes; \
Mike
-- Kristian Kielhofner http://blog.krisk.org http://www.submityoursip.com http://www.astlinux.org http://www.star2star.com
Replying to myself: That was it! Time to do some testing... Thanks!!! On Tue, Feb 10, 2009 at 12:28 PM, Kristian Kielhofner <kristian.kielhofner@gmail.com> wrote:
Yep, now that Tony boiled down that gdb output to a mutex lock I agree.
I'm trying a compile now with these values (cross compiling, no native compiler).
Cross compiling is so much fun!
On Tue, Feb 10, 2009 at 11:34 AM, Michael Jerris <mike@jerris.com> wrote:
From that link, these are the ones that are most likey causing the issue. I think the first one. Can you check your config.log and see what results it has for those checks? If you can compile native on the device I would suggest to on the device do a ./configure -C and then to use that config.cache file generated to get all your answers to feed your cross toolchain. You can probably just slim down that exact file and have everything you need. export apr_cv_mutex_recursive=yes; \ export ac_cv_func_pthread_rwlock_init=yes; \ export apr_cv_type_rwlock_t=yes; \
Mike
-- Kristian Kielhofner http://blog.krisk.org http://www.submityoursip.com http://www.astlinux.org http://www.star2star.com
-- Kristian Kielhofner http://blog.krisk.org http://www.submityoursip.com http://www.astlinux.org http://www.star2star.com
Tony, Thanks for looking at this. That just goes to show you how useless gdb is to me. Now that you say mutex lock I can think of some configure variables to try... :) I had read that section of the wiki but there is no mention he is using uclibc. Chances are he probably is but there's no way to be sure. I'll make sure to update the wiki with whatever I find. I only have a cross compiler. Some tests cannot be run at all and other guesses are incorrect. That's the fun part. I think pthread is pretty decent in this version of uClibc but I could be wrong. On Tue, Feb 10, 2009 at 11:15 AM, Anthony Minessale <anthony.minessale@gmail.com> wrote:
hmm crashing in mutex lock, maybe the pthread lib is messed up. how did you trick it into compiling? Maybe some of the answers are wrong and apr is using the wrong thread abstraction?
Some guy made this wiki page regarding cross compiling, did you see it ? http://wiki.freeswitch.org/wiki/Download_%26_Installation_Guide#Cross_Compil...
I was able to build FS in scratchbox for arm11 before.
I do remember one time when trying to get asterisk to work on wrt in the old days that the pthread lib was bad and I had to use a different version of uClibc runtime to get around it.
-- Kristian Kielhofner http://blog.krisk.org http://www.submityoursip.com http://www.astlinux.org http://www.star2star.com
In my uClibc system ( busybox + uClibc), FreeSWITCH compiles cleanly with: ./bootstrap.sh make make install but after starting, getting segfaults in mod_lua and and spidermonkey. Without those modules, FreeSWITCH running. Need more tests in order to confirm OK koliqi On Tue, Feb 10, 2009 at 2:43 AM, Kristian Kielhofner < kristian.kielhofner@gmail.com> wrote:
I don't think this is worth filing a bug for (yet)...
FS rev 11655 segfaults with AstLinux (uClibc).
Backtrace: http://astbuild.star2star.com/astlinux-freeswitch-segfault.txt
I'm sorry it doesn't have all the symbols... Everything except FS is stripped.
Configure options:
http://astlinux.svn.sourceforge.net/viewvc/astlinux/branches/astlinux-freesw...
FreeSWITCH compiles cleanly.
Are there any known issues with uclibc (couldn't find anything on Jira) or did I do something stupid?
Thanks!
-- Kristian Kielhofner http://blog.krisk.org http://www.submityoursip.com http://www.astlinux.org http://www.star2star.com
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Thanks, it's good to know it's possible. Lua and spidermonkey wouldn't even compile for me; I'm going to look into that once FS starts. On Tue, Feb 10, 2009 at 10:21 AM, Fadil Berisha <f.koliqi@gmail.com> wrote:
In my uClibc system ( busybox + uClibc), FreeSWITCH compiles cleanly with:
./bootstrap.sh make make install
but after starting, getting segfaults in mod_lua and and spidermonkey. Without those modules, FreeSWITCH running. Need more tests in order to confirm OK
koliqi
-- Kristian Kielhofner http://blog.krisk.org http://www.submityoursip.com http://www.astlinux.org http://www.star2star.com
participants (5)
-
Anthony Minessale
-
Fadil Berisha
-
Ken Rice
-
Kristian Kielhofner
-
Michael Jerris