[pypy-dev] Segmentation Fault

Amaury Forgeot d'Arc amauryfa at gmail.com
Wed Jan 7 16:45:28 CET 2015


Hi,

Please file a bug at https://bitbucket.org/pypy/pypy/issues
Also, please run "bt" in gdb to show the full stack of the failure.

2015-01-07 16:06 GMT+01:00 Stuart Axon <stuaxo2 at yahoo.com.dmarc.invalid>:

> Hi,
>    I'm running pypy 2.4.0 on Ubuntu Utopic.
>
> Running the pypy works OK (though it outputs 'trusty' weirdly):
>
>  $ pypy
> Python 2.7.8 (2.4.0+dfsg-1~ppa2+trusty, Sep 25 2014, 04:35:04)
> [PyPy 2.4.0 with GCC 4.8.2] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>>>
>
> Running my program in it gives a segfault:
>
> $ sbot
> Segmentation fault
>
>
> If I run in CPython then things are OK
>
> $ sbot
> usage: usage: sbot [options] inputfile.bot [args] [-h] [-o FILE] [-w] [-f]
>                                                   [-t TITLE] [-s] [-dv]
>                                                   [-p SERVERPORT] [-r
> REPEAT]
>                                                   [-g GRAMMAR] [-c] [-v
> VARS]
>                                                   script [script_args]
> usage: sbot [options] inputfile.bot [args]: error: too few arguments
>
>
>
> I got this out of gdb:
>
> gdb -ex r --args `which pypy` `which sbot`
> GNU gdb (Ubuntu 7.8-1ubuntu4) 7.8.0.20141001-cvs
> Copyright (C) 2014 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <
> http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "x86_64-linux-gnu".
> Type "show configuration" for configuration details.
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>.
> Find the GDB manual and other documentation resources online at:
> <http://www.gnu.org/software/gdb/documentation/>.
> For help, type "help".
> Type "apropos word" to search for commands related to "word"...
> Reading symbols from
> /mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/bin/pypy...(no debugging
> symbols found)...done.
> Starting program:
> /mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/bin/pypy
> /mnt/data/home/stu/.virtualenvs/shoebot-pgi-pypy/bin/sbot
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x00007fffecdb686e in std::_Rb_tree<std::string, std::pair<std::string
> const, std::pair<void const*, int> >, std::_Select1st<std::pair<std::string
> const, std::pair<void const*, int> > >, std::less<std::string>,
> std::allocator<std::pair<std::string const, std::pair<void const*, int> > >
> >::_M_get_insert_unique_pos(std::string const&) ()
>    from /usr/lib/x86_64-linux-gnu/libprotobuf.so.8
> (gdb)
>
>
> _______________________________________________
> pypy-dev mailing list
> pypy-dev at python.org
> https://mail.python.org/mailman/listinfo/pypy-dev
>
>


-- 
Amaury Forgeot d'Arc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20150107/6206bf6f/attachment-0001.html>


More information about the pypy-dev mailing list