Author hcbd
Recipients hcbd, serhiy.storchaka
Date 2015-12-27.01:26:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1451179568.43.0.260662599672.issue25959@psf.upfronthosting.co.za>
In-reply-to
Content
system 1:
os: Linux Mint 17.3 (64bit Mate)

python version: 2.7.6
python-tk version: 2.7.5-1ubuntu1 (according to packagemanager)

python3 version 3.4.3
python3-tk version: 3.4.3-1~14.04.2 (according to packagemanager)

running python in gdb on this system gives me these outputs:

(gdb) run test2.py
Starting program: /usr/bin/python test2.py
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff47ca700 (LWP 14639)]

Program received signal SIGSEGV, Segmentation fault.
memset () at ../sysdeps/x86_64/memset.S:80
80	../sysdeps/x86_64/memset.S: No such file or directory.
(gdb) backtrace
#0  memset () at ../sysdeps/x86_64/memset.S:80
#1  0x00007ffff66ce4ad in ?? () from /usr/lib/x86_64-linux-gnu/libtk8.6.so
#2  0x00007ffff66cffab in Tk_PhotoPutZoomedBlock ()
   from /usr/lib/x86_64-linux-gnu/libtk8.6.so
#3  0x00007ffff66cc12b in ?? () from /usr/lib/x86_64-linux-gnu/libtk8.6.so
#4  0x00007ffff62c8337 in TclNRRunCallbacks ()
   from /usr/lib/x86_64-linux-gnu/libtcl8.6.so
#5  0x00007ffff6982030 in ?? () from /usr/lib/python2.7/lib-dynload/_tkinter.so
#6  0x000000000049968d in PyEval_EvalFrameEx ()
#7  0x00000000004a090c in PyEval_EvalCodeEx ()
#8  0x0000000000499a52 in PyEval_EvalFrameEx ()
#9  0x00000000004a1634 in ?? ()
#10 0x000000000044e4a5 in PyRun_FileExFlags ()
#11 0x000000000044ec9f in PyRun_SimpleFileExFlags ()
#12 0x000000000044f904 in Py_Main ()
#13 0x00007ffff7818ec5 in __libc_start_main (main=0x44f9c2 <main>, argc=2, 
    argv=0x7fffffffe0b8, init=<optimized out>, fini=<optimized out>, 
    rtld_fini=<optimized out>, stack_end=0x7fffffffe0a8) at libc-start.c:287
#14 0x0000000000578c4e in _start ()
---------------------------------------

system2:
os: Debian Jessie (Gnome3)

python version:2.7.9
python-tk version:2.7.8-2+b1

python3 version:3.4.2
python3-tk version: 3.4.2-1+b1

output from gdb from this system (gui.py is my program that does the same as test.py only loads more widgets:

Starting program: /usr/bin/python gui.py
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff435d700 (LWP 10798)]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff64ba07b in Tk_PhotoPutZoomedBlock ()
   from /usr/lib/x86_64-linux-gnu/libtk8.6.so
(gdb) backtrace
#0  0x00007ffff64ba07b in Tk_PhotoPutZoomedBlock ()
   from /usr/lib/x86_64-linux-gnu/libtk8.6.so
#1  0x00007ffff64b6171 in ?? () from /usr/lib/x86_64-linux-gnu/libtk8.6.so
#2  0x00007ffff6092a87 in TclNRRunCallbacks ()
   from /usr/lib/x86_64-linux-gnu/libtcl8.6.so
#3  0x00007ffff6ae53c0 in ?? () from /usr/lib/python2.7/lib-dynload/_tkinter.so
#4  0x00000000004c9e05 in PyEval_EvalFrameEx ()
#5  0x00000000004c87a1 in PyEval_EvalCodeEx ()
#6  0x00000000004ca31a in PyEval_EvalFrameEx ()
#7  0x00000000004c87a1 in PyEval_EvalCodeEx ()
#8  0x00000000004ca31a in PyEval_EvalFrameEx ()
#9  0x00000000004ca592 in PyEval_EvalFrameEx ()
#10 0x00000000004ca592 in PyEval_EvalFrameEx ()
#11 0x00000000004ca592 in PyEval_EvalFrameEx ()
#12 0x00000000004e5fe8 in ?? ()
#13 0x00000000005045d8 in ?? ()
#14 0x00000000004eb950 in PyInstance_New ()
#15 0x00000000004caaa1 in PyEval_EvalFrameEx ()
#16 0x00000000004c87a1 in PyEval_EvalCodeEx ()
#17 0x00000000005030ef in ?? ()
#18 0x00000000004f8c72 in PyRun_FileExFlags ()
#19 0x00000000004f7d77 in PyRun_SimpleFileExFlags ()
#20 0x00000000004982f2 in Py_Main ()
---Type <return> to continue, or q <return> to quit---
#21 0x00007ffff6f14b45 in __libc_start_main (main=0x497d80 <main>, argc=2, 
    argv=0x7fffffffe3b8, init=<optimized out>, fini=<optimized out>, 
    rtld_fini=<optimized out>, stack_end=0x7fffffffe3a8) at libc-start.c:287
#22 0x0000000000497ca0 in _start ()
History
Date User Action Args
2015-12-27 01:26:08hcbdsetrecipients: + hcbd, serhiy.storchaka
2015-12-27 01:26:08hcbdsetmessageid: <1451179568.43.0.260662599672.issue25959@psf.upfronthosting.co.za>
2015-12-27 01:26:08hcbdlinkissue25959 messages
2015-12-27 01:26:06hcbdcreate