When I run python (without any arguments) on the command line, a segmentation error occurs.
mistake:
$ python [1] 11094 segmentation fault python2.7
And linux kernel traps:
$ dmesg traps: python2[10923] general protection ip:4db605 sp:7fffe4b29e70 error:0 in python2.7[400000+2ba000 $gdb python Program received signal SIGSEGV, Segmentation fault. 0x00000000004db605 in PyDict_SetItemString () (gdb) backtrace #0 0x00000000004db605 in PyDict_SetItemString () #1 0x000000000044719b in _PyExc_Init () #2 0x000000000046928e in Py_InitializeEx () #3 0x0000000000469db3 in Py_Main () #4 0x00007ffff7816de5 in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6 #5 0x00000000005735fe in _start ()
Selected Part objdump -d /usr/bin/python2.7 | less objdump -d /usr/bin/python2.7 | less
4db5f7: 0f 84 a6 02 00 00 je 4db8a3 <PyDict_SetItemString+0x323> 4db5fd: 4d 8b 48 08 mov 0x8(%r8),%r9 4db601: 41 83 00 01 addl $0x1,(%r8) 4db605: 4d 8b 11 mov (%r9),%r10 4db608: 4d 89 cc mov %r9,%r12 4db60b: 4d 85 d2 test %r10,%r10 4db60e: 4d 89 50 08 mov %r10,0x8(%r8)
My machine specification:
- Linux Mint 16 (64bit)
- Ram: 8 GB (free 6 GB)
- I have Mint installed on an SSD (64 GB) last night , 1 TB HDD
- CPU: Core I5 ββ4670k
- Linux kernel: Linux mint 3.11.0-12-generi # 19-Ubuntu SMP Wed Oct 9 16:20:46 UTC 2013 x86_64 x86_64 x86_64 GNU / Linux
I tried installing the new kubuntu 14.04 on my computer (and as another solution, upgrade the distribution to mint 17), but unfortunately the distribution crashed.
Can someone tell me why the error occurred? and how can i fix it?
I am wondering if anyone helped solve the problem. (I know what segsegv is, but I donβt know why this error occurs on a new Linux installation)
There is the same issue with Google-Chrome, Java, and other programs.
thanks
python segmentation-fault linux crash linuxmint
Ocean
source share