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 350304 - handle databases and playlists from the future gracefully
handle databases and playlists from the future gracefully
Status: RESOLVED OBSOLETE
Product: rhythmbox
Classification: Other
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
: 350657 350765 351754 352511 354524 354593 355374 355527 356385 357304 360113 361419 362269 362296 364819 374465 375212 378029 378044 378045 379202 380430 382806 384159 389334 389660 390546 391225 391227 391228 391230 391232 391234 391239 391260 391420 391760 391761 392156 392637 392954 394936 397289 397718 401238 401359 402615 403442 404084 404974 406517 406578 407499 407889 414037 414302 418196 418312 418313 420061 421795 427555 429301 431646 433464 436973 437773 444794 447693 448744 449345 450239 455394 459865 474186 484352 492436 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-08-07 16:37 UTC by Baptiste Mille-Mathias
Modified: 2009-05-03 21:37 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
patch? (5.45 KB, patch)
2006-08-30 13:17 UTC, Jonathan Matthew
committed Details | Review

Description Baptiste Mille-Mathias 2006-08-07 16:37:18 UTC
What were you doing when the application crashed?
Just ran rhythmbox-client from cvs snapshot of toaday (7 Aug 06)


Distribution: Ubuntu 6.10 (edgy)
Gnome Release: 2.15.90 2006-07-24 (Ubuntu)
BugBuddy Version: 2.15.90

Memory status: size: 62418944 vsize: 0 resident: 62418944 share: 0 rss: 22396928 rss_rlim: 0
CPU usage: start_time: 1154968585 rtime: 0 utime: 158 stime: 0 cutime:145 cstime: 0 timeout: 13 it_real_value: 0 frequency: 6

Backtrace was generated from '/usr/bin/rhythmbox'

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1209075520 (LWP 22050)]
[New Thread -1230668896 (LWP 22060)]
(no debugging symbols found)
0xffffe410 in __kernel_vsyscall ()

Thread 2 (Thread -1230668896 (LWP 22060))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/tls/i686/cmov/libpthread.so.0
  • #2 gnome_gtk_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #3 <signal handler called>
  • #4 __kernel_vsyscall
  • #5 raise
    from /lib/tls/i686/cmov/libc.so.6
  • #6 abort
    from /lib/tls/i686/cmov/libc.so.6
  • #7 IA__g_logv
  • #8 IA__g_log
  • #9 IA__g_assert_warning
    at gmessages.c line 552
  • #10 rhythmdb_tree_new
  • #11 xmlParseStartTag
    from /usr/lib/libxml2.so.2
  • #12 xmlParseElement
    from /usr/lib/libxml2.so.2
  • #13 xmlParseDocument
    from /usr/lib/libxml2.so.2
  • #14 rhythmdb_tree_new
  • #15 rhythmdb_load
  • #16 g_thread_create_proxy
    at gthread.c line 553
  • #17 start_thread
    from /lib/tls/i686/cmov/libpthread.so.0
  • #18 clone
    from /lib/tls/i686/cmov/libc.so.6

Comment 1 Jonathan Matthew 2006-08-07 21:38:51 UTC
The only g_assert_not_reached checks I can see in rhythmdb_tree_parser_start_element are related to the version number in rhythmdb.xml.  What does 'head -n 3 ~/.gnome2/rhythmbox/rhythmdb.xml' say?
Comment 2 Baptiste Mille-Mathias 2006-08-08 18:37:26 UTC
(((baptiste@linbox)))-> head -n 3 ~/.gnome2/rhythmbox/rhythmdb.xml
<?xml version="1.0" standalone="yes"?>
<rhythmdb version="1.3">
  <entry type="song">
Comment 3 James "Doc" Livingston 2006-08-09 14:22:04 UTC
Did this occur when you ran rhythmbox-client without RB already running, and with an un-installed build or non /usr prefix?

If so this was caused by
1) rhythmbox-client attemps to laod RB if it's not already running
2) the dbus service file installed under /lib was from your distro-installed version of RB, so it started that
3) RB doesn't like encoutnering rhythmdb.xml files newer than it understands, causing the assertion.


