Ticket #867 (new defect)

Opened 6 years ago

Last modified 6 years ago

gnokii: plugin fails on 64bit

Reported by: mbanck Owned by: dgollub
Priority: normal Milestone:
Component: Plugin: gnokii Version: 0.22
Severity: major Keywords:
Cc: mbanck@…

Description (last modified by felixmoeller) (diff)

Forwarded bug from Debian:

I'm playing with opensync and my phone, and I tried to use the gnokii plugin to sync with evolution, and I'm getting this error

***** GN_PHONEBOOK_ENTRY_MAX_LENGTH - count 820 count 204
*** glibc detected *** /usr/lib/opensync/osplugin: double free or
corruption (!prev): 0x0000000000f375b0 ***
======= Backtrace: =========
/lib/libc.so.6[0x7fb6fe58f968]
/lib/libc.so.6(cfree+0x76)[0x7fb6fe591a76]
/usr/lib/opensync/plugins/gnokii_sync.so(gnokii_contact_write+0x1c2)[0x7fb6fda333e2]
/usr/lib/opensync/plugins/gnokii_sync.so(gnokii_contact_commit+0xf2)[0x7fb6fda339a2]
/usr/lib/libopensync.so.0(osync_member_commit_change+0x208)[0x7fb6feaa0a08]
/usr/lib/opensync/osplugin(message_handler+0x3ed)[0x402a6d]
/usr/lib/libopensync.so.0[0x7fb6feaaa8bd]
/usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x232)[0x7fb6ff2c6892]
/usr/lib/libglib-2.0.so.0[0x7fb6ff2ca01d]
/usr/lib/libglib-2.0.so.0(g_main_loop_run+0x1cd)[0x7fb6ff2ca54d]
/usr/lib/opensync/osplugin(main+0x413)[0x403173]
/lib/libc.so.6(__libc_start_main+0xe6)[0x7fb6fe53a1a6]
/usr/lib/opensync/osplugin[0x402439]
======= Memory map: ========
00400000-00404000 r-xp 00000000 08:03 911076
/usr/lib/opensync/osplugin
00604000-00605000 rw-p 00004000 08:03 911076
/usr/lib/opensync/osplugin
00efd000-0108d000 rw-p 00efd000 00:00 0
[heap]
40a73000-40a74000 ---p 40a73000 00:00 0
40a74000-41274000 rw-p 40a74000 00:00 0
41274000-41275000 ---p 41274000 00:00 0
41275000-41a75000 rw-p 41275000 00:00 0
41faa000-41fab000 ---p 41faa000 00:00 0
41fab000-427ab000 rw-p 41fab000 00:00 0
427ab000-427ac000 ---p 427ab000 00:00 0
427ac000-42fac000 rw-p 427ac000 00:00 0
7fb6f4000000-7fb6f4021000 rw-p 7fb6f4000000 00:00 0
7fb6f4021000-7fb6f8000000 ---p 7fb6f4021000 00:00 0
7fb6fa34c000-7fb6fa362000 r-xp 00000000 08:03 7135240
/lib/libgcc_s.so.1
7fb6fa362000-7fb6fa562000 ---p 00016000 08:03 7135240
/lib/libgcc_s.so.1
7fb6fa562000-7fb6fa563000 rw-p 00016000 08:03 7135240
/lib/libgcc_s.so.1
7fb6fa563000-7fb6fa565000 r-xp 00000000 08:03 911068
/usr/lib/opensync/formats/event.so
7fb6fa565000-7fb6fa764000 ---p 00002000 08:03 911068
/usr/lib/opensync/formats/event.so
7fb6fa764000-7fb6fa765000 rw-p 00001000 08:03 911068
/usr/lib/opensync/formats/event.so
7fb6fa765000-7fb6fa766000 r-xp 00000000 08:03 911065
/usr/lib/opensync/formats/data.so
7fb6fa766000-7fb6fa965000 ---p 00001000 08:03 911065
/usr/lib/opensync/formats/data.so
7fb6fa965000-7fb6fa966000 rw-p 00000000 08:03 911065
/usr/lib/opensync/formats/data.so
7fb6fa966000-7fb6fa96c000 r-xp 00000000 08:03 911100
/usr/lib/opensync/formats/gnokii.so
7fb6fa96c000-7fb6fab6b000 ---p 00006000 08:03 911100
/usr/lib/opensync/formats/gnokii.so
7fb6fab6b000-7fb6fab6c000 rw-p 00005000 08:03 911100
/usr/lib/opensync/formats/gnokii.so
7fb6fab6c000-7fb6fab7b000 r-xp 00000000 08:03 911073
/usr/lib/opensync/formats/xml-vcard.so
7fb6fab7b000-7fb6fad7b000 ---p 0000f000 08:03 911073
/usr/lib/opensync/formats/xml-vcard.so
7fb6fad7b000-7fb6fad7c000 rw-p 0000f000 08:03 911073
/usr/lib/opensync/formats/xml-vcard.so
7fb6fad7c000-7fb6fad92000 r-xp 00000000 08:03 911072
/usr/lib/opensync/formats/xml-vcal.so
7fb6fad92000-7fb6faf91000 ---p 00016000 08:03 911072
/usr/lib/opensync/formats/xml-vcal.so
7fb6faf91000-7fb6faf92000 rw-p 00015000 08:03 911072
/usr/lib/opensync/formats/xml-vcal.so
7fb6faf92000-7fb6faf94000 r-xp 00000000 08:03 911071
/usr/lib/opensync/formats/contact.so
7fb6faf94000-7fb6fb193000 ---p 00002000 08:03 911071
/usr/lib/opensync/formats/contact.so
7fb6fb193000-7fb6fb194000 rw-p 00001000 08:03 911071
/usr/lib/opensync/formats/contact.so
7fb6fb194000-7fb6fb195000 r-xp 00000000 08:03 911070
/usr/lib/opensync/formats/xmldoc.so
7fb6fb195000-7fb6fb395000 ---p 00001000 08:03 911070            Error
writing entry pas-id-48C4355700000012 to member 1: Broken Pipe

I did try to bakcup to file and it did indeed work.

Change History

comment:1 Changed 6 years ago by mbanck

  • Cc mbanck@… added

comment:2 Changed 6 years ago by felixmoeller

  • Description modified (diff)
Note: See TracTickets for help on using tickets.