Bug 107982 - KPilot crash when trying to modify an address
Summary: KPilot crash when trying to modify an address
Status: RESOLVED NOT A BUG
Alias: None
Product: kpilot
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: groot
URL:
Keywords:
: 108167 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-06-23 10:21 UTC by BETTLER Emmanuel
Modified: 2005-08-23 10:07 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description BETTLER Emmanuel 2005-06-23 10:21:10 UTC
Version:            (using KDE KDE 3.4.1)
Installed from:    Fedora RPMs
OS:                Linux

I've KPilot 4.5.2 in KDE 3.4.1 on Fedora Core 4. My Palm is a sony Clie PEG-SJ22/E.
I've installed FC4 (not updated from FC3) and i've imported my calendar, address, mails etc... without  any problems in Kontact. When i start KPilot and try to synchronise my palm, KPilot crashs if the addressboook is selected.
Here is the output error message:
(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1208740160 (LWP 3292)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#4  0x007b2bb5 in memcpy () from /lib/libc.so.6
#5  0x00bdac63 in PilotAddress::pack_ () from /usr/lib/libkpilot.so.0
#6  0x00bcb5b4 in PilotAppCategory::pack () from /usr/lib/libkpilot.so.0
#7  0x00590353 in AbbrowserConduit::_savePalmAddr ()
   from /usr/lib/kde3/conduit_address.so
#8  0x0059153b in AbbrowserConduit::_copyToHH ()
   from /usr/lib/kde3/conduit_address.so
#9  0x0059464a in AbbrowserConduit::syncAddressee ()
   from /usr/lib/kde3/conduit_address.so
#10 0x005957e3 in AbbrowserConduit::slotPCRecToPalm ()
   from /usr/lib/kde3/conduit_address.so
#11 0x0059770d in AbbrowserConduit::qt_invoke ()
   from /usr/lib/kde3/conduit_address.so
#12 0x057c3db4 in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#13 0x05b38796 in QSignal::signal () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#14 0x057e1633 in QSignal::activate () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#15 0x057e9f15 in QSingleShotTimer::event ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#16 0x0575f08d in QApplication::internalNotify ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#17 0x0575fa0c in QApplication::notify ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#18 0x001df7a1 in KApplication::notify () from /usr/lib/libkdecore.so.4
#19 0x05753932 in QEventLoop::activateTimers ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#20 0x0570931a in QEventLoop::processEvents ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#21 0x05777732 in QEventLoop::enterLoop ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#22 0x05777656 in QEventLoop::exec () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#23 0x0575ea59 in QApplication::exec () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#24 0x0805d65b in ?? ()
#25 0x0075bde6 in __libc_start_main () from /lib/libc.so.6
#26 0x08053e61 in ?? ()

I was thinking about some font problems so i've updated my adress from Kadressbook. KPilot was still crashing but i realised that address from KPilot are not the one updated from kaddressbook !!

I also have the bug 86879...
Comment 1 groot 2005-07-27 10:26:34 UTC
*** Bug 108167 has been marked as a duplicate of this bug. ***
Comment 2 Jason 'vanRijn' Kasper 2005-08-20 07:32:10 UTC
Hi there,

Can you please list what version of pilot-link you are using for this?  You mentioned FC4, and that particular distribution has caused tons of problems for palm pilot users because they used unstable code for the pilot libraries.

Also, some cleanup work has been done in this area lately, and I'd really appreciate your help in testing it to see if it fixes your problem.

If you could get the latest source from svn for kpilot and test it against this problem, we can see if we still have a problem.  You can get the directions for how to do this at http://www.slac.com/pilone/kpilot_home/download.php.

Please make sure you build with debugging turned on, as directed on that page.

Thanks for your help!!
Comment 3 Randall O'Reilly 2005-08-22 00:59:47 UTC
*** This bug has been confirmed by popular vote. ***
Comment 4 Jason 'vanRijn' Kasper 2005-08-22 05:14:38 UTC
Um.  I'm all for being confirmed by popular vote and all, but I still have nothing to look for on trying to solve this problem, and what would be most helpful and necessary is if my questions above could be answered.

Thanks!!  =:)
Comment 5 Frédéric 2005-08-22 07:32:19 UTC
I used pilot-link 0.12-pre3.
Comment 6 Jason 'vanRijn' Kasper 2005-08-22 16:17:56 UTC
All, if you are using pilot-link 0.12-anything, you are using non-production-quality and unreleased software.  It might work and it might not.  For certain, I'm not using it and don't have a way of debugging problems with it.  It is best for you to uninstall pilot-link-0.12 and install pilot-link-0.11.8 from FC3 until pilot-link-0.12 is actually released.

Also, the best way for us to help fix these problems is if you recompile kpilot with debugging turned on (see the kpilot download page for how to do this) so that we can get a proper stack trace when something does go wrong.

Can anyone confirm this bug with pilot-link-0.11.8?  If not, I'm going to close this bug.  I'll wait to hear back from you all.  =:)

Thanks!!
Comment 7 Randall O'Reilly 2005-08-22 18:02:24 UTC
I just (forcibly) installed pilot-link-0.11.8-8 from FC3 on my FC4 distro, compiled the 4.5.3 tarball from the kpilot website, and it worked without crashing.

Then I reinstalled pilot-link-0.12.0-pre3 from FC4, and it indeed crashed again.  Here is the log:

Version: KPilot 4.5.3 (peuter)
Version: pilot-link 0.12.0-pre3
Version: KDE 3.4.2-0.fc4.1 Red Hat
Version: Qt 3.3.4

HotSync Log

