I chatted with the app owner of Rhythmbox about this. I was right about
my above patch fixing this bug but re-introducing a different bug. So
ignore that for fixing this.

He says a permanent fix was applied. So looks like Ubuntu's build
grabbed the wrong copy of Rhythmbox's source code. Looks to me like this
fix was put there a while ago. Oops! Badd Ubuntu! It's commit ID
0b3bc7d1b65af0c864a0c0803c026bb8214d71b3 of the official Rhythmbox GIT
repository, applied Nov 29 2012. Just a one line code change.

So here are the steps if you want to pull it into Ubuntu for yourself.
* Command: apt-get source rhythmmbox
(No need to sudo for getting source.)
* Unzip the source to rhythmmbox-2.98.
* Command: cd rhythmmbox-2.98
* Edit file shell/rb-track-transfer-batch.c: modify line 824 where it's setting 
encoding-target, change the G_PARAM_CONSTRUCT_ONLY to G_PARAM_CONSTRUCT.
* Command: ./configure --prefix=/usr
* Command: make
* Command: sudo cp shell/.libs/rhythmbox /usr/bin/

Note, the next update from Ubuntu (hopefully with the fix) should
overwrite when you install like this.

If you don't want to overwrite the Ubuntu installation and instead want it to 
live side-by-side then...
* Don't include --prefix=/usr in the .configure command listed above. Just: 
./configure
* Do this command instead of sudo cp to install it: sudo make install
* At this point you launch it from shell/rhythmbox (in the source directory).
* And when you want to uninstall the side-by-side copy: sudo make uninstall

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to rhythmbox in Ubuntu.
https://bugs.launchpad.net/bugs/1132215

Title:
  rhythmbox crashes when syncing library to ipod

Status in “rhythmbox” package in Ubuntu:
  Confirmed

Bug description:
  Rhythmbox crashes when I try to sync my music with my ipod 5th gen (w/
  video).  I'm running the development release of 13.04, looking for
  bugs and whatnot.  I did not have this problem before with any other
  version of rhythmbox or Ubuntu.

  The error generated is:

  (rhythmbox:4117): GLib-GObject-WARNING **: g_object_set_valist: construct 
property "encoding-target" for object `RBTrackTransferBatch' can't be set after 
construction
  Segmentation fault (core dumped)


  rhythmbox 2.98-0ubuntu3
  Ubuntu 13.04 raring ringtail

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: rhythmbox 2.98-0ubuntu3
  ProcVersionSignature: Ubuntu 3.8.0-7.14-generic 3.8.0
  Uname: Linux 3.8.0-7-generic x86_64
  ApportVersion: 2.8-0ubuntu4
  Architecture: amd64
  Date: Sat Feb 23 13:53:50 2013
  InstallationDate: Installed on 2013-02-10 (12 days ago)
  InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130210)
  MarkForUpload: True
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: rhythmbox
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rhythmbox/+bug/1132215/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to