Orage causes segfault against xfce-mcs-manager on setting
Mickael 'Korbinus' Graf
korbinus at xfce.org
Sat Oct 1 21:13:55 CEST 2005
I updated svn so this warning won't show up. Can you test if the problem
is still there?
Cheers
Mickaël
Daichi Kawahata wrote:
>On Fri, 30 Sep 2005 21:38:20 +0000
>Mickaël Graf wrote:
>
>
>
>>Now I don't have any problem here. How is it for you?
>>
>>
>
>Still there,
>
> (xfce-mcs-manager:5434906): Gtk-CRITICAL **: gtk_entry_set_text: \
> assertion `text != NULL' failed
>
>
>
>>>PS. Please remove po/xfcalendar.pot from repository, orage.pot is
>>>already there.
>>>
>>>
>>I don't find it in trunk.
>>
>>
>
>Removed.
>
>PS. How about attached patch? Leaving name `xfcalendar' is for backward
>compatibility?
>
>Regards,
>
>
>------------------------------------------------------------------------
>
>Index: xfcalendar.desktop.in
>===================================================================
>--- xfcalendar.desktop.in (revision 17931)
>+++ xfcalendar.desktop.in (working copy)
>@@ -3,9 +3,9 @@
> Encoding=UTF-8
> _Name=Xfce Calendar
> _Comment=Desktop calendar
>-Exec=xfcalendar
>+Exec=orage
> Icon=xfcalendar.png
> Terminal=false
> Type=Application
>-Categories=Calendar;
>+Categories=X-XFCE;Calendar;
> _GenericName=Calendar
>
>
>------------------------------------------------------------------------
>
>(gdb) bt
>#0 strlen () at /xlv46/6.5.22m/work/irix/lib/libc/libc_n32_M4/strings/strlen.s:58
>#1 0x5f980250 in _g_gnulib_vasnprintf (resultbuf=0x0, lengthp=0x7ffb73e0, format=0x0, args=0x10079280 "") at vasnprintf.c:546
>#2 0x5f981690 in _g_gnulib_vasprintf (result=0x7ffb7430, format=0x7ffb7030 "", args=0x73 <Address 0x73 out of bounds>) at printf.c:144
>#3 0x5f97c2b8 in g_vasprintf (string=0x7ffb7430, format=0x7ffb7030 "", args=0x6 <Address 0x6 out of bounds>) at gprintf.c:307
>#4 0x5f966ab8 in g_strdup_vprintf (format=0x7ffb73e0 "", args=0x6 <Address 0x6 out of bounds>) at gstrfuncs.c:188
>#5 0x5f952e18 in g_logv (log_domain=0x0, log_level=2147184688, format=0x40b2598 "Sound application to be displayed: %s\n", args1=0x7ffb7908 "")
> at gmessages.c:472
>#6 0x5f9530d8 in g_log (log_domain=0x7ffb73e0 "", log_level=0, format=0x7ffb7908 "") at gmessages.c:517
>#7 0x0409f090 in create_xfcalendar_dialog (mcs_plugin=0x100e3090) at xfcalendar_plugin.c:501
>#8 0x0409fec4 in run_dialog (mcs_plugin=0x100e3090) at xfcalendar_plugin.c:687
>#9 0x5ffe3a28 in mcs_manager_process_event (manager=0x1002d9f0, xev=0x7ffb7b80) at mcs-manager.c:456
>#10 0x10003d04 in manager_event_filter (xevent=0x0, event=0x0, data=0x7ffb7908) at xfce-mcs-manager.c:266
>#11 0x5fb46150 in gdk_event_apply_filters (xevent=0x7ffb7b80, event=0x100f36d0, filters=0x7ffb7908) at gdkevents-x11.c:328
>#12 0x5fb46c68 in gdk_event_translate (display=0x10027380, event=0x100f36d0, xevent=0x7ffb7b80, return_exposes=0) at gdkevents-x11.c:874
>#13 0x5fb48a60 in _gdk_events_queue (display=0x10027380) at gdkevents-x11.c:2225
>#14 0x5fb48ca0 in gdk_event_dispatch (source=0x10003c80, callback=0, user_data=0x7ffb7908) at gdkevents-x11.c:2285
>#15 0x5f946894 in g_main_context_dispatch (context=0x1002bbc0) at gmain.c:1934
>#16 0x5f94afe4 in g_main_context_iterate (context=0x1002bbc0, block=1, dispatch=1, self=0x0) at gmain.c:2565
>#17 0x5f94b56c in g_main_loop_run (loop=0x100e9160) at gmain.c:2769
>#18 0x5fd40e54 in gtk_main () at gtkmain.c:976
>#19 0x10003fd8 in main (argc=1, argv=0x7ffb7e84) at xfce-mcs-manager.c:418
>(gdb) f 7
>#7 0x0409f090 in create_xfcalendar_dialog (mcs_plugin=0x100e3090) at xfcalendar_plugin.c:501
>501 g_warning("Sound application to be displayed: %s\n", sound_application);
>(gdb) info locals
>dialog = (Itf *) 0x100ae0c0
>(gdb) list
>496 gtk_table_attach (GTK_TABLE (dialog->sound_tab_table)
>497 , dialog->sound_application_entry, 1, 2, 0, 1
>498 , (GtkAttachOptions) (GTK_EXPAND | GTK_FILL)
>499 , (GtkAttachOptions) (0), 0, 0);
>500
>501 g_warning("Sound application to be displayed: %s\n", sound_application);
>502 gtk_entry_set_text(GTK_ENTRY(dialog->sound_application_entry), (const gchar *)sound_application);
>503 /* */
>504 dialog->close_button = gtk_button_new_from_stock ("gtk-close");
>505 gtk_widget_show (dialog->close_button);
>(gdb) f 8
>#8 0x0409fec4 in run_dialog (mcs_plugin=0x100e3090) at xfcalendar_plugin.c:687
>687 dialog = create_xfcalendar_dialog(mcs_plugin);
>(gdb) info locals
>dialog = (Itf *) 0x0
>(gdb) list
>682
>683 is_running = TRUE;
>684
>685 xfce_textdomain(GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR, "UTF-8");
>686
>687 dialog = create_xfcalendar_dialog(mcs_plugin);
>688 setup_dialog(dialog);
>689 }
>690
>691 /* macro defined in manager-plugin.h */
>(gdb) f 9
>#9 0x5ffe3a28 in mcs_manager_process_event (manager=0x1002d9f0, xev=0x7ffb7b80) at mcs-manager.c:456
>456 manager->show (data, manager->cb_data);
>(gdb) info locals
>type = 511
>format = 8
>n_items = 5
>bytes_after = 0
>data = (guchar *) 0x1003c640 "orage"
>screen = 0
>__PRETTY_FUNCTION__ = "mcs_manager_process_event"
>(gdb) list
>451 manager->mcs_windows[screen], manager->show_atom, 0, LONG_MAX, FALSE, manager->show_atom, &type, &format, &n_items, &bytes_after, &data);
>452
>453 if (result == Success)
>454 {
>455 if (type == manager->show_atom && manager->show)
>456 manager->show (data, manager->cb_data);
>457
>458 XFree (data);
>459 return True;
>460 }
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Xfce4-dev mailing list
>Xfce4-dev at xfce.org
>http://foo-projects.org/mailman/listinfo/xfce4-dev
>
More information about the Xfce4-dev
mailing list