After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 320025 - crash during sync for MIDP Java install (full debug symbols) - MIDP breaks backup
crash during sync for MIDP Java install (full debug symbols) - MIDP breaks ba...
Status: RESOLVED DUPLICATE of bug 136010
Product: gnome-pilot
Classification: Other
Component: conduit: backup
unspecified
Other other
: High major
: ---
Assigned To: gnome-pilot Maintainers
gnome-pilot Maintainers
: 317614 319294 319306 320457 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-10-28 00:14 UTC by Simon Major
Modified: 2006-02-08 00:55 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Simon Major 2005-10-28 00:15:00 UTC
Distribution: SuSE Linux 9.3 (i586)
Package: gnome-pilot
Severity: normal
Version: GNOME2.10.0 unspecified
Gnome-Distributor: SUSE
Synopsis: crash during sync for MIDP Java install (full debug symbols)
Bugzilla-Product: gnome-pilot
Bugzilla-Component: gpilotd
Bugzilla-Version: unspecified
BugBuddy-GnomeVersion: 2.0 (2.10.0)
Description:
Description of the crash:

Multiple syncs back to back to install the PRCs for the IBM Java MIDP
JVM for PalmOS

Steps to reproduce the crash:
1. After selective expansion of the Palm download zip:
> find . -name \*.prc -ls
  8884    4 -rwxrwxrwx   1 simon    jhi           174 Jun  7 00:28
./JVM/ARM4T/JavaVMCheck_enUS.prc
  8883 1658 -rwxrwxrwx   1 simon    jhi       1693416 Jun  7 00:53
./JVM/ARM4T/J9JavaVMMidp20.prc
  8889    8 -rwxrwxrwx   1 simon    jhi          4133 Jun  7 00:28
./JSR75/PIMPrefs.prc
2. > find . -name \*.prc -exec gpilot-install-file \-\-later {} \;
-print
Then sync ... sync ... sync ...
3. Crashes on about the third sync

Expected Results:
* Install the apps.
* Not crash ;-)
* Silently or noisily skip over any files that it cannot backup and
continue.

How often does this happen?
? (... will try another sync and update the bug rep) 

Additional Information:
 1) These are native ARM apps. not the usual m68 ones.
 2) J9JavaVMMidp20.prc is docummented as not backing up during a sync as
it is larger than the 64K boundary.

RPM info:
> rpm -qa | egrep -i '(palm|pilot|evolution)'
evolution-debuginfo-2.2.1-7
pilot-link-debuginfo-0.11.8-127
perl-PDA-Pilot-0.11.8-124
pilot-link-0.11.8-127
pilot-mailsync-0.8.3-3
gnome-pilot-2.0.12-14.2
evolution-2.2.1-7.4
multisync-evolution-0.82+cvs-4
multisync-palm-0.82+cvs-4
evolution-pilot-2.2.1-7.4
evolution-data-server-debuginfo-1.2.1-7
evolution-webcal-debuginfo-2.2.0-4
pilot-mailsync-debuginfo-0.8.3-3
pilot-mailsync-gnome-pilot-0.8.3-3.2
evolution-webcal-2.2.0-4
evolution-data-server-1.2.1-7.3
gnome-pilot-debuginfo-2.0.12-14
pilot-mailsync-gnome-pilot-debuginfo-0.8.3-3
> rpm -qi gnome-pilot-2.0.12-14.2
Name        : gnome-pilot                  Relocations: (not
relocatable)
Version     : 2.0.12                            Vendor: SUSE LINUX
Products GmbH, Nuernberg, Germany
Release     : 14.2                          Build Date: Thu 05 May 2005
02:31:53 BST
Install date: Mon 11 Jul 2005 10:35:08 BST      Build Host:
Brenner.suse.de
Group       : System/GUI/GNOME              Source RPM:
gnome-pilot-2.0.12-14.2.src.rpm
Size        : 1691173                          License: GPL
Signature   : DSA/SHA1, Thu 05 May 2005 02:39:03 BST, Key ID
a84edae89c800aca
Packager    : http://www.suse.de/feedback
URL         : http://www.gnome.org
Summary     : GNOME PalmPilot programs
<SNIP>





Debugging Information:

Backtrace was generated from '/opt/gnome/libexec/gpilotd'

(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 1089731424 (LWP 13241)]
[New Thread 1102252976 (LWP 13250)]
[Thread debugging using libthread_db enabled]
[New Thread 1089731424 (LWP 13241)]
[New Thread 1102252976 (LWP 13250)]
[Thread debugging using libthread_db enabled]
[New Thread 1089731424 (LWP 13241)]
[New Thread 1102252976 (LWP 13250)]
[New Thread 1100151728 (LWP 13246)]
0xffffe410 in ?? ()

