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 629194 - wnck.screen_get_default() cores when run from remote terminal
wnck.screen_get_default() cores when run from remote terminal
Status: RESOLVED OBSOLETE
Product: libwnck
Classification: Core
Component: general
unspecified
Other Solaris
: Normal normal
: ---
Assigned To: libwnck maintainers
libwnck maintainers
Depends on:
Blocks:
 
 
Reported: 2010-09-09 17:13 UTC by Brian Nitz
Modified: 2018-01-24 13:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Brian Nitz 2010-09-09 17:13:11 UTC
To reproduce:

bash-4.0$ python
Python 2.6.4 (r264:75706, Aug 16 2010, 16:36:38) [C] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> import wnck
/usr/lib/python2.6/vendor-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)

** (.:4024): WARNING **: Trying to register gtype 'WnckWindowState' as enum when in fact it is of type 'GFlags'

** (.:4024): WARNING **: Trying to register gtype 'WnckWindowActions' as enum when in fact it is of type 'GFlags'

** (.:4024): WARNING **: Trying to register gtype 'WnckWindowMoveResizeMask' as enum when in fact it is of type 'GFlags'
>>> wnck.screen_get_default()
Segmentation Fault (core dumped)
-bash-4.0$ pstack core
core 'core' of 4024:    python
 fea89ed7 wnck_screen_get_default (14f, 0, 80479d8, fed590c0, 0, 0) + 1b
 feae9a80 _wrap_wnck_screen_get_default (0, 0, 80479d8, fed58d92) + 18
 fed590c0 call_function (8047a4c, 0, 8047a28, fed53206) + 33c
 fed56221 PyEval_EvalFrameEx (8417194, 0, 80941c4, 80941c4) + 3029
   [ <stdin>:1 (<module>) ]
 fed57cd0 PyEval_EvalCodeEx (8098770, 80941c4, 80941c4, 0, 0, 0) + 91c
 fed53102 PyEval_EvalCode (8098770, 80941c4, 80941c4, 80a39c8) + 32
 fed781ae run_mod  (81556b8, fee02184, 80941c4, 80941c4, 8047cac) + 3a
 fed76f72 PyRun_InteractiveOneFlags (fef737f8, fee02184, 8047cac, fed76c66) + 216
 fed76d46 PyRun_InteractiveLoopFlags (fef737f8, fee02184, 8047cac, fed76be6) + ee
 fed76c1c PyRun_AnyFileExFlags (fef737f8, fee02184, 0, 8047cac) + 44
 fed85694 Py_Main  (1, 8047dbc, feef4785, 8050b88, 10000, 0) + a94
 08050bdf main     (1, 8047dbc, 8047dc4, feffb8f4) + 63
 08050aed _start   (1, 8047e70, 0, 8047e77, 8047e82, 8047e92) + 7d
Comment 1 Christian Persch 2010-09-09 19:22:10 UTC

*** This bug has been marked as a duplicate of bug 590534 ***
Comment 2 Nagappan Alagappan 2010-09-09 19:53:44 UTC
Hello Christian,

I don't think this bug is dupe of bug #590534. I see a core dump in this bug, but I don't see any on the other bug. Setting back to Unconfirmed state.

Thanks
Comment 3 GNOME Infrastructure Team 2018-01-24 13:49:56 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME'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.gnome.org/GNOME/libwnck/issues/121.