10:00:21 Starting the KPilot daemon ...
10:00:22 Daemon status is `Waiting for sync'
10:00:22 Next HotSync will be: HotSync. Please press the HotSync button.
10:00:22 Pilot device /dev/pilot does not exist. Probably it is a USB device and will appear during a HotSync.
10:00:37 Device link ready.
10:00:41 Checking last PC...
10:00:41 KPilot 4.5.3 (peuter) HotSync starting...

10:00:41 Using encoding ISO 8859-1 on the handheld.
10:00:41 [Internal Editors]
10:00:41 Databases with changed records: 
10:00:41 Databases with changed flags: 
10:00:41 Databases with changed AppBlock: 
10:00:41 [Conduit time_conduit]
10:00:41 Setting the clock on the handheld
10:00:42 [Conduit vcal-conduit]
10:00:44 Syncing with standard calendar resource.
10:00:44 Using non-local time zone: America/Denver
10:00:44 Copying records to PC ...
10:00:44 Copying records to Pilot ...
10:00:44 [Conduit abbrowser_conduit]

and the backtrace (SEGV, signal 11):

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1208711488 (LWP 14340)]
[KCrash handler]
#4  0x00fd2c97 in PilotAddress::pack_ (this=0x98c4908, buf=0x9653940, 
    len=0xbfe6ea30) at pilotAddress.cc:681
#5  0x00fc8d14 in PilotAppCategory::pack (this=0x98c4908)
    at pilotRecord.cc:220
#6  0x006a5033 in AbbrowserConduit::_savePalmAddr (this=0x8b9a908, 
    palmAddr=0x98c4908, pcAddr=@0xbfe6ed44) at abbrowser-conduit.cc:1408
#7  0x006a5c64 in AbbrowserConduit::_copyToHH (this=0x8b9a908, 
    pcAddr=@0xbfe6ed44, backupAddr=0x9a04980, palmAddr=0x98c4908)
    at abbrowser-conduit.cc:1300
#8  0x006aa64d in AbbrowserConduit::syncAddressee (this=0x8b9a908, 
    pcAddr=@0xbfe6ed44, backupAddr=0x9a04980, palmAddr=0x98c4908)
    at abbrowser-conduit.cc:1265
#9  0x006ab6bf in AbbrowserConduit::slotPCRecToPalm (this=0x8b9a908)
    at abbrowser-conduit.cc:943
#10 0x006ab92e in AbbrowserConduit::qt_invoke (this=0x8b9a908, _id=5, 
    _o=0xbfe6eeb4) at abbrowser-conduit.moc:93
#11 0x048e2e34 in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#12 0x04c5b286 in QSignal::signal () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#13 0x04900613 in QSignal::activate () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#14 0x04908ef5 in QSingleShotTimer::event ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#15 0x0487e0dd in QApplication::internalNotify ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#16 0x0487ea5c in QApplication::notify ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#17 0x0503d851 in KApplication::notify () from /usr/lib/libkdecore.so.4
#18 0x04872972 in QEventLoop::activateTimers ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#19 0x0482835a in QEventLoop::processEvents ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#20 0x048967ab in QEventLoop::enterLoop ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#21 0x048966b6 in QEventLoop::exec () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#22 0x0487daa9 in QApplication::exec () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#23 0x0805a704 in main (argc=1, argv=0xbfe6f624) at pilotDaemon.cc:1367

Let me know if there is anything else I can do to help debug.  Thanks!
Comment 8 Jason 'vanRijn' Kasper 2005-08-23 04:59:24 UTC
Thanks Randall!  =:)

It looks like this is another case of "don't use 0.12-pre*".  

Closing this as INVALID, since kpilot is not supported with 0.12-pre* versions of pilot-link.

Thanks for the bug reports though!!  
Comment 9 Randall O'Reilly 2005-08-23 06:31:52 UTC
That's fine to call it INVALID, but as a point of fact, a very large number of linux users use FC4, and so all of those people are now unable to use this very important program!  Also, presumably 0.12 represents the next version of pilot-link, so at some point you'll have to make the necessary changes for kpilot to support it, so one could argue that doing so sooner rather than later would benefit a lot of people.  Cheers!
Comment 10 groot 2005-08-23 10:07:37 UTC
On Tuesday 23 August 2005 06:31, Randall O'Reilly wrote:
> 06:31 ------- That's fine to call it INVALID, but as a point of fact, a
> very large number of linux users use FC4, and so all of those people are
> now unable to use this very important program!  Also, presumably 0.12


That's true. Except that the maintainers of pilot link have repeatedly stated: 
don't package 0.12-pre versions. Don't ship it. Source, binary, and 
aardvark-incompatible changes _will_ happen within the -pre series and it 
will break any and all applications that use pilot link. Don't ship it. 
Really, really, don't ship it.

> represents the next version of pilot-link, so at some point you'll have to
> make the necessary changes for kpilot to support it, so one could argue
> that doing so sooner rather than later would benefit a lot of people. 


Sure. pilot-link 0.12-pre5 seems to work, since that is the most recent 
version of pilot-link. But KPilot works with either: 0.11.8 _or_ pilot-link 
CVS HEAD. Not anything else, definitely not the -pre2, -pre3 and -pre4 that 
FC4 feels it has to ship and which have source, binary and 
aardvark-incompatible changes amongst themselves so that no application 
compiled for one of those particular versions can work with any of the 
others. And it is infeasible to make KPilot work with each of the 
incompatible -pre versions -- so that's why it works with CVS HEAD, or not at 
all.

CC-ing -pim-users because this comes up so often.