We should handle this better, which probably means displaying an error dialog and then quitting.
Comment 4 James "Doc" Livingston 2006-08-11 04:09:23 UTC
*** Bug 350765 has been marked as a duplicate of this bug. ***
Comment 5 James "Doc" Livingston 2006-08-15 15:26:57 UTC
*** Bug 350657 has been marked as a duplicate of this bug. ***
Comment 6 Matthew Wire 2006-08-17 13:46:23 UTC
*** Bug 351754 has been marked as a duplicate of this bug. ***
Comment 7 Jonathan Matthew 2006-08-23 13:46:19 UTC
*** Bug 352511 has been marked as a duplicate of this bug. ***
Comment 8 Jonathan Matthew 2006-08-30 13:17:45 UTC
Created attachment 71901 [details] [review]
patch?

this just throws up an error dialog when an unsupported database version is read, then disables saving so it won't destroy the database on shutdown.
Comment 9 Karsten Bräckelmann 2006-09-05 22:13:40 UTC
*** Bug 354524 has been marked as a duplicate of this bug. ***
Comment 10 Alex Lancaster 2006-09-06 10:52:22 UTC
*** Bug 354593 has been marked as a duplicate of this bug. ***
Comment 11 Jonathan Matthew 2006-09-11 08:55:32 UTC
*** Bug 355374 has been marked as a duplicate of this bug. ***
Comment 12 Alex Lancaster 2006-09-12 09:29:01 UTC
*** Bug 355527 has been marked as a duplicate of this bug. ***
Comment 13 Karsten Bräckelmann 2006-09-17 12:49:56 UTC
*** Bug 356385 has been marked as a duplicate of this bug. ***
Comment 14 James "Doc" Livingston 2006-09-20 09:36:56 UTC
Looks fine to me.

