! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Xfmedia crashes when --enqueue --autoplay
Status:
RESOLVED: INVALID
Severity:
critical
Product:
Xfmedia
Component:
general

Comments

Description Bernhard Walle 2005-02-14 14:58:16 CET
Xfmedia crashes when try to remote control it.

Reproducible: Always
Steps to Reproduce:
1. Start xfmedia. Don't play.
2. Run "xfmedia --autoplay --enqueue http://www.radio.cz/mp3/DE/DE050204-13.mp3"
3. Crash.

Actual Results:  
Crash.

Expected Results:  
No crash.

#0  0x4005da66 in exo_pango_layout_set_text_ellipsized (layout=0x8ea8240,
string=0x0, width=402,
    mode=EXO_PANGO_ELLIPSIZE_END) at exo-pango-extensions.c:238
#1  0x40053238 in exo_cell_renderer_ellipsized_text_render (cell=0x8ca2dd8,
window=0x8e9d5e8,
    widget=0x8c9ad78, background_area=0xbfffe370, cell_area=0xbfffe380,
expose_area=0xbfffe390,
    flags=0) at exo-cell-renderer-ellipsized-text.c:479
#2  0x401116a0 in gtk_cell_renderer_render () from
/opt/gnome/lib/libgtk-x11-2.0.so.0
#3  0x402b207c in gtk_tree_view_column_cell_process_action ()
   from /opt/gnome/lib/libgtk-x11-2.0.so.0
#4  0x402b2c0f in _gtk_tree_view_column_cell_render () from
/opt/gnome/lib/libgtk-x11-2.0.so.0
#5  0x402ac8b7 in gtk_tree_view_expose () from /opt/gnome/lib/libgtk-x11-2.0.so.0
#6  0x401c9fa4 in _gtk_marshal_BOOLEAN__BOXED () from
/opt/gnome/lib/libgtk-x11-2.0.so.0
#7  0x406c58e7 in g_type_class_meta_marshal () from
/opt/gnome/lib/libgobject-2.0.so.0
#8  0x406c5bfb in g_closure_invoke () from /opt/gnome/lib/libgobject-2.0.so.0
#9  0x406d73f6 in signal_emit_unlocked_R () from /opt/gnome/lib/libgobject-2.0.so.0
#10 0x406d83f6 in g_signal_emit_valist () from /opt/gnome/lib/libgobject-2.0.so.0
#11 0x406d89b2 in g_signal_emit () from /opt/gnome/lib/libgobject-2.0.so.0
#12 0x402c1d64 in gtk_widget_event_internal () from
/opt/gnome/lib/libgtk-x11-2.0.so.0
#13 0x401c3ac9 in gtk_main_do_event () from /opt/gnome/lib/libgtk-x11-2.0.so.0
#14 0x403bb167 in gdk_window_process_updates_internal () from
/opt/gnome/lib/libgdk-x11-2.0.so.0
#15 0x403bb327 in gdk_window_process_all_updates () from
/opt/gnome/lib/libgdk-x11-2.0.so.0
#16 0x401412aa in gtk_container_idle_sizer () from
/opt/gnome/lib/libgtk-x11-2.0.so.0
#17 0x4075d0a1 in g_idle_dispatch () from /opt/gnome/lib/libglib-2.0.so.0
#18 0x4075ed17 in g_main_context_dispatch () from /opt/gnome/lib/libglib-2.0.so.0
#19 0x40761467 in g_main_context_iterate () from /opt/gnome/lib/libglib-2.0.so.0
#20 0x40762677 in g_main_loop_run () from /opt/gnome/lib/libglib-2.0.so.0
#21 0x401c3e43 in gtk_main () from /opt/gnome/lib/libgtk-x11-2.0.so.0
#22 0x080600e4 in main (argc=1, argv=0xbfffedd4) at main.c:536
Comment 1 Brian J. Tarricone (not reading bugmail) 2005-02-15 01:03:17 CET
Benny, any idea on this one?  I haven't yet looked into it, but it appears
libexo is barfing on a NULL string in the pango ellipsising stuff.  Up to you to
decide if it should care.
Comment 2 Benedikt Meurer editbugs 2005-02-15 08:46:11 CET
Yep, should be fixed now.
Comment 3 Brian J. Tarricone (not reading bugmail) 2005-02-15 18:25:03 CET
Thanks Benny.  Anything I can/should do to work around it until the new code is
released?
Comment 5 Brian J. Tarricone (not reading bugmail) 2005-02-15 18:54:00 CET
I meant more along the lines of something I can do in xfmedia to make sure the
condition isn't triggered.  A diff from svn isn't too useful to end-users...
Comment 6 Benedikt Meurer editbugs 2005-02-15 19:39:52 CET
Ah, you removed libexo-lite from xfmedia CVS! That explains the problem.

So, first, for the quick-fix: Make sure that the text cell is never NULL.

Next, for libexo: My plan was to do a new major release - 0.3 - during the
month, with atleast the D-BUS dependency stripped off (because of the 0.23 to
0.31 breakage, and havocs plans of further breakage), and probably remove some
other unused stuff as well. So, if Xfmedia 0.7.0 can wait another 1-2 weeks, it
can depend on exo-0.3 which includes the fix (or I can do a quick release of the
0.2 branch now, if needed).
Comment 7 Brian J. Tarricone (not reading bugmail) 2005-02-15 19:43:38 CET
Ah right, I forgot that I haven't done a release in a while, and I started
depending on libexo rather quietly ^_~.

Anyway, it can wait until libexo 0.3.  I've been intending to release 0.7.0 for
a couple weeks now, but I realise I have at least a couple more weeks (at this
point) of work on it before I'll be happy with it.  Thanks Benny.

Bug #768

Reported by:
Bernhard Walle
Reported on: 2005-02-14
Last modified on: 2005-02-15

People

Assignee:
Brian J. Tarricone (not reading bugmail)
CC List:
1 user

Version

Version:
0.7.0cvs

Attachments

Additional information