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 323754 - rhythmbox crashes while importing files to database
rhythmbox crashes while importing files to database
Status: RESOLVED FIXED
Product: rhythmbox
Classification: Other
Component: general
0.9.x
Other Linux
: Normal major
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-12-10 21:17 UTC by Andreas Kotowicz
Modified: 2006-02-03 18:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
the jpeg file (117.42 KB, image/jpeg)
2005-12-13 18:05 UTC, Andreas Kotowicz
Details

Description Andreas Kotowicz 2005-12-10 21:17:21 UTC
I tried to import some mp3 files from my usb drive and rhythmbox always crashes
after some time. here's the debug output from rhythmbox. seems like it doesn't
like a jpeg file which is in one of the directories - but this shouldn't make rb
 crash, should it? or is it the .MP3 file which makes it crash?

this is rb 0.9.2 btw.


[0x821cd40] [rb_metadata_gst_typefind_cb] rb-metadata-gst.c:467 (22:11:38):
found type application/x-id3
[0x84d4ca0] [queue_stat_uri] rhythmdb.c:1657 (22:11:38): queueing stat for
"file:///media/usbdisk/musik/Audio%20Lotion%20-%20Adelante/ADELANTE%A1/Unknown%20Artist%20-%20Unknown%20Album.pls"
[0x84d4ca0] [queue_stat_uri] rhythmdb.c:1657 (22:11:38): queueing stat for
"file:///media/usbdisk/musik/Audio%20Lotion%20-%20Adelante/ADELANTE%A1/09%20-%20Track%209.MP3"
[0x821cd40] [rb_metadata_gst_load_tag] rb-metadata-gst.c:390 (22:11:38): uri:
file:///media/usbdisk/musik/Queen%20-%20Hot%20Space/04%20Body%20Language.mp3
tag: artist
[0x821cd40] [rb_metadata_gst_load_tag] rb-metadata-gst.c:390 (22:11:38): uri:
file:///media/usbdisk/musik/Queen%20-%20Hot%20Space/04%20Body%20Language.mp3
tag: album
[0x821cd40] [rb_metadata_gst_load_tag] rb-metadata-gst.c:390 (22:11:38): uri:
file:///media/usbdisk/musik/Queen%20-%20Hot%20Space/04%20Body%20Language.mp3
tag: genre
[0x821cd40] [rb_metadata_gst_load_tag] rb-metadata-gst.c:390 (22:11:38): uri:
file:///media/usbdisk/musik/Queen%20-%20Hot%20Space/04%20Body%20Language.mp3
tag: title
[0x821cd40] [rb_metadata_gst_load_tag] rb-metadata-gst.c:390 (22:11:38): uri:
file:///media/usbdisk/musik/Queen%20-%20Hot%20Space/04%20Body%20Language.mp3
tag: track-number
[0x821cd40] [rb_metadata_gst_load_tag] rb-metadata-gst.c:390 (22:11:38): uri:
file:///media/usbdisk/musik/Queen%20-%20Hot%20Space/04%20Body%20Language.mp3
tag: date
[0x821cd40] [rb_metadata_gst_new_decoded_pad_cb] rb-metadata-gst.c:507
(22:11:38): linking new decoded pad of type audio/x-raw-int to fakesink
[0x821cd40] [rb_metadata_gst_load_tag] rb-metadata-gst.c:390 (22:11:38): uri:
file:///media/usbdisk/musik/Queen%20-%20Hot%20Space/04%20Body%20Language.mp3
tag: layer
[0x821cd40] [rb_metadata_gst_load_tag] rb-metadata-gst.c:390 (22:11:38): uri:
file:///media/usbdisk/musik/Queen%20-%20Hot%20Space/04%20Body%20Language.mp3
tag: mode
[0x821cd40] [rb_metadata_gst_load_tag] rb-metadata-gst.c:390 (22:11:38): uri:
file:///media/usbdisk/musik/Queen%20-%20Hot%20Space/04%20Body%20Language.mp3
tag: emphasis
[0x821cd40] [rb_metadata_gst_load_tag] rb-metadata-gst.c:390 (22:11:38): uri:
file:///media/usbdisk/musik/Queen%20-%20Hot%20Space/04%20Body%20Language.mp3
tag: bitrate
[0x821cd40] [rb_metadata_gst_fakesink_handoff_cb] rb-metadata-gst.c:483
(22:11:38): in fakesink handoff
[0x821cd40] [rb_metadata_load] rb-metadata-gst.c:656 (22:11:38): duration query
succeeded
[0x821cd40] [rb_metadata_load] rb-metadata-gst.c:711 (22:11:38): successfully
read metadata for
file:///media/usbdisk/musik/Queen%20-%20Hot%20Space/04%20Body%20Language.mp3
[0x821cd40] [action_thread_main] rhythmdb.c:1802 (22:11:38): executing
RHYTHMDB_ACTION_LOAD for "file:///media/usbdisk/musik/Queen%20-%20Jazz/Cover.jpg"
[0x821cd40] [rb_metadata_load] rb-metadata-gst.c:577 (22:11:38): loading
metadata for uri: file:///media/usbdisk/musik/Queen%20-%20Jazz/Cover.jpg
[0x84d4ca0] [queue_stat_uri] rhythmdb.c:1657 (22:11:38): queueing stat for
"file:///media/usbdisk/musik/Audio%20Lotion%20-%20Adelante/ADELANTE%A1/06%20-%20Track%206.MP3"
[0x821cd40] [rb_metadata_gst_new_decoded_pad_cb] rb-metadata-gst.c:518
(22:11:38): got decoded pad of non-audio type video/x-raw-rgb
[0x821cd40] [rb_metadata_gst_typefind_cb] rb-metadata-gst.c:467 (22:11:38):
found type image/jpeg
Comment 1 James "Doc" Livingston 2005-12-11 12:03:49 UTC
Thanks for the bug report. Without a stack trace from the crash it's very hard
to determine what caused it.

