In this case its yes form the change you made... Open a jira on the original build issue, its a real problem... not the crash.  I already messaged it to the owner of that, but he'll need the jira to commit.

On Mar 22, 2016, at 4:39 PM, Ítalo Rossi <italo@freeswitch.org> wrote:

Open a JIRA and attach a backtrace there.

On Mar 22 2016, at 5:16 pm, Ben Hood <0x6e6562@gmail.com> wrote:

Hi,

I was wondering if anybody had run into any issues on master on OSX
where mod_amqp core dumps on boot:

2016-03-22 20:12:40.692203 [NOTICE] mod_amqp.c:67 mod_apqp loading:
Version 1.7.0+git~20160321T001250Z~35259cf36c~64bit
2016-03-22 20:12:40.692442 [INFO] mod_amqp_utils.c:93 Loading Config
2016-03-22 20:12:40.692644 [INFO] mod_amqp_producer.c:233 amqp
fallback format fields enabled
2016-03-22 20:12:40.692652 [INFO] mod_amqp_producer.c:252 amqp format
fields : #FreeSWITCH,FreeSWITCH-Hostname,Event-Name,Event-Subclass,Unique-ID
2016-03-22 20:12:40.692657 [CRIT] mod_amqp_producer.c:267 Found 4 subscriptions
2016-03-22 20:12:40.692663 [INFO] mod_amqp_producer.c:288 amqp routing
key 0 : #FreeSWITCH
2016-03-22 20:12:40.692665 [INFO] mod_amqp_producer.c:288 amqp routing
key 1 : FreeSWITCH-Hostname
2016-03-22 20:12:40.692667 [INFO] mod_amqp_producer.c:288 amqp routing
key 2 : Event-Name
2016-03-22 20:12:40.692668 [INFO] mod_amqp_producer.c:288 amqp routing
key 3 : Event-Subclass
2016-03-22 20:12:40.692670 [INFO] mod_amqp_producer.c:288 amqp routing
key 4 : Unique-ID
[1] 1388 segmentation fault (core dumped)
DYLD_LIBRARY_PATH=/Users/0x6e6562/Tools/librabbitmq-0.5.2/lib
./bin/freeswitch

I haven't yet re-compiled Freeswitch to turn debug symbols on - I was
just wondering if somebody else had come across this before.

I'm also wondering whether it could have anything to do with the tweak
I put into the header file in order to get the object files to link
(since without this patch, the linker was complaining that the globals
struct was duplicated across multiple compile units):

diff --git a/src/mod/event_handlers/mod_amqp/mod_amqp.h
b/src/mod/event_handlers/mod_amqp/mod_amqp.h
index 238236a..7bde3ad 100644
--- a/src/mod/event_handlers/mod_amqp/mod_amqp.h
+++ b/src/mod/event_handlers/mod_amqp/mod_amqp.h
@@ -173,7 +173,7 @@ typedef struct {
   switch_memory_pool_t *pool;
 } mod_amqp_logging_profile_t;

-struct {
+static struct {
   switch_memory_pool_t *pool;

   switch_hash_t *producer_hash;

Any pointers appreciated,

Ben

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.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

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.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