I think that in all the db upgrades so far except one, older versions would have handled it fine - adding new metadata and/or URI canonicalisation. Perhaps we should have a "load anyway" option.
Comment 15 Jonathan Matthew 2006-09-20 22:56:30 UTC
I've committed the patch, but I think there's still more to do.  I'm downgrading the severity.
Comment 16 Alex Lancaster 2006-09-23 10:13:33 UTC
*** Bug 357304 has been marked as a duplicate of this bug. ***
Comment 17 André Klapper 2006-10-06 10:17:49 UTC
*** Bug 360113 has been marked as a duplicate of this bug. ***
Comment 18 André Klapper 2006-10-06 10:18:15 UTC
confirming as we have lots of duplicates...
Comment 19 Jonathan Matthew 2006-10-11 13:01:00 UTC
*** Bug 361419 has been marked as a duplicate of this bug. ***
Comment 20 Jonathan Matthew 2006-10-15 02:43:43 UTC
*** Bug 362269 has been marked as a duplicate of this bug. ***
Comment 21 Jonathan Matthew 2006-10-15 06:22:23 UTC
*** Bug 362296 has been marked as a duplicate of this bug. ***
Comment 22 Baptiste Mille-Mathias 2006-10-24 21:04:55 UTC
*** Bug 364819 has been marked as a duplicate of this bug. ***
Comment 23 Jonathan Matthew 2006-11-12 21:54:30 UTC
*** Bug 374465 has been marked as a duplicate of this bug. ***
Comment 24 Jonathan Matthew 2006-11-14 22:59:38 UTC
*** Bug 375212 has been marked as a duplicate of this bug. ***
Comment 25 Jonathan Matthew 2006-11-14 23:03:11 UTC
We also need to handle playlist files from the future.  Currently, an auto playlist using a property or comparison operator that was added in a future version will cause an assertion failure in rhythmdb_query_deserialize.
Comment 26 Jonathan Matthew 2006-11-22 08:05:24 UTC
*** Bug 378029 has been marked as a duplicate of this bug. ***
Comment 27 Jonathan Matthew 2006-11-22 08:36:29 UTC
*** Bug 378044 has been marked as a duplicate of this bug. ***
Comment 28 Jonathan Matthew 2006-11-22 08:37:31 UTC
*** Bug 378045 has been marked as a duplicate of this bug. ***
Comment 29 Jonathan Matthew 2006-11-25 20:47:44 UTC
*** Bug 379202 has been marked as a duplicate of this bug. ***
Comment 30 Jonathan Matthew 2006-11-29 09:47:23 UTC
*** Bug 380430 has been marked as a duplicate of this bug. ***
Comment 31 Christian Kirbach 2006-12-05 23:14:54 UTC
*** Bug 382806 has been marked as a duplicate of this bug. ***
Comment 32 Jonathan Matthew 2006-12-12 02:42:53 UTC
*** Bug 384159 has been marked as a duplicate of this bug. ***
Comment 33 Alex Lancaster 2006-12-25 03:12:44 UTC
*** Bug 389334 has been marked as a duplicate of this bug. ***
Comment 34 Alex Lancaster 2006-12-26 18:47:44 UTC
*** Bug 389660 has been marked as a duplicate of this bug. ***
Comment 35 Alex Lancaster 2006-12-29 04:21:31 UTC
*** Bug 390546 has been marked as a duplicate of this bug. ***
Comment 36 Alex Lancaster 2006-12-31 09:08:30 UTC
*** Bug 391225 has been marked as a duplicate of this bug. ***
Comment 37 Alex Lancaster 2006-12-31 09:08:52 UTC
*** Bug 391227 has been marked as a duplicate of this bug. ***
Comment 38 Alex Lancaster 2006-12-31 09:09:36 UTC
*** Bug 391228 has been marked as a duplicate of this bug. ***
Comment 39 Alex Lancaster 2006-12-31 09:09:52 UTC
*** Bug 391230 has been marked as a duplicate of this bug. ***
Comment 40 Alex Lancaster 2006-12-31 09:10:01 UTC
*** Bug 391232 has been marked as a duplicate of this bug. ***
Comment 41 Alex Lancaster 2006-12-31 09:10:11 UTC
*** Bug 391234 has been marked as a duplicate of this bug. ***
Comment 42 Alex Lancaster 2006-12-31 13:09:59 UTC
*** Bug 391239 has been marked as a duplicate of this bug. ***
Comment 43 Alex Lancaster 2006-12-31 13:10:48 UTC
*** Bug 391260 has been marked as a duplicate of this bug. ***
Comment 44 Alex Lancaster 2007-01-01 12:51:27 UTC
*** Bug 391420 has been marked as a duplicate of this bug. ***
Comment 45 Jonathan Matthew 2007-01-02 10:03:48 UTC
*** Bug 391760 has been marked as a duplicate of this bug. ***
Comment 46 Jonathan Matthew 2007-01-02 10:05:19 UTC
*** Bug 391761 has been marked as a duplicate of this bug. ***
Comment 47 Jonathan Matthew 2007-01-03 22:11:02 UTC
*** Bug 392156 has been marked as a duplicate of this bug. ***
Comment 48 Alex Lancaster 2007-01-05 08:15:03 UTC
*** Bug 392637 has been marked as a duplicate of this bug. ***
Comment 49 Alex Lancaster 2007-01-05 08:19:46 UTC
*** Bug 392954 has been marked as a duplicate of this bug. ***
Comment 50 Jonathan Matthew 2007-01-10 22:10:25 UTC
*** Bug 394936 has been marked as a duplicate of this bug. ***
Comment 51 Jonathan Matthew 2007-01-16 21:30:04 UTC
*** Bug 397289 has been marked as a duplicate of this bug. ***
Comment 52 Jonathan Matthew 2007-01-17 20:35:11 UTC
*** Bug 397718 has been marked as a duplicate of this bug. ***
Comment 53 Alex Lancaster 2007-01-27 07:38:37 UTC
*** Bug 401238 has been marked as a duplicate of this bug. ***
Comment 54 André Klapper 2007-01-29 02:35:41 UTC
*** Bug 401359 has been marked as a duplicate of this bug. ***
Comment 55 Alex Lancaster 2007-01-31 10:13:26 UTC
*** Bug 402615 has been marked as a duplicate of this bug. ***
Comment 56 James "Doc" Livingston 2007-02-02 10:25:32 UTC
*** Bug 403442 has been marked as a duplicate of this bug. ***
Comment 57 Jonathan Matthew 2007-02-04 02:19:00 UTC
*** Bug 404084 has been marked as a duplicate of this bug. ***
Comment 58 Alex Lancaster 2007-02-07 08:38:59 UTC
*** Bug 404974 has been marked as a duplicate of this bug. ***
Comment 59 Christian Kirbach 2007-02-10 21:46:35 UTC
*** Bug 406517 has been marked as a duplicate of this bug. ***
Comment 60 Christian Kirbach 2007-02-11 11:14:20 UTC
*** Bug 406578 has been marked as a duplicate of this bug. ***
Comment 61 Alex Lancaster 2007-02-13 16:13:42 UTC
*** Bug 407499 has been marked as a duplicate of this bug. ***
Comment 62 Alex Lancaster 2007-02-14 15:24:35 UTC
*** Bug 407889 has been marked as a duplicate of this bug. ***
Comment 63 Alex Lancaster 2007-03-03 01:22:00 UTC
*** Bug 414037 has been marked as a duplicate of this bug. ***
Comment 64 Alex Lancaster 2007-03-04 02:38:56 UTC
*** Bug 414302 has been marked as a duplicate of this bug. ***
Comment 65 Alex Lancaster 2007-03-14 13:01:16 UTC
*** Bug 418196 has been marked as a duplicate of this bug. ***
Comment 66 Alex Lancaster 2007-03-15 23:35:53 UTC
*** Bug 418312 has been marked as a duplicate of this bug. ***
Comment 67 Alex Lancaster 2007-03-15 23:36:05 UTC
*** Bug 418313 has been marked as a duplicate of this bug. ***
Comment 68 Alex Lancaster 2007-03-20 09:06:01 UTC
*** Bug 420061 has been marked as a duplicate of this bug. ***
Comment 69 Alex Lancaster 2007-03-26 03:09:02 UTC
*** Bug 421795 has been marked as a duplicate of this bug. ***
Comment 70 Pascal Terjan 2007-04-09 20:37:00 UTC
*** Bug 427555 has been marked as a duplicate of this bug. ***
Comment 71 Pascal Terjan 2007-04-13 14:35:11 UTC
*** Bug 429301 has been marked as a duplicate of this bug. ***
Comment 72 James "Doc" Livingston 2007-04-20 12:13:15 UTC
*** Bug 431646 has been marked as a duplicate of this bug. ***
Comment 73 palfrey 2007-04-26 16:45:10 UTC
*** Bug 433464 has been marked as a duplicate of this bug. ***
Comment 74 Jonathan Matthew 2007-05-08 21:54:51 UTC
*** Bug 436973 has been marked as a duplicate of this bug. ***
Comment 75 Jonathan Matthew 2007-05-11 21:38:32 UTC
*** Bug 437773 has been marked as a duplicate of this bug. ***
Comment 76 Jonathan Matthew 2007-06-15 08:48:51 UTC
*** Bug 447693 has been marked as a duplicate of this bug. ***
Comment 77 Jonathan Matthew 2007-06-15 11:56:21 UTC
*** Bug 444794 has been marked as a duplicate of this bug. ***
Comment 78 Jonathan Matthew 2007-06-18 21:44:29 UTC
*** Bug 448744 has been marked as a duplicate of this bug. ***
Comment 79 Jonathan Matthew 2007-06-20 21:49:11 UTC
*** Bug 449345 has been marked as a duplicate of this bug. ***
Comment 80 Jonathan Matthew 2007-06-23 01:03:50 UTC
*** Bug 450239 has been marked as a duplicate of this bug. ***
Comment 81 Jonathan Matthew 2007-07-10 09:23:51 UTC
*** Bug 455394 has been marked as a duplicate of this bug. ***
Comment 82 Jonathan Matthew 2007-07-24 23:36:52 UTC
*** Bug 459865 has been marked as a duplicate of this bug. ***
Comment 83 Jonathan Matthew 2007-09-09 04:51:21 UTC
*** Bug 474186 has been marked as a duplicate of this bug. ***
Comment 84 Jonathan Matthew 2007-10-09 10:55:10 UTC
*** Bug 484352 has been marked as a duplicate of this bug. ***
Comment 85 Jonathan Matthew 2007-11-10 09:47:57 UTC
*** Bug 492436 has been marked as a duplicate of this bug. ***
Comment 86 André Klapper 2009-05-03 21:37:02 UTC
No duplicates for 18 months now.

=> Closing as OBSOLETE.