Can you provide us with one? Please see http://live.gnome.org/GettingTraces for
more information on how to do so.
Comment 2 Andreas Kotowicz 2005-12-11 13:18:38 UTC
here's the stack trace:

(gdb) run
Starting program: /usr/bin/rhythmbox
(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)
---Type <return> to continue, or q <return> to quit---
(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 16384 (LWP 20614)]
[New Thread 32769 (LWP 20618)]
[New Thread 16386 (LWP 20619)]
[New Thread 32771 (LWP 20620)]
[New Thread 49156 (LWP 20621)]
[Thread 49156 (LWP 20621) exited]
[New Thread 65540 (LWP 20622)]
[Thread 65540 (LWP 20622) exited]
[New Thread 81924 (LWP 20624)]
[New Thread 98309 (LWP 20625)]
[New Thread 114694 (LWP 20627)]
[Thread 114694 (LWP 20627) exited]
[New Thread 131078 (LWP 20629)]
[Thread 131078 (LWP 20629) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16386 (LWP 20619)]
0xb709185c in memcpy () from /lib/libc.so.6
(gdb) thread apply all bt

Thread 8 (Thread 98309 (LWP 20625))

  • #0 __pthread_sigsuspend
    from /lib/libpthread.so.0
  • #1 __pthread_wait_for_restart_signal
    from /lib/libpthread.so.0
  • #2 pthread_cond_wait
    from /lib/libpthread.so.0
  • #3 pthread_cond_wait
    from /lib/libc.so.6
  • #4 _gnome_vfs_thread_pool_init
    from /usr/lib/libgnomevfs-2.so.0
  • #5 ??
  • #6 ??
  • #7 ??
  • #8 ??
    from /lib/libpthread.so.0
  • #9 g_thread_use_default_impl
    from /usr/lib/libglib-2.0.so.0
  • #10 ??
  • #11 ??
  • #12 pthread_mutex_unlock
    from /lib/libpthread.so.0
  • #13 pthread_mutex_init
    from /lib/libc.so.6
  • #14 ??
  • #15 ??
  • #16 ??
  • #17 ??
  • #18 ??
  • #19 ??
  • #20 ??
  • #21 ??
  • #22 ??
  • #23 ??
  • #24 ??
  • #25 ??
  • #26 ??
  • #27 ??
  • #28 ??
  • #29 ??
  • #30 ??
  • #31 ??
  • #32 ??
  • #33 ??
  • #34 ??
  • #35 ??
  • #36 ??
  • #37 ??
  • #38 ??
  • #39 ??
  • #40 ??
  • #41 ??
  • #42 ??
  • #43 ??
  • #44 ??
  • #45 ??
  • #46 ??
  • #47 ??
  • #48 ??
  • #49 ??
  • #50 ??
  • #51 ??
  • #52 ??

