Bug 127682 - kpilot crashes when hot-sync with palm TX
Summary: kpilot crashes when hot-sync with palm TX
Status: RESOLVED FIXED
Alias: None
Product: kpilot
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: groot
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-19 20:49 UTC by Stefan Kania
Modified: 2009-01-19 06:22 UTC (History)
1 user (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 Stefan Kania 2006-05-19 20:49:45 UTC
Version:           4.6.0 (using KDE KDE 3.5.2)
Installed from:    SuSE RPMs
OS:                Linux

Every time I sync my new Palm TX with kpilot, the programm chrashes always at the same point.
Here are the backtraces:
(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".
(no debugging symbols found)
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
(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 1097825408 (LWP 7119)]
(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]
#6  0x616c7700 in ?? ()
#7  0xbf87fe38 in ?? ()
#8  0x0000000c in ?? ()
#9  0xbf87fe0c in ?? ()
#10 0x4008c824 in ?? () from /usr/lib/libpisock.so.8
#11 0x08220450 in ?? ()
#12 0x0000000c in ?? ()
#13 0xbf87fe48 in ?? ()
#14 0x400785aa in dlp_ReadResourceByIndex () from /usr/lib/libpisock.so.8

When i try to backup the palm with pilot-xfer -b /home/stefan/ then pilot-xfer chrashes always at the same point. Here are the result:
stefan@wstka:~> pilot-xfer -b /home/stefan
   No $PILOTPORT specified and no -p <port> given.
   Defaulting to '/dev/pilot'


   Listening to port: /dev/pilot

   Please press the HotSync button now... Connected

Backing up /home/stefan/AdditDVSData.pdb
Backing up /home/stefan/ADD050SData.pdb
Backing up /home/stefan/AdditSystemSData.pdb
Backing up /home/stefan/AdditDVVData.pdb
Backing up /home/stefan/AddItVData.pdb
Backing up /home/stefan/ADD050VData.pdb
Backing up /home/stefan/AdditSystemVData.pdb
Backing up /home/stefan/AddIt_deDE_data.pdb
Backing up /home/stefan/BackgroundThumb-Fave.pdb
Backing up /home/stefan/Background-Fave.pdb
Backing up /home/stefan/Blazer Bookmarks.pdb
Backing up /home/stefan/CarrierProfiles2.pdb
Backing up /home/stefan/DocsToGoDB.pdb
Backing up /home/stefan/ContactsDB-PAdd.pdb
Backing up /home/stefan/CalendarDB-PDat.pdb
Backing up /home/stefan/MemosDB-PMem.pdb
Backing up /home/stefan/TasksDB-PTod.pdb
Backing up /home/stefan/Queries.pdb
Backing up /home/stefan/wiFiDbLibPrefDB-WMru.prc
Backing up /home/stefan/wiFiDbLibMruDB-WMru.pdb
Backing up /home/stefan/WiFiDB.prc
Backing up /home/stefan/AddressDB.pdb
Backing up /home/stefan/Bluetooth Trusted Devices.pdb
Backing up /home/stefan/Bluetooth Device Cache.pdb
Backing up /home/stefan/DatebookDB.pdb
Backing up /home/stefan/ExpenseDB.pdb
Backing up /home/stefan/locLDefLocationDB.pdb
Backing up /home/stefan/MemoDB.pdb
Backing up /home/stefan/ConnectionMgr50DB.pdb
Backing up /home/stefan/NetworkDB.pdb
Backing up /home/stefan/npadDB.pdb
Backing up /home/stefan/PIMsSupportStatus-pdmE.pdb
Backing up /home/stefan/PhoneRegistryDB.pdb
Backing up /home/stefan/ToDoDB.pdb
Backing up /home/stefan/8381Fw.pdb
Backing up /home/stefan/locLCusLocationDB.pdb
Backing up /home/stefan/WTG5Clipboard.pdb.pdb
Backing up /home/stefan/DSDTGP.pdb
Backing up /home/stefan/MMIDCache0.pdb
Backing up /home/stefan/MMIDCache1.pdb
Backing up /home/stefan/MMIDCache2.pdb
Backing up /home/stefan/MMIDCache3.pdb
Backing up /home/stefan/MMIDCache4.pdb
Backing up /home/stefan/MMIDCache5.pdb
Backing up /home/stefan/MMIDCache6.pdb
Backing up /home/stefan/MMIDCache7.pdb
Backing up /home/stefan/AddItStart_deDE-Content.pdb
Backing up /home/stefan/AdditTryBuy_deDE-Content.pdb
Backing up /home/stefan/AdditMyDV_deDE-Content.pdb
Backing up /home/stefan/AdditNewsDV_deDE-Content.pdb
Backing up /home/stefan/AdditShopDV_deDE-Content.pdb
Backing up /home/stefan/Shim Logs.prc
Backing up /home/stefan/System DB Chain Head.pdb
Backing up /home/stefan/FavoritesDB-Fave.pdb
Backing up /home/stefan/WordToGoFonts.pdb
Backing up /home/stefan/SlideshowFonts.pdb
Backing up /home/stefan/Blazer CacheHistory.pdb
Backing up /home/stefan/midataidcache.pdb
Backing up /home/stefan/NetworkProfiles2.pdb
Backing up /home/stefan/PMHDB.pdb
Backing up /home/stefan/PMNDB.pdb
Backing up /home/stefan/PocketTunesPL-TNpt Def PL.pdb
Backing up /home/stefan/Pocket Tunes Song Database.pdb
Backing up /home/stefan/Find_DB.pdb
Backing up /home/stefan/DxtgTempDB.pdb
Backing up /home/stefan/DevicePatchVFSCacheDB.pdbFailed, unable to back up database
Backing up /home/stefan/PACERsrcDB9.prc
Backing up /home/stefan/PACERsrcDB8.prc
Backing up /home/stefan/PACERsrcDB7.prc
Backing up /home/stefan/PACERsrcDB6.prc
Backing up /home/stefan/PACERsrcDB5.prc
Backing up /home/stefan/PACERsrcDB4.prc
Backing up /home/stefan/PACERsrcDB3.prc
Backing up /home/stefan/PACERsrcDB2.prc
Backing up /home/stefan/PACERsrcDB1.prc
Backing up /home/stefan/PACERsrcDB0.prc
Backing up /home/stefan/PACE Data Store Reserve.prc
Backing up /home/stefan/Blazer URL Autofill.pdb
Backing up /home/stefan/WiFiSlip.prc
Backing up /home/stefan/Blazer Field Autofill.pdb
Backing up /home/stefan/AdditSync.prc
Backing up /home/stefan/AdditDV.prc
Backing up /home/stefan/AddItVault.prc
Backing up /home/stefan/DXTGAttachmentPlugin.prc
Backing up /home/stefan/SheetToGo.prc
Backing up /home/stefan/DocsToGo.prc
Backing up /home/stefan/WordView+.prc
Backing up /home/stefan/AirSAMPrv.prc
Backing up /home/stefan/AirSAM.prc
Backing up /home/stefan/Tutorial.prc
Backing up /home/stefan/IIDataLib.prc
Backing up /home/stefan/PalmVMFontLibrary.prc
Backing up /home/stefan/MIAttachLib.prc
Backing up /home/stefan/MIDataLib.prc
Backing up /home/stefan/PP_P2P.prc
Backing up /home/stefan/SS_P2P.prc
Backing up /home/stefan/SlideshowToGo.prc
Backing up /home/stefan/WP_P2P.prc
Backing up /home/stefan/WiFiSetup.prc
Backing up /home/stefan/MultiMail.prc
Backing up /home/stefan/MMNotify.prc
Backing up /home/stefan/MMConduit-asc6.prc
Backing up /home/stefan/MMUpgrade.prc
Backing up /home/stefan/BgndService.prc
Backing up /home/stefan/VersaMail.prc
Backing up /home/stefan/SAMgr.prc
Backing up /home/stefan/BFViewer.prc
Backing up /home/stefan/__MMServers.pdb
Backing up /home/stefan/ContactsBDIndex-PAdd.pdb
Backing up /home/stefan/AddressCitiesDB.pdb
Backing up /home/stefan/AddressCompaniesDB.pdb
Backing up /home/stefan/AddressCountriesDB.pdb
Backing up /home/stefan/Blazer Cookies.pdb
Backing up /home/stefan/OverflowDBList.pdb
Backing up /home/stefan/PalmSGHiResFonts.pdb
Backing up /home/stefan/Blazer Find Autofill.pdb
Backing up /home/stefan/CalendarLocationsDB-PDat.pdb
Backing up /home/stefan/DGraphConverter.prc
Backing up /home/stefan/DSLib.prc
Backing up /home/stefan/DSlideLib.prc
Backing up /home/stefan/GraphicsLibrary.prc
Backing up /home/stefan/MoHiSp1Lib.prc
Backing up /home/stefan/NetServLib.prc
Backing up /home/stefan/wifidbLib-WMru.prc
Backing up /home/stefan/wifibusiflib.prc
Backing up /home/stefan/WiFiCoreLib.prc       Speicherzugriffsfehler

I hope you can help me

Stefan
Comment 1 Joachim Reichelt 2007-05-22 11:29:00 UTC
Crash using device usb: (same with /dev/ttyUSB1) to Palm TX
Crash is always, when there is NO hotsync available.
To get crash:
1. stop all kpilotDaemon
2. connect Palm tx via USB directly to the PC
3. start kpilotDaemon and wait ~10 second.
4. get traceback:
Überprüfung der Systemkonfiguration beim Start deaktiviert.

Using host libthread_db library "/lib64/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 47116432603568 (LWP 24490)]
[New Thread 1082132800 (LWP 24491)]
[KCrash handler]
#5  0x0000000000000041 in ?? ()
#6  0x0000000000410c93 in LoggerDCOP_stub::logError ()
#7  0x0000000000413c58 in PilotDaemon::logError ()
#8  0x0000000000414699 in PilotDaemon::qt_invoke ()
#9  0x00002ada2145d57c in QObject::activate_signal ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#10 0x00002ada2145de66 in QObject::activate_signal ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#11 0x00002ada1f9d9128 in KPilotLink::logError ()
   from /opt/kde3/lib64/libkpilot.so.0
#12 0x00002ada1f9da77f in KPilotDeviceLink::customEvent ()
   from /opt/kde3/lib64/libkpilot.so.0
#13 0x00002ada2145d046 in QObject::event ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#14 0x00002ada21406405 in QApplication::internalNotify ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#15 0x00002ada21407037 in QApplication::notify ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#16 0x00002ada20c0af88 in KApplication::notify ()
   from /opt/kde3/lib64/libkdecore.so.4
#17 0x00002ada21407ab9 in QApplication::sendPostedEvents ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#18 0x00002ada213bc475 in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#19 0x00002ada2141afb3 in QEventLoop::enterLoop ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#20 0x00002ada2141ae62 in QEventLoop::exec ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#21 0x0000000000415b6f in main ()

I have:
Version: KPilot 4.9.1 (rabid dolphin)
Version: pilot-link 0.12.1
Version: KDE 3.5.6 "release 85.1"
Version: Qt 3.3.8
on SUSE 10.2 on x86_64

I can sync by:
1. Press hotsync
2. start kpilotDaemon
shortly after sync the kpilotDaemon crashes (so above)


Comment 2 Joachim Reichelt 2007-06-17 18:13:37 UTC
O.K.
i downloaded by svn and compiled as written in the faq with debug on.
Now I heve the location of crash. It seems to be in 
kpilotdevicelink.cc, Line 480
        fPilotSocket = pi_accept_to(fTempSocket, 0, 0, timeout);

As seen in the log:
   close: device comm thread closing socket: [0]
    >customEvent
KCrash: Application 'kpilotDaemon' crashing...
      >openDevice
       openDevice: Opening main pilot path: [usb:].
        >open
         open: Trying to create socket.
         open: Got socket: [4]
         open: Binding to path: [usb:]
          >showList
           showList: Bound devices: [usb:]
         open: Current status: [KPilotDeviceLink=DeviceOpen] and socket: [4]
         open: Listening to pilot. Now trying accept...

And as the TX does not open/close the line but stays connected there is a problem.

So how to use gdb or something like that on kpilotDaemon???
I'm willing to help.
Comment 3 Jason 'vanRijn' Kasper 2009-01-17 06:13:50 UTC
Hi Stefan! I'm so sorry that it's taken so long for someone to get back in touch with you. =:( Are you still interested in helping? I've been trying to debug basically the same bug, but in the very-soon-to-be-released KDE 4.2 version of KPilot. Can you please install the KDE 4.2 rpms from KDE:KDE4:Factory:Desktop and then build KPilot from source from branches/KDE/4.2/kdepim/kpilot (see http://kpilot.org/develop.php for more details).

Thank you!!! =:)
Comment 4 Jason 'vanRijn' Kasper 2009-01-19 06:22:32 UTC
Joachim, you are describing a different bug, sorry. Stefan, the bug you are experiencing is due to the old libpisock.so.8 library that you were using at the time (it couldn't handle large databases). This has been fixed upstream.