! 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 !
xfce4-session crashes at startup if session-screenshot is enabled
Status:
RESOLVED: MOVED
Product:
Xfce4-session
Component:
General

Comments

Description Landry Breuil editbugs 2010-11-27 17:25:22 CET
bt:
#0  0x00000002111e9924 in strlen () from /usr/lib/libc.so.58.0
#1  0x0000000200fabc84 in g_strconcat () from /usr/local/lib/libglib-2.0.so.2600.0
#2  0x000000000010fb18 in xfsm_load_session_preview (name=0x212b725f0 "Default") at xfsm-global.c:154
#3  0x0000000000112380 in xfsm_manager_restart (manager=0x205f5a030) at xfsm-manager.c:764
#4  0x000000000010a1f0 in main (argc=1, argv=0xffffffffffff82e8) at main.c:265


#2  0x000000000010fb18 in xfsm_load_session_preview (name=0x212b725f0 "Default") at xfsm-global.c:154
154       resource = g_strconcat ("sessions/thumbs-", display_name,
(gdb) p display_name
$2 = (gchar *) 0x13176ae0 <Address 0x13176ae0 out of bounds>

152       display = gdk_display_get_default ();
153       display_name = xfsm_gdk_display_get_fullname (display);

for some reason display_name contains garbage, and code doesn't check for it.

solution.. either fix the code, or disable/remove it, as some consider it has security concerns...
Comment 1 Nick Schermer editbugs 2011-01-02 20:07:52 CET
what is your hostname and display name ($DISPLAY and hostname)?
Comment 2 Git Bot editbugs 2020-05-26 00:41:49 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfce4-session/-/issues/4.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #6885

Reported by:
Landry Breuil
Reported on: 2010-11-27
Last modified on: 2020-05-26

People

Assignee:
Xfce Bug Triage
CC List:
2 users

Version

Attachments

Additional information