Re: Troubleshooting statically built application using backtrace.

2013-05-15 Thread Filippo ARCIDIACONO
On 5/14/2013 9:05 PM, ANDY KENNEDY wrote: two applications listed a backtrace. Only one line is printed with an address (presumably of the backtrace function call). Yes, it is the calling function address. You can use addr2line command to convert the address in line number. Before you have to

Re: Troubleshooting statically built application using backtrace.

2013-05-14 Thread Filippo ARCIDIACONO
On 5/14/2013 12:51 AM, ANDY KENNEDY wrote: Filippo/Carmelo/all: The patches fixes the infinite loop and extend the backtrace support in statically linked app, has been committed in master branch and cherry piched in 0.9.33 branch. Moreover to properly build the libubacktrace you should

RE: Troubleshooting statically built application using backtrace.

2013-05-14 Thread ANDY KENNEDY
two applications listed a backtrace. Only one line is printed with an address (presumably of the backtrace function call). Yes, it is the calling function address. You can use addr2line command to convert the address in line number. Before you have to compile the application with debug

Re: Troubleshooting statically built application using backtrace.

2013-05-13 Thread Filippo ARCIDIACONO
: Troubleshooting statically built application using backtrace. Andy I'll commit fixes forma backtrace with static applications tomorrow. Thanks forma tour patience Carmelo Carmelo, Okay cool! Can you tell me what you've found so far? My next step was to disable the New way of doing the dl_hash

RE: Troubleshooting statically built application using backtrace.

2013-05-13 Thread ANDY KENNEDY
Filippo/Carmelo/all: The patches fixes the infinite loop and extend the backtrace support in statically linked app, has been committed in master branch and cherry piched in 0.9.33 branch. Moreover to properly build the libubacktrace you should manually apply the patch posted in

RE: Troubleshooting statically built application using backtrace.

2013-05-13 Thread ANDY KENNEDY
It appears that, since the reference to dlopen was removed from libubacktrace/backtrace.c, that the libgcc_s.so.1 is removed from the equation entirely. Believing this, I'm attempting to revert the changes made to that file so that we still attempt to dlopen the libgcc_s.so.1 library prior

Re: Troubleshooting statically built application using backtrace.

2013-05-08 Thread Carmelo Amoroso
Andy I'll commit fixes forma backtrace with static applications tomorrow. Thanks forma tour patience Carmelo Il giorno 08/mag/2013 21:24, ANDY KENNEDY andy.kenn...@adtran.com ha scritto: Attempting to backtrace in a simple helloworld app. For the simple app, we are just using the source of

RE: Troubleshooting statically built application using backtrace.

2013-05-08 Thread ANDY KENNEDY
-Original Message- From: Carmelo Amoroso [mailto:carmel...@gmail.com] Sent: Wednesday, May 08, 2013 2:36 PM To: ANDY KENNEDY Cc: uclibc@uclibc.org Subject: Re: Troubleshooting statically built application using backtrace. Andy I'll commit fixes forma backtrace with static

RE: Troubleshooting statically built application using backtrace.

2013-05-08 Thread Carmelo Amoroso
Il giorno 08/mag/2013 22:33, ANDY KENNEDY andy.kenn...@adtran.com ha scritto: -Original Message- From: Carmelo Amoroso [mailto:carmel...@gmail.com] Sent: Wednesday, May 08, 2013 2:36 PM To: ANDY KENNEDY Cc: uclibc@uclibc.org Subject: Re: Troubleshooting statically built