Re: stackless core dump on Ubuntu 14

Anselm Kruis <[email protected]> Wed, 06 May 2015 20:10:08 +0200
Newsgroups gmane.comp.python.stackless
Message-ID <[email protected]>
Hi Terrence,

I'm one of the Stackless developers. You didn't mention the Stackless =

version, architecture and - less important - compile time options. =

Without this information nobody can help you.

Then, please make sure to use the latest version of Stackless. You can =

get the source from www.stackless.org. We fixed quite a few segfaults =

over the time.

If the bug persists with the latest version, you can open an issue on =

bitbucket:
1. Get a bitbucket account and sign in.
2. Open a new issue on =

https://bitbucket.org/stackless-dev/stackless/issues?status=3Dnew&status=3D=
open

King regards,
   Anselm


Am 28.04.2015 um 12:26 schrieb Terrence:
> hello, I'm not sure of the proper way to report all relevant details such
> as architecture, etc, but here is an initial cut at an issue report. I am
> using the nagare web framework which uses Stackless Python. It dumps core
> and here is the backtrace:
>
> (gdb) run ./nagare-admin serve counter
> Starting program: /home/metaperl/install/nagare-home/bin/python ./nagare-
> admin serve counter
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
> Application 'app counter' registered as '/counter'
> [New Thread 0xb6351b40 (LWP 29243)]
> [New Thread 0xb59ffb40 (LWP 29244)]
> [New Thread 0xb4fffb40 (LWP 29245)]
> [New Thread 0xb47feb40 (LWP 29246)]
> [New Thread 0xb3ffdb40 (LWP 29247)]
> [New Thread 0xb37fcb40 (LWP 29248)]
> [New Thread 0xb2ffbb40 (LWP 29249)]
> [New Thread 0xb27fab40 (LWP 29250)]
> [New Thread 0xb1ff9b40 (LWP 29251)]
> [New Thread 0xb17f8b40 (LWP 29252)]
> 04/28/15 03:13:56 - serving on http://127.0.0.1:8080
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0xb4fffb40 (LWP 29245)]
> 0x081bcaa3 in slp_transfer (cstprev=3D0x83e1a24, cst=3D<optimized out>,
> prev=3D0x0)
>      at ./Stackless/core/slp_transfer.c:157
> 157	            ts->st.serial_last_jump =3D _cst->serial;
> (gdb) bt
> #0  0x081bcaa3 in slp_transfer (cstprev=3D0x83e1a24, cst=3D<optimized out=
>,
>      prev=3D0x0) at ./Stackless/core/slp_transfer.c:157
> #1  0x0810b3e4 in make_initial_stub () at
> Stackless/core/stacklesseval.c:250
> #2  0x0810b4cf in slp_eval_frame (f=3D0xb636649c)
>      at Stackless/core/stacklesseval.c:316
> #3  0x0810b46a in climb_stack_and_eval_frame (f=3D0xb636649c)
>      at Stackless/core/stacklesseval.c:285
> #4  0x0810b4c8 in slp_eval_frame (f=3D0xb636649c)
>      at Stackless/core/stacklesseval.c:314
> #5  0x08105ee6 in PyEval_EvalCodeEx (co=3D0xb73e73e8, globals=3D0xb74398f=
4,
>      locals=3D0x0, args=3D0xb63a45f8, argcount=3D1, kws=3D0x0, kwcount=3D=
0, defs=3D0x0,
>      defcount=3D0, closure=3D0x0) at Python/ceval.c:3709
> #6  0x08194e2e in function_call (func=3D0xb73f3854, arg=3D0xb63a45e4, kw=
=3D0x0)
>      at Objects/funcobject.c:537
> #7  0x08065900 in PyObject_Call (func=3D0xb73f3854, arg=3D0xb63a45e4, kw=
=3D0x0)
>      at Objects/abstract.c:2539
> #8  0x0806eb5e in instancemethod_call (func=3D0xb73f3854, arg=3D0xb63a45e=
4,
>      kw=3D0x0) at Objects/classobject.c:2609
> #9  0x08065900 in PyObject_Call (func=3D0xb648f274, arg=3D0xb7d66034, kw=
=3D0x0)
>      at Objects/abstract.c:2539
> #10 0x08107a91 in PyEval_CallObjectWithKeywords (func=3D0xb648f274,
>      arg=3D0xb7d66034, kw=3D0x0) at Python/ceval.c:4364
> #11 0x0815ca97 in t_bootstrap (boot_raw=3D0xb64f9398)
>      at ./Modules/threadmodule.c:614
> #12 0xb7fabf70 in start_thread (arg=3D0xb4fffb40) at pthread_create.c:312
> #13 0xb7e92bee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129
> (gdb)
>
>
> _______________________________________________
> Stackless mailing list
> [email protected]
> http://www.stackless.com/mailman/listinfo/stackless
>

-- =

  Dipl. Phys. Anselm Kruis                       science + computing ag
  Senior Solution Architect                      Ingolst=E4dter Str. 22
  email [email protected]             80807 M=FCnchen, Germany
  phone +49 89 356386 874  fax 737               www.science-computing.de

-- =

Vorstandsvorsitzender/Chairman of the board of management:
Gerd-Lothar Leonhart
Vorstand/Board of Management:
Dr. Bernd Finkbeiner, Dr. Arno Steitz
Vorsitzender des Aufsichtsrats/
Chairman of the Supervisory Board:
Philippe Miltin
Sitz/Registered Office: Tuebingen
Registergericht/Registration Court: Stuttgart
Registernummer/Commercial Register No.: HRB 382196