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 678717 - Configuration option to get the X server to dump core
Configuration option to get the X server to dump core
Status: RESOLVED FIXED
Product: gdm
Classification: Core
Component: general
3.4.x
Other Linux
: Normal enhancement
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks:
 
 
Reported: 2012-06-24 15:50 UTC by Josselin Mouette
Modified: 2012-06-25 18:10 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
New option: debug/XserverDumpCore (2.45 KB, patch)
2012-06-24 15:50 UTC, Josselin Mouette
rejected Details | Review

Description Josselin Mouette 2012-06-24 15:50:17 UTC
Created attachment 217127 [details] [review]
New option: debug/XserverDumpCore

One of the most widespread (and legitimate) use of fiddling with the X server path or arguments is to pass it -core so that it is possible to debug it without a remote machine.

Hence this proposal for a simple configuration option that passes -core to the X server command.
Comment 1 Ray Strode [halfline] 2012-06-25 16:25:04 UTC
Would you be okay with adding this option unconditionally when debug is enabled instead of having a separate option ?
Comment 2 Josselin Mouette 2012-06-25 17:02:11 UTC
(In reply to comment #1)
> Would you be okay with adding this option unconditionally when debug is enabled
> instead of having a separate option ?

This was my original idea, but then I thought debugging the X server and the display manager are different things.

In any case that would be perfectly fine with me.
Comment 3 Ray Strode [halfline] 2012-06-25 17:54:07 UTC
well, we already add -logverbose 7 to the Xorg command line when debug is enabled, and this feels like it's a similar sort of the thing.
Comment 4 Josselin Mouette 2012-06-25 18:10:15 UTC
Thanks.