VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
kristian.kielhofner at... Guest
|
|
Back to top |
|
|
krice at suspicious.org Guest
|
|
Back to top |
|
|
kristian.kielhofner at... Guest
|
|
Back to top |
|
|
f.koliqi at gmail.com Guest
|
Posted: Tue Feb 10, 2009 11:16 am Post subject: [Freeswitch-users] FreeSWITCH uclibc segfault |
|
|
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 (kristian.kielhofner@gmail.com)> wrote:
|
|
Back to top |
|
|
anthony.minessale at g... Guest
|
Posted: Tue Feb 10, 2009 11:18 am Post subject: [Freeswitch-users] FreeSWITCH uclibc segfault |
|
|
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_Compiling_for_ARM_on_Linux
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 (kristian.kielhofner@gmail.com)> wrote:
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400 |
|
Back to top |
|
|
mike at jerris.com Guest
|
Posted: Tue Feb 10, 2009 11:39 am Post subject: [Freeswitch-users] FreeSWITCH uclibc segfault |
|
|
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:
|
|
Back to top |
|
|
kristian.kielhofner at... Guest
|
Posted: Tue Feb 10, 2009 12:31 pm Post subject: [Freeswitch-users] FreeSWITCH uclibc segfault |
|
|
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:
Quote: | 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_Compiling_for_ARM_on_Linux
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
_______________________________________________
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 |
|
Back to top |
|
|
kristian.kielhofner at... Guest
|
Posted: Tue Feb 10, 2009 12:32 pm Post subject: [Freeswitch-users] FreeSWITCH uclibc segfault |
|
|
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:
Quote: | 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
_______________________________________________
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 |
|
Back to top |
|
|
kristian.kielhofner at... Guest
|
|
Back to top |
|
|
kristian.kielhofner at... Guest
|
Posted: Tue Feb 10, 2009 1:05 pm Post subject: [Freeswitch-users] FreeSWITCH uclibc segfault |
|
|
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:
Quote: | 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:
Quote: | 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
_______________________________________________
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 |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|