[SFLphone] seg faults

Pierre-Luc Bacon pierre-luc.bacon at savoirfairelinux.com
Tue Sep 1 15:48:19 EDT 2009


We knew about this kind of bug for quite some time now. 
The more I see it, the more I think that it comes from invalid data
being passed to the Dbus-c++ binding. When SIGPIPE is thrown, it's most
likely because the other end (a glib binding for example) closed the
dbus socket because it received something that it shouldn't have. 

Good to see that the bug appears similar to the one Maxime Chambreuil
was experiencing. 

On Tue, 2009-09-01 at 11:00 -0500, Andrés Mauricio Mujica Zalamea wrote:
> El mar, 01-09-2009 a las 11:55 -0400, Maxime Chambreuil escribió:
> > Bug has been declared here :
> > 
> > http://projects.savoirfairelinux.net/issues/show/1933
> > 
> 
> hee. that's what i thought .  Thks
> 
> > Cheers,
> > -- 
> > Maxime Chambreuil <maxime.chambreuil at savoirfairelinux.com>
> > Savoir-faire Linux
> > 
> > 
> > Le mardi 01 septembre 2009 à 10:52 -0500, Andrés Mauricio Mujica
> > Zalamea a écrit :
> > > i'm getting this segmentation fault when receiving calls.  I'm
> > > using Jaunty 64Bits i'm suspecting some dbus update, any
> > > insights ??
> > > 
> > > 
> > > [sfl-debug] PulseLayer::Start stream
> > > [sfl-debug] > IAX_EVENT_CONNECT (receive)
> > > AudioRecord::createFilename::filename for this call
> > > 20090901-10:48:09 
> > > AudioRecord::openFile::concatenate .wav file extension: name :
> > > 20090901-10:48:09 
> > > [sfl-debug] Incoming call 611815978 for account Account:1237384895
> > > [sfl-debug] Associate Call 611815978 with Account
> > > Account:1237384895
> > > [sfl-debug] Current call ID = 1047226215
> > > [sfl-debug] ManagerImpl::incomingCall :: hasCurrentCall() 1 
> > > [sfl-debug] Current call ID = 1047226215
> > > [sfl-debug] Manager received getNotify
> > > [sfl-debug] CallManager::accept received
> > > [sfl-debug] ManagerImpl::answerCall :: current call->getState 0 
> > > [sfl-debug] Try to answer call: 611815978
> > > [sfl-debug] * Manager Info: there is currently a call, try to hold
> > > it
> > > [sfl-debug] PulseLayer::Start stream
> > > 
> > > Program received signal SIGSEGV, Segmentation fault.
> > > [Switching to Thread 0x7fcd5f0b7750 (LWP 31528)]
> > > 0x000000000044f120 in ?? ()
> > > (gdb) 
> > > (gdb) backtrace
> > > #0  0x000000000044f120 in ?? ()
> > > #1  0x000000000044c29c in ?? ()
> > > #2  0x000000000041f8cb in ?? ()
> > > #3  0x000000000042b5cf in ?? ()
> > > #4  0x0000000000489961 in
> > > org::sflphone::SFLphone::CallManager_adaptor::_accept_stub ()
> > > #5  0x0000000000486f2d in ?? ()
> > > #6  0x00007fcd5eaa28fd in DBus::InterfaceAdaptor::dispatch_method
> > > () from /usr/lib/libdbus-c++-1.so.0
> > > #7  0x00007fcd5eaa5a77 in DBus::ObjectAdaptor::handle_message ()
> > > from /usr/lib/libdbus-c++-1.so.0
> > > #8  0x00007fcd5eaa4f71 in
> > > DBus::ObjectAdaptor::Private::message_function_stub ()
> > > from /usr/lib/libdbus-c++-1.so.0
> > > #9  0x00007fcd5e86c081 in ?? () from /lib/libdbus-1.so.3
> > > #10 0x00007fcd5e85e966 in dbus_connection_dispatch ()
> > > from /lib/libdbus-1.so.3
> > > #11 0x00007fcd5eaab49b in DBus::Connection::Private::do_dispatch
> > > () from /usr/lib/libdbus-c++-1.so.0
> > > #12 0x00007fcd5eaaf3aa in DBus::Dispatcher::dispatch_pending ()
> > > from /usr/lib/libdbus-c++-1.so.0
> > > #13 0x00007fcd5eab4b89 in DBus::BusDispatcher::do_iteration ()
> > > from /usr/lib/libdbus-c++-1.so.0
> > > #14 0x00007fcd5eab4949 in DBus::BusDispatcher::enter ()
> > > from /usr/lib/libdbus-c++-1.so.0
> > > #15 0x000000000046bd16 in ?? ()
> > > #16 0x0000000000417ed4 in ?? ()
> > > #17 0x00007fcd5bd025a6 in __libc_start_main () from /lib/libc.so.6
> > > ---Type <return> to continue, or q <return> to quit---
> > > #18 0x0000000000416889 in ?? ()
> > > #19 0x00007fff670e4518 in ?? ()
> > > #20 0x000000000000001c in ?? ()
> > > #21 0x0000000000000002 in ?? ()
> > > #22 0x00007fff670e56d0 in ?? ()
> > > #23 0x00007fff670e56ec in ?? ()
> > > 
> > > 
> > > 
> > > -- 
> > > Andrés Mauricio Mujica Zalamea <andres.mujica at seaq.com.co>
> > > SEAQ SERVICIOS CIA LTDA
> > > _______________________________________________
> > > SFLphone mailing list
> > > SFLphone at lists.savoirfairelinux.net
> > > http://lists.savoirfairelinux.net/mailman/listinfo/sflphone
> 
> -- 
> Andrés Mauricio Mujica Zalamea <andres.mujica at seaq.com.co>
> SEAQ SERVICIOS CIA LTDA
> _______________________________________________
> SFLphone mailing list
> SFLphone at lists.savoirfairelinux.net
> http://lists.savoirfairelinux.net/mailman/listinfo/sflphone



More information about the SFLphone mailing list