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 576198 - Crash on startup
Crash on startup
Status: RESOLVED WONTFIX
Product: pygoocanvas
Classification: Deprecated
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Gian Mario Tagliaretti
Gian Mario Tagliaretti
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2009-03-21 14:37 UTC by Vincent Untz
Modified: 2014-08-02 12:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
dbx backtrace (3.83 KB, text/plain)
2011-01-24 01:06 UTC, megamic
Details

Description Vincent Untz 2009-03-21 14:37:57 UTC
It seems this commit make things crash here:
http://svn.gnome.org/viewvc/pygoocanvas?view=revision&revision=229

Here's the stack trace when simply running 'python -c "import goocanvas"':

Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
(gdb) bt
  • #0 ??
  • #1 PyEval_GetGlobals
    at Python/ceval.c line 3453
  • #2 PyImport_Import
    at Python/import.c line 2692
  • #3 PyImport_ImportModule
    at Python/import.c line 1998
  • #4 PyCObject_Import
    at Objects/cobject.c line 85
  • #5 initgoocanvas
    at goocanvasmodule.c line 62
  • #6 _PyImport_LoadDynamicModule
    from /usr/lib/libpython2.6.so.1.0
  • #7 ??
    from /usr/lib/libpython2.6.so.1.0
  • #8 ??
    from /usr/lib/libpython2.6.so.1.0
  • #9 ??
    from /usr/lib/libpython2.6.so.1.0
  • #10 ??
    from /usr/lib/libpython2.6.so.1.0
  • #11 PyImport_ImportModuleLevel
    from /usr/lib/libpython2.6.so.1.0
  • #12 ??
    from /usr/lib/libpython2.6.so.1.0
  • #13 PyCFunction_Call
    from /usr/lib/libpython2.6.so.1.0
  • #14 PyObject_Call
    from /usr/lib/libpython2.6.so.1.0
  • #15 PyEval_CallObjectWithKeywords
    from /usr/lib/libpython2.6.so.1.0
  • #16 PyEval_EvalFrameEx
    from /usr/lib/libpython2.6.so.1.0
  • #17 PyEval_EvalCodeEx
    from /usr/lib/libpython2.6.so.1.0
  • #18 PyEval_EvalCode
    from /usr/lib/libpython2.6.so.1.0
  • #19 ??
    from /usr/lib/libpython2.6.so.1.0
  • #20 PyRun_StringFlags
    from /usr/lib/libpython2.6.so.1.0
  • #21 PyRun_SimpleStringFlags
    from /usr/lib/libpython2.6.so.1.0
  • #22 Py_Main
    from /usr/lib/libpython2.6.so.1.0
  • #23 main


Reverting this svn commit makes it work fine for me.
Comment 1 Gian Mario Tagliaretti 2009-05-10 09:06:55 UTC
Vincent I couldn't reproduce this bug, could you try with the latest pygobject and pygoocanvas?
Comment 2 Vincent Untz 2009-05-17 23:24:58 UTC
Still crashes here with pygobject 2.17.0 and pygoocanvas 0.14.1. And the patch still fixes it :-)
Comment 3 Gian Mario Tagliaretti 2009-06-09 22:15:41 UTC
cc'ing Armin to have his opinion
Comment 4 Armin Burgmeier 2009-06-10 18:02:38 UTC
I'm sorry, I can't reproduce the problem either. Hm. The only thing I can think of is that maybe you have two different python versions installed, and it detects and therefore links against the "wrong" one?
Comment 5 Vincent Untz 2009-06-10 18:20:38 UTC
No, there's only python 2.6. Weird :/
Comment 6 Gian Mario Tagliaretti 2009-06-10 20:40:35 UTC
uhm... Vincent what version of pycairo are you using?
Comment 7 Vincent Untz 2009-06-10 20:48:14 UTC
(In reply to comment #6)
> uhm... Vincent what version of pycairo are you using?

1.8.4.
Comment 8 Gian Mario Tagliaretti 2009-06-10 20:56:24 UTC
argh... this is the only release which works well with the latest pygoocanvas :)

next question on the list x86_32 or x86_64?
Comment 9 Vincent Untz 2009-06-10 21:38:59 UTC
32 bits here :-)
Comment 10 megamic 2011-01-24 01:06:16 UTC
Created attachment 179125 [details]
dbx backtrace
Comment 11 megamic 2011-01-24 01:07:14 UTC
I believe I am seeing a similar bug on Solaris, compiling as a 64-bit module. Using the following versions (all compiled from source as 64-bit):
Python:2.7.1
PyCairo:1.8.10
PyGobject:2.27.0
PyGtk:2.22.0
PyGooCanvas:0.14.1

The backtrace I get from dbx is attached.
  
If this is unrelated, I might submit a new issue report.
Comment 12 megamic 2011-01-24 02:41:32 UTC
I managed to work around this bug by stopping pygoocanvas from statically linking against libpython. Removed -lpython2.7 and -no-undefined from makefile. Rebuilt and everything seems to work ok =)
Comment 13 André Klapper 2014-08-02 12:24:16 UTC
The last Pygoocanvas code changes took place in 2010:
https://git.gnome.org/browse/archive/pygoocanvas/log/

This project is not under active development anymore.

This project has been recently archived in GNOME Git.

It is currently unlikely that there will be any further active development.

Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect reality. Please feel free to reopen this bug report in the future if anyone takes the responsibility for active development again.