So, i am registering the broadcastRadio HAL by creating an object in the Stack memory. In this case the crash is observed in RegisterAsService as:
: signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
: 01-01 00:00:21.659 631 631 F DEBUG : Abort message: 'sp<> constructed with stack pointer argument'
The registerworks successfully when the HAL object is created in HEAP through a Android::SP. Any clue what would be case here.