Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] FreeSWITCH uclibc segfault


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
kristian.kielhofner at...
Guest





PostPosted: Tue Feb 10, 2009 2:46 am    Post subject: [Freeswitch-users] FreeSWITCH uclibc segfault Reply with quote

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-freeswitch/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
Back to top
krice at suspicious.org
Guest





PostPosted: Tue Feb 10, 2009 2:49 am    Post subject: [Freeswitch-users] FreeSWITCH uclibc segfault Reply with quote

There arent known issues cause I don't think anyone else has tried it hah


Quote:
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-freeswit
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



_______________________________________________
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





PostPosted: Tue Feb 10, 2009 10:43 am    Post subject: [Freeswitch-users] FreeSWITCH uclibc segfault Reply with quote

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. Wink

On Tue, Feb 10, 2009 at 2:47 AM, Ken Rice <krice@suspicious.org> wrote:
Quote:
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
Back to top
f.koliqi at gmail.com
Guest





PostPosted: Tue Feb 10, 2009 11:16 am    Post subject: [Freeswitch-users] FreeSWITCH uclibc segfault Reply with quote

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:
Quote:
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-freeswitch/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 (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
anthony.minessale at g...
Guest





PostPosted: Tue Feb 10, 2009 11:18 am    Post subject: [Freeswitch-users] FreeSWITCH uclibc segfault Reply with 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.


On Tue, Feb 10, 2009 at 9:34 AM, Kristian Kielhofner <kristian.kielhofner@gmail.com (kristian.kielhofner@gmail.com)> wrote:
Quote:
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. Wink

On Tue, Feb 10, 2009 at 2:47 AM, Ken Rice <krice@suspicious.org (krice@suspicious.org)> wrote:
Quote:
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 (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 ([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





PostPosted: Tue Feb 10, 2009 11:39 am    Post subject: [Freeswitch-users] FreeSWITCH uclibc segfault Reply with 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


On Feb 10, 2009, at 11:15 AM, Anthony Minessale 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.


On Tue, Feb 10, 2009 at 9:34 AM, Kristian Kielhofner <kristian.kielhofner@gmail.com (kristian.kielhofner@gmail.com)> wrote:
Quote:
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. Wink

On Tue, Feb 10, 2009 at 2:47 AM, Ken Rice <krice@suspicious.org (krice@suspicious.org)> wrote:
Quote:
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 (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 ([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
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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





PostPosted: Tue Feb 10, 2009 12:31 pm    Post subject: [Freeswitch-users] FreeSWITCH uclibc segfault Reply with quote

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... Smile

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





PostPosted: Tue Feb 10, 2009 12:32 pm    Post subject: [Freeswitch-users] FreeSWITCH uclibc segfault Reply with 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

_______________________________________________
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





PostPosted: Tue Feb 10, 2009 12:46 pm    Post subject: [Freeswitch-users] FreeSWITCH uclibc segfault Reply with quote

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:
Quote:
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

_______________________________________________
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





PostPosted: Tue Feb 10, 2009 1:05 pm    Post subject: [Freeswitch-users] FreeSWITCH uclibc segfault Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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

VoiceMeUp - Corporate & Wholesale VoIP Services