SIGILL,Illegal instruction

Discussion in 'Python' started by benevilent@optusnet.com.au, Sep 15, 2004.

  1. Guest

    Hey,

    Occasionally I am getting a SIGILL instruction when embedding the python
    Interpreter. Here is a backtrace:

    #0 0x0810b73e in try_3way_to_rich_compare (v=0x8ffe7a4, w=0x8220420, op=0) at Objects/object.c:946
    #1 0x0810ba49 in PyObject_RichCompare (v=0x8ffe7a4, w=0x8220420, op=0) at Objects/object.c:1042
    #2 0x08149c6b in cmp_outcome (op=0, v=0x8ffe7a4, w=0x8220420) at Python/ceval.c:3880
    #3 0x081448d2 in eval_frame (f=0xcb4dd1c) at Python/ceval.c:1965
    #4 0x08148cad in fast_function (func=0x535babc4, pp_stack=0xbfffba04, n=3, na=3, nk=0) at Python/ceval.c:3518
    #5 0x08148aa2 in call_function (pp_stack=0xbfffba04, oparg=2) at Python/ceval.c:3458
    #6 0x08145076 in eval_frame (f=0xa22c044) at Python/ceval.c:2116
    #7 0x08148cad in fast_function (func=0x535c5da4, pp_stack=0xbfffbb94, n=1, na=1, nk=0) at Python/ceval.c:3518
    #8 0x08148aa2 in call_function (pp_stack=0xbfffbb94, oparg=0) at Python/ceval.c:3458
    #9 0x08145076 in eval_frame (f=0xc17b824) at Python/ceval.c:2116
    #10 0x08148cad in fast_function (func=0x535ba714, pp_stack=0xbfffbd24, n=1, na=1, nk=0) at Python/ceval.c:3518
    #11 0x08148aa2 in call_function (pp_stack=0xbfffbd24, oparg=0) at Python/ceval.c:3458
    #12 0x08145076 in eval_frame (f=0xc176f64) at Python/ceval.c:2116
    #13 0x08146e76 in PyEval_EvalCodeEx (co=0x5353b188, globals=0x5352f534, locals=0x0, args=0x4060e6d8,
    argcount=1, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:2663
    #14 0x08198781 in function_call (func=0x53618c64, arg=0x4060e6c4, kw=0x0) at Objects/funcobject.c:504
    #15 0x080eac4f in PyObject_Call (func=0x53618c64, arg=0x4060e6c4, kw=0x0) at Objects/abstract.c:1755
    #16 0x080f2bc9 in instancemethod_call (func=0x53618c64, arg=0x4060e6c4, kw=0x0) at Objects/classobject.c:2433
    #17 0x080eac4f in PyObject_Call (func=0x55aaf734, arg=0x4060e6c4, kw=0x0) at Objects/abstract.c:1755
    #18 0x081485f0 in PyEval_CallObjectWithKeywords (func=0x55aaf734, arg=0x4060e6c4, kw=0x0)
    at Python/ceval.c:3346
    #19 0x080eac1e in PyObject_CallObject (o=0x55aaf734, a=0x4060e6c4) at Objects/abstract.c:1746
    #20 0x0806d9df in pbCallMethod (instance=0xba30858, method=0xc132460, brArguments=0x0, result=0xbfffc1ac)
    at pybreve.c:111
    #21 0x080925c2 in brMethodCall (i=0xba30858, m=0xc132460, args=0x0, result=0xbfffc1ac) at breveObjectAPI.c:119
    #22 0x080919cc in brEngineIterate (e=0x81f9a10) at engine.c:430
    #23 0x0806e845 in brGlutLoop () at breve.c:243
    #24 0x401bbc67 in glutMainLoop () from /usr/lib/libglut.so.3
    #25 0x0806e738 in main (argc=3, argv=0xbfffeac4) at breve.c:201

    Any idea what the problem may be?

    Thanks,
    Laurie
    , Sep 15, 2004
    #1
    1. Advertising

  2. Jeff Epler Guest

    On Wed, Sep 15, 2004 at 05:11:22PM +1000, wrote:
    > Any idea what the problem may be?


    I don't see SIGILL when running Python programs. I notice that you are
    running an embedded version of Python. I googled the function names and
    filenames, but didn't turn up anything likely-looking. If you're using
    Python embedded in a third-party binary with their extensions, I'd look
    to them for support.

    Best of luck!

    Jeff

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.5 (GNU/Linux)

    iD8DBQFBSDy7Jd01MZaTXX0RArE5AJ9QgswSdnJdon1YPuSRpoaAI9FxEgCfVpnB
    i5J+/N2JJJ6nFJWu5YWTIvo=
    =hBDW
    -----END PGP SIGNATURE-----
    Jeff Epler, Sep 15, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    1
    Views:
    386
    Artie Gold
    May 30, 2004
  2. Mathias Waack
    Replies:
    4
    Views:
    531
    Nick Maclaren
    Jul 5, 2006
  3. Just another C hacker

    Dealing with illegal instruction

    Just another C hacker, Apr 11, 2008, in forum: C Programming
    Replies:
    17
    Views:
    851
    Bartc
    Apr 13, 2008
  4. Daniel
    Replies:
    2
    Views:
    714
    Daniel
    May 24, 2009
  5. Hauke Juhls
    Replies:
    2
    Views:
    208
    Hauke Juhls
    Jul 8, 2003
Loading...

Share This Page