Thread 7 (Thread 81924 (LWP 20624))

  • #0 __pthread_sigsuspend
    from /lib/libpthread.so.0
  • #1 __pthread_wait_for_restart_signal
    from /lib/libpthread.so.0
  • #2 pthread_cond_wait
    from /lib/libpthread.so.0
  • #3 pthread_cond_wait
    from /lib/libc.so.6
  • #4 _gnome_vfs_thread_pool_init
    from /usr/lib/libgnomevfs-2.so.0
  • #5 ??
  • #6 ??
  • #7 ??
  • #8 ??
    from /lib/libpthread.so.0
  • #9 g_thread_use_default_impl
    from /usr/lib/libglib-2.0.so.0
  • #10 ??
  • #11 ??
  • #12 pthread_mutex_unlock
    from /lib/libpthread.so.0
  • #13 pthread_mutex_init
    from /lib/libc.so.6
  • #14 ??
  • #15 ??
  • #16 ??
  • #17 ??
  • #18 ??
  • #19 ??
  • #20 ??
  • #21 ??
  • #22 ??
  • #23 ??
  • #24 ??
  • #25 ??
  • #26 ??
  • #27 ??
  • #28 ??
  • #29 ??
  • #30 ??
  • #31 ??
  • #32 ??
  • #33 ??
  • #34 ??
  • #35 ??
  • #36 ??
  • #37 ??
  • #38 ??
  • #39 ??
  • #40 ??
  • #41 ??
  • #42 ??
  • #43 ??
  • #44 ??
  • #45 ??
  • #46 ??
  • #47 ??
  • #48 ??
  • #49 ??
  • #50 ??
  • #51 ??
  • #52 ??

Comment 3 James "Doc" Livingston 2005-12-12 02:43:54 UTC
The lines
  #0  0xb709185c in memcpy ()
  #1  0xb526c364 in gst_ffmpegcsp_register ()

are very similar to some gstreamer bugs. What version of gst-plugins do you have?


You can probably figure out which file is causing the problem by moving
"/media/usbdisk/musik/Queen - Jazz/Cover.jpg" away and importing, and then try
with "/media/usbdisk/musik/Audio Lotion - Adelante/ADELANTE/06 - Track 6.MP3"
moved away.
Comment 4 Andreas Kotowicz 2005-12-12 16:37:25 UTC
I have gst-plugins 0.8.11 installed. but I found the problem. seems like didn't
have the gst-plugins-jpeg plugin installed. so gstreamer actually didn't know
how to parse the jpeg file. now I installed it and adding the directories to the
database works.
Comment 5 James "Doc" Livingston 2005-12-13 03:01:32 UTC
Good to hear that it works now. In any case gst-ffmpeg shouldn't crash, could
you attach that jpeg to the bug? If the file causes problems with 0.10, I'll
move the bug to gst-ffmpeg.
Comment 6 Andreas Kotowicz 2005-12-13 18:05:40 UTC
Created attachment 55957 [details]
the jpeg file
Comment 7 James "Doc" Livingston 2005-12-19 08:19:14 UTC
The image appears to work fine with ffmpeg in gstreamer 0.10, so I'm closing the bug.
Comment 8 Zaheer Abbas Merali 2006-02-03 18:58:04 UTC
does it still break in gstreamer 0.8 when the jpeg plugin is not installed?

if so this bug shouldnt be closed