For a more comprehensive fix that catches all the cases where warning
are generated when the global intrepreter lock has been released and
_PyThreadState_Current set to NULL, you can try the following patch to
pygobject-2.
--- pygobject-2-2.28.6.orig/gobject/gobjectmodule.c
+++ pygobject-2-2.28.6/gobject/gobjectmodule.c
@@ -2307,7 +2307,7 @@ _log_func(const gchar *log_domain,
const gchar *message,
gpointer user_data)
{
- if (G_LIKELY(Py_IsInitialized()))
+ if (G_LIKELY(Py_IsInitialized()) && (NULL != _PyThreadState_Current))
{
PyGILState_STATE state;
PyObject* warning = user_data;
This seems a bit like wallpapering over the cracks, but it was the
simplest fix I could come up with.
Roger
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pygobject-2 in Ubuntu.
https://bugs.launchpad.net/bugs/860680
Title:
systray.py crashed with SIGSEGV
Status in HP Linux Imaging and Printing:
Invalid
Status in “hplip” package in Ubuntu:
Invalid
Status in “pango” package in Ubuntu:
New
Status in “pygobject-2” package in Ubuntu:
New
Status in “python-defaults” package in Ubuntu:
New
Bug description:
system reboot and after loading the desktop the error happened.
ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: hplip-data 3.11.7-1ubuntu2
ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4
Uname: Linux 3.0.0-11-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 1.23-0ubuntu1
Architecture: amd64
CrashCounter: 1
Date: Tue Sep 27 11:33:43 2011
EcryptfsInUse: Yes
ExecutablePath: /usr/share/hplip/systray.py
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110922)
InterpreterPath: /usr/bin/python2.7
Lpstat: device for Officejet6500: hp:/net/Officejet_6500_E709n?ip=10.80.0.11
MachineType: Dell Inc. Inspiron N7010
PackageArchitecture: all
Papersize: letter
PpdFiles: Officejet6500: HP Officejet 6500 e709n hpijs, 3.11.7
ProcCmdline: python /usr/bin/hp-systray
ProcCwd: /home/rbrown
ProcEnviron:
SHELL=/bin/bash
LANG=en_US.UTF-8
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-11-generic
root=UUID=e545f842-1c5b-4880-b81d-75cfaeef4f0c ro quiet splash vt.handoff=7
SegvAnalysis:
Segfault happened at: 0x49c60b: mov 0x10(%rax),%rdi
PC (0x0049c60b) ok
source "0x10(%rax)" (0x00000010) not located in a known VMA region (needed
readable region)!
destination "%rdi" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: hplip
StacktraceTop:
?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
Title: systray.py crashed with SIGSEGV
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 10/20/2010
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A09
dmi.board.name: 08VFX1
dmi.board.vendor: Dell Inc.
dmi.board.version: A09
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: A09
dmi.modalias:
dmi:bvnDellInc.:bvrA09:bd10/20/2010:svnDellInc.:pnInspironN7010:pvrA09:rvnDellInc.:rn08VFX1:rvrA09:cvnDellInc.:ct8:cvrA09:
dmi.product.name: Inspiron N7010
dmi.product.version: A09
dmi.sys.vendor: Dell Inc.
To manage notifications about this bug go to:
https://bugs.launchpad.net/hplip/+bug/860680/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp