Il giorno ven, 05/03/2010 alle 12.11 +0100, Patrick Ohly ha scritto:
> On Fri, 2010-03-05 at 08:55 +0000, Pietro Battiston wrote:
> > Il giorno ven, 05/03/2010 alle 09.41 +0100, Patrick Ohly ha scritto:
> > > > pie...@vousci:~$ syncevolution nokia_7210c
> > > > [ERROR] caught signal 11, shutting down
> > > > Segmentation fault
> > > 
> > > That's probably one of the bugs in the OBEX transport which were fixed
> > > in beta 2, and not related to your phone.
> > 
> > I'm using the package syncevolution-evolution 1:0.9.2+1.0beta2a-2 from
> > [0], isn't it the one you're referring to?!
> 
> So you are up-to-date. Hmm, after looking at the stack trace again I see
> that it jumps to address 0. That smells like a failure of the Bluetooth
> compatibility layer - it does function address lookups.
> 
> What libbluetooth version(s) do you have installed?
> 
> $ ls /usr/lib/libbluetooth.so*
> /usr/lib/libbluetooth.so  /usr/lib/libbluetooth.so.2  
> /usr/lib/libbluetooth.so.2.11.2
> 

pie...@vousci:~$ ls /usr/lib/libbluetooth.so*
/usr/lib/libbluetooth.so    /usr/lib/libbluetooth.so.3.4.0
/usr/lib/libbluetooth.so.3


(Ubuntu Karmic, 64 bit)

> Does it provide str2ba?
> 
> $ objdump -T /usr/lib/libbluetooth.so.? | grep str2ba
> 0000000000007b50 g    DF .text        00000000000000b3  Base        str2ba

pie...@vousci:~$ objdump -T /usr/lib/libbluetooth.so.? | grep str2ba
0000000000006f80 g    DF .text  0000000000000087  Base        str2ba


> 
> We might be using an internal utility function which was removed from
> the libbluetooth API, despite exporting it earlier.
> 
> As a workaround, you can specify the right channel in the SyncURL. Run
> "sdptool search --bdaddr <mac address> SYNCML", note the channel number,
> then append it to the syncURL with +<number>, like this:
> 
> $ sdptool search --bdaddr 00:0E:07:B1:90:17 SYNCML
> Searching for SYNCML on 00:0E:07:B1:90:17 ...
> Service Name: OBEX SyncML Client
> Service RecHandle: 0x10007
> Service Class ID List:
>   UUID 128: 00000002-0000-1000-8000-0002ee000002
> Protocol Descriptor List:
>   "L2CAP" (0x0100)
>   "RFCOMM" (0x0003)
>     Channel: 7
>   "OBEX" (0x0008)
> 
> => syncURL = obex-bt://00:0E:07:B1:90:17+7
> 
> 


pie...@vousci:~$ sdptool search --bdaddr 00:17:E5:D3:14:C2 SYNCML
Searching for SYNCML on 00:17:E5:D3:14:C2 ...
Service Name: SyncMLClient
Service RecHandle: 0x10007
Service Class ID List:
  UUID 128: 00000002-0000-1000-8000-0002ee000002
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 10
  "OBEX" (0x0008)
Language Base Attr List:
  code_ISO639: 0x454e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "" (0x00000002-0000-1000-8000-0002ee000002)
    Version: 0x0100


but changing

syncURL = obex-bt://00:17:E5:D3:14:C2

to

syncURL = obex-bt://00:17:E5:D3:14:C2+10

in

~/.config/syncevolution/default/peers/nokia_7210c/config.ini

didn't help, here is the new stack trace:


(gdb) r nokia_7210c
Starting program: /usr/bin/syncevolution nokia_7210c
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) backtrace
#0  0x0000000000000000 in ?? ()
#1  0x00007ffff7b7bf56 in SyncEvo::ObexTransportAgent::connectInit
(this=0x91a120)
at /work/runtests/head/syncevolution/src/syncevo/ObexTransportAgent.cpp:155
#2  0x00007ffff7b7d4a4 in SyncEvo::ObexTransportAgent::connect
(this=0x9136d8)
at /work/runtests/head/syncevolution/src/syncevo/ObexTransportAgent.cpp:135
#3  0x00007ffff7b0c9f0 in SyncEvo::SyncContext::createTransportAgent
(this=0x6356a0, gmainloop=0x0)
at /work/runtests/head/syncevolution/src/syncevo/SyncContext.cpp:1418
#4  0x000000000040644f in SyncEvo::SyncContext::createTransportAgent
(this=0x7fffffffbcc0)
at /work/runtests/head/syncevolution/src/syncevo/SyncContext.h:585
#5  0x00007ffff7b10455 in SyncEvo::SyncContext::initSAN
(this=0x7fffffffbcc0)
at /work/runtests/head/syncevolution/src/syncevo/SyncContext.cpp:2803
#6  0x00007ffff7b1d4f8 in SyncEvo::SyncContext::doSync (this=0x9136d8)
at /work/runtests/head/syncevolution/src/syncevo/SyncContext.cpp:2896
#7  0x00007ffff7b2102e in SyncEvo::SyncContext::sync (this=0x6356a0,
report=0x7fffffffcec0)
at /work/runtests/head/syncevolution/src/syncevo/SyncContext.cpp:2672
#8  0x00007ffff7ae9292 in SyncEvo::Cmdline::run (this=0x7fffffffe0b0)
at /work/runtests/head/syncevolution/src/syncevo/Cmdline.cpp:609
#9  0x00000000004054db in main (argc=2, argv=0x7fffffffe348)
at /work/runtests/head/syncevolution/src/syncevolution.cpp:142

Pietro

_______________________________________________
SyncEvolution mailing list
[email protected]
http://lists.syncevolution.org/listinfo/syncevolution

Reply via email to