[Python-Dev] seg fault in 3.10a4

2021年1月17日 04:59:14 -0800

Not sure if this is where I should report, but I have a segfault in reportlab userguide creation with 3.10a4. I am getting this info from coredumpctl running archlinux with
Linux hostname 5.10.6-arch1-1 #1 SMP PREEMPT 2021年1月09日 18:22:35 +0000 
x86_64 GNU/Linux
the error is
 Message: Process 1530711 (python) of user 1000 dumped core.
 Stack trace of thread 1530711:
 #0 0x00007f7c9bf72615 raise (libc.so.6 + 0x3d615)
 #1 0x00007f7c9bf5b862 abort (libc.so.6 + 0x26862)
 #2 0x00007f7c9bfb45e8 __libc_message (libc.so.6 + 0x7f5e8)
 #3 0x00007f7c9bfbc27a malloc_printerr (libc.so.6 + 0x8727a)
 #4 0x00007f7c9bfbd64c _int_free (libc.so.6 + 0x8864c)
 #5 0x00005631260a01dd n/a 
(/home/robin/devel/reportlab/.py310/bin/python310 + 0x1401dd)
1) I compile this from source using the standard LTO method my script looks like
###########################################
CFLAGS="-march=x86-64 -mtune=generic -O3 -pipe -fno-plt 
-fno-semantic-interposition"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now 
-rpath=$HOME/LOCAL/3.10.0a4/lib -fno-semantic-interposition"
./configure \
 --prefix=$HOME/LOCAL/3.10.0a4 \
 --with-computed-gotos \
 --enable-optimizations \
 --with-lto \
 --enable-ipv6 \
 --with-system-expat \
 --with-dbmliborder=gdbm:ndbm \
 --with-system-ffi \
 --with-system-libmpdec \
 --enable-loadable-sqlite-extensions && make EXTRA_CFLAGS="$CFLAGS" 
&& make install
###########################################
1) can I get more information using a different compile setup
2) or can I get more information with the python run. I just used
$ python genuserguide.py Built story contains 1843 flowables...
Saved "/home/robin/devel/reportlab/REPOS/reportlab/docs/reportlab-userguide.pdf"
free(): invalid pointer
Aborted (core dumped)
3) I am running in an old style virtual environment generated using a modified virtualenv 16.2.0 (to fix wrong usage of sys.version[:3] in path names) 4) All other tests seem fine including tests of image generation and the accelerated strinGWidths etc etc so I am a bit mystified.
--
Robin Becker
_______________________________________________
Python-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/5DCR2R6POCOHTPFUOY4F5G7GTBYX6OPO/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to