Thread 1 (Thread 1089731424 (LWP 13241))

  • #0 ??
  • #1 ??
  • #2 ??
  • #3 ??
  • #4 __waitpid_nocancel
    from /lib/tls/libpthread.so.0
  • #5 libgnomeui_segv_handle
    at gnome-ui-init.c line 741
  • #6 <signal handler called>
  • #7 dlp_exec
    at dlp.c line 416
  • #8 dlp_ReadResourceByIndex
    at dlp.c line 2267
  • #9 gnome_real_pilot_conduit_backup_backup
    at backup_conduit.c line 500
  • #10 ___marshal_Sig1
    at gnome-pilot-conduit-backup.c line 88
  • #11 IA__g_closure_invoke
    at gclosure.c line 437
  • #12 signal_emit_unlocked_R
    at gsignal.c line 2485
  • #13 IA__g_signal_emitv
    at gsignal.c line 2156
  • #14 gnome_pilot_conduit_backup_backup
    at gnome-pilot-conduit-backup.c line 373
  • #15 gpilot_synchronize
  • #16 IA__g_list_foreach
    at glist.c line 670
  • #17 gpilot_unload_conduits
  • #18 gpilot_sync_default
  • #19 monitor_channel
  • #20 g_io_unix_dispatch
    at giounix.c line 162
  • #21 IA__g_main_context_dispatch
    at gmain.c line 1947
  • #22 g_main_context_iterate
    at gmain.c line 2578
  • #23 IA__g_main_context_iteration
    at gmain.c line 2637
  • #24 main
  • #0 ??




------- Bug moved to this database by unknown@gnome.bugs 2005-10-28 00:15 UTC -------

Comment 1 Simon Major 2005-10-28 00:38:56 UTC
Repeatable every time the backup conduit is enabled. sync OK with backup disabled.

Therefore changing the component reported to "conduit: backup"

Additional trace for a repeat failed backup (enabled) sync:

Backtrace was generated from '/opt/gnome/libexec/gpilotd'

(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 1089731424 (LWP 6747)]
[New Thread 1102248880 (LWP 6749)]
[Thread debugging using libthread_db enabled]
[New Thread 1089731424 (LWP 6747)]
[New Thread 1102248880 (LWP 6749)]
[Thread debugging using libthread_db enabled]
[New Thread 1089731424 (LWP 6747)]
[New Thread 1102248880 (LWP 6749)]
[New Thread 1100147632 (LWP 6748)]
0xffffe410 in ?? ()

Thread 1 (Thread 1089731424 (LWP 6747))

  • #0 ??
  • #1 ??
  • #2 ??
  • #3 ??
  • #4 __waitpid_nocancel
    from /lib/tls/libpthread.so.0
  • #5 libgnomeui_segv_handle
    at gnome-ui-init.c line 741
  • #6 <signal handler called>
  • #7 dlp_exec
    at dlp.c line 416
  • #8 dlp_ReadResourceByIndex
    at dlp.c line 2267
  • #9 gnome_real_pilot_conduit_backup_backup
    at backup_conduit.c line 500
  • #10 ___marshal_Sig1
    at gnome-pilot-conduit-backup.c line 88
  • #11 IA__g_closure_invoke
    at gclosure.c line 437
  • #12 signal_emit_unlocked_R
    at gsignal.c line 2485
  • #13 IA__g_signal_emitv
    at gsignal.c line 2156
  • #14 gnome_pilot_conduit_backup_backup
    at gnome-pilot-conduit-backup.c line 373
  • #15 gpilot_synchronize
  • #16 IA__g_list_foreach
    at glist.c line 670
  • #17 gpilot_unload_conduits
  • #18 gpilot_sync_default
  • #19 monitor_channel
  • #20 g_io_unix_dispatch
    at giounix.c line 162
  • #21 IA__g_main_context_dispatch
    at gmain.c line 1947
  • #22 g_main_context_iterate
    at gmain.c line 2578
  • #23 IA__g_main_context_iteration
    at gmain.c line 2637
  • #24 main
  • #0 ??

Comment 2 Jon Schewe 2005-10-28 10:32:07 UTC
*** Bug 319306 has been marked as a duplicate of this bug. ***
Comment 3 Dean Sas 2005-11-02 21:40:27 UTC
*** Bug 320457 has been marked as a duplicate of this bug. ***
Comment 4 Simon Major 2005-11-22 02:50:14 UTC
Cross-ref Bug 136010 comment 2 re: 64k comments

http://bugzilla.gnome.org/show_bug.cgi?id=136010#c2
Comment 5 Simon Major 2005-12-07 15:53:11 UTC
I thought I'd try the work around from Veerapuram's bug 317620 comment 1 , so now:

simon@vmcevo2:/home/ses/simon> egrep exclude
$HOME/.gnome2/gnome-pilot.d/backup-conduit
exclude_files=ImgFile-Foto,Jpeg-Foto,J9JavaVMMidp20.prc

(incidentally enabling the conduit via the GUI changed the space delimeter used
in the manual edit to commas)

Try syncing but no joy:

Backtrace was generated from '/opt/gnome/libexec/gpilotd'

(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 1089731424 (LWP 15930)]
[New Thread 1102248880 (LWP 15935)]
[Thread debugging using libthread_db enabled]
[New Thread 1089731424 (LWP 15930)]
[New Thread 1102248880 (LWP 15935)]
[Thread debugging using libthread_db enabled]
[New Thread 1089731424 (LWP 15930)]
[New Thread 1102248880 (LWP 15935)]
[New Thread 1100147632 (LWP 15931)]
0xffffe410 in ?? ()

Thread 1 (Thread 1089731424 (LWP 15930))

  • #0 ??
  • #1 ??
  • #2 ??
  • #3 ??
  • #4 __waitpid_nocancel
    from /lib/tls/libpthread.so.0
  • #5 libgnomeui_segv_handle
    at gnome-ui-init.c line 741
  • #6 <signal handler called>
  • #7 dlp_exec
    at dlp.c line 416
  • #8 dlp_ReadResourceByIndex
    at dlp.c line 2267
  • #9 gnome_real_pilot_conduit_backup_backup
    at backup_conduit.c line 500
  • #10 ___marshal_Sig1
    at gnome-pilot-conduit-backup.c line 88
  • #11 IA__g_closure_invoke
    at gclosure.c line 437
  • #12 signal_emit_unlocked_R
    at gsignal.c line 2485
  • #13 IA__g_signal_emitv
    at gsignal.c line 2156
  • #14 gnome_pilot_conduit_backup_backup
    at gnome-pilot-conduit-backup.c line 373
  • #15 gpilot_synchronize
  • #16 IA__g_list_foreach
    at glist.c line 670
  • #17 gpilot_unload_conduits
  • #18 gpilot_sync_default
  • #19 monitor_channel
  • #20 g_io_unix_dispatch
    at giounix.c line 162
  • #21 IA__g_main_context_dispatch
    at gmain.c line 1947
  • #22 g_main_context_iterate
    at gmain.c line 2578
  • #23 IA__g_main_context_iteration
    at gmain.c line 2637
  • #24 main
  • #0 ??

So back to diabling the backup conduit 8-(
Comment 6 Matt Davey 2006-01-18 10:58:40 UTC
(as commented in bug #136010)

As mentioned in the above bug, this bug is due to pilot-link.  Recent
pl versions 0.12.0pre4+ (?) should be able to deal with large (>64k)
data blocks.  Unfortunately, right now there is no official gnome-pilot
release that works cleanly with pilot-link 0.12.0pre.

It may be worth trying to install the packages by Mark Adams
( http://zeniv.linux.org.uk/pub/people/mark_adams/RPMS/i386/ ).
Note that the gnome-pilot package above should be used with the
pilot-link package used above.... more recent versions may
have problems. 
Comment 7 Matt Davey 2006-02-03 08:35:25 UTC
*** Bug 319294 has been marked as a duplicate of this bug. ***
Comment 8 Matt Davey 2006-02-03 08:52:13 UTC
*** Bug 317614 has been marked as a duplicate of this bug. ***
Comment 9 Simon Major 2006-02-07 12:23:37 UTC
Workaround (correction on comment #5 ):

exclude_files=WiFiCoreLib Shim\\ Logs ImgFile-Foto Jpeg-Foto J9\\ MIDP\\ Bundle J9\\ Java\\ VM

Will get you out of trouble. The above covers all the potential exclusions I could find on google. I suggest this be made a default until there is a real fix.

Note the applet configuration GUI will trash this entry to:

exclude_files=WiFiCoreLib,Shim Logs,ImgFile-Foto,Jpeg-Foto,J9 MIDP Bundle,J9 Java VM

which will do you no good. I shall raise another bug id for glorious GUI

P.S. Matt, I have not tried Mark Adam's code from comment #6

Comment 10 Matt Davey 2006-02-07 13:03:18 UTC
Thanks for the workaround update.  I doubt there will be another official gnome-pilot release until there is a further pilot-link release (but that's only a guess).  In the meantime, your update here becomes a reference.

Please do raise a bug against the gui exclude list.  We could be rude about the GUI, but the most constructive thing is to hack on the code :)
Comment 11 Matt Davey 2006-02-07 14:02:26 UTC
Marking as a duplicate of the earlier #136010

*** This bug has been marked as a duplicate of 136010 ***
Comment 12 Simon Major 2006-02-08 00:55:35 UTC
Cross ref as promised for the GUI bug that breaks the work-around: Bug 330330