Tianwei,
This happened to me when I hosted a project on Amazon AMI. It is likely your machine does not have enough RAM memory. Best Regards, Paul Greenberg, Esq. Law Office of Paul Greenberg 530 Main Street, Suite 102 Fort Lee, NJ 07024 E-mail: p...@greenberg.pro Tel: 201-402-6777 Fax: 201-301-8876 Cell: 212-380-7343 Web: http://www.greenberg.pro/ Twitter: @nymetrolaw CONFIDENTIALITY NOTICE: The information contained in this email, including any attachment(s), is confidential information that may be privileged and exempt from disclosure under applicable law, and is intended only for the exclusive use by the person(s) mentioned above as recipient(s). If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein is strictly prohibited and may be unlawful. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. CONFIDENTIAL: ATTORNEY/CLIENT PRIVILEGED; ATTORNEY WORK PRODUCT The information contained in this email is intended for the individual or entity above. This email is protected by the Electronic Communications Privacy Act, 18 U.S.C. Sections 2510-2521 and is legally protected by the attorney/client privilege and/or work product doctrine. If you are not the intended recipient, please do not read, copy, use, forward or disclose this communication to others; further, please notify the sender by replying to this message and then delete this message from your system. Thank you. ________________________________ From: django-users@googlegroups.com <django-users@googlegroups.com> on behalf of Tiago Almeida <tiago.b.alme...@gmail.com> Sent: Friday, August 08, 2014 10:43 AM To: django-users@googlegroups.com Subject: Re: Segmentation fault Try to update both your python and your mysql<-> python bindings. The libraries you are using are either incompatible or have a bug. Good luck Sexta-feira, 8 de Agosto de 2014 5:21:44 UTC+1, Tianwei Sheng escreveu: Hi, all, Recently I constantly met segmentation fault for my django server(started by runserver). The following is the trace I got from gdb (if not with gdb, I only can see segmentation fault). I knew this may not be a django issues, or even python issue, but anyone met similar issues or where I should ask? Thanks a lot: *** glibc detected *** /usr/bin/python: double free or corruption (out): 0x00007fffd4107a50 *** ======= Backtrace: ========= /lib/x86_64-linux-gnu/libc.so.6(+0x7eb96)[0x7ffff693eb96] /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18(vio_delete+0x1f)[0x7ffff435cdff] /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18(end_server+0x35)[0x7ffff43495d5] /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18(mysql_close+0x61)[0x7ffff434b501] /usr/local/lib/python2.7/dist-packages/_mysql.so(+0x4eb2)[0x7ffff485deb2] /usr/bin/python(PyEval_EvalFrameEx+0x2a4)[0x497ea4] /usr/bin/python(PyEval_EvalFrameEx+0xa02)[0x498602] /usr/bin/python(PyEval_EvalFrameEx+0xa02)[0x498602] /usr/bin/python(PyEval_EvalCodeEx+0x1a0)[0x49f1c0] /usr/bin/python[0x4a8a92] /usr/bin/python(PyObject_Call+0x36)[0x4e9f36] /usr/bin/python(PyEval_EvalFrameEx+0x1fc0)[0x499bc0] /usr/bin/python(PyEval_EvalCodeEx+0x1a0)[0x49f1c0] /usr/bin/python(PyEval_EvalFrameEx+0x7b8)[0x4983b8]/usr/bin/python(PyEval_EvalCodeEx+0x1a0)[0x49f1c0] /usr/bin/python[0x4a8960] /usr/bin/python(PyObject_Call+0x36)[0x4e9f36] /usr/bin/python[0x4ec11a] /usr/bin/python(PyObject_Call+0x36)[0x4e9f36] /usr/bin/python[0x4eb62e] /usr/bin/python(PyObject_Call+0x36)[0x4e9f36] /usr/bin/python(PyEval_EvalFrameEx+0x86a)[0x49846a] /usr/bin/python(PyEval_EvalFrameEx+0xa02)[0x498602] /usr/bin/python(PyEval_EvalFrameEx+0xa02)[0x498602] /usr/bin/python(PyEval_EvalCodeEx+0x1a0)[0x49f1c0] /usr/bin/python[0x4a8a92] /usr/bin/python(PyObject_Call+0x36)[0x4e9f36] /usr/bin/python(PyEval_EvalFrameEx+0x1fc0)[0x499bc0] /usr/bin/python(PyEval_EvalCodeEx+0x1a0)[0x49f1c0] /usr/bin/python[0x4a8960] /usr/bin/python(PyObject_Call+0x36)[0x4e9f36] /usr/bin/python[0x4ec11a] /usr/bin/python(PyObject_Call+0x36)[0x4e9f36] /usr/bin/python[0x4eb39e] /usr/bin/python[0x4db6a6] /usr/bin/python(PyObject_Call+0x36)[0x4e9f36] /usr/bin/python(PyEval_EvalFrameEx+0x86a)[0x49846a] /usr/bin/python(PyEval_EvalFrameEx+0xa02)[0x498602] /usr/bin/python(PyEval_EvalCodeEx+0x1a0)[0x49f1c0] /usr/bin/python[0x4a8960] /usr/bin/python(PyObject_Call+0x36)[0x4e9f36] /usr/bin/python[0x4ec11a] /usr/bin/python(PyObject_Call+0x36)[0x4e9f36] /usr/bin/python(PyEval_CallObjectWithKeywords+0x36)[0x4ea396] /usr/bin/python[0x4b0bc8] /lib/x86_64-linux-gnu/libpthread.so.0(+0x7e9a)[0x7ffff7bc4e9a] /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7ffff69b3cbd] ======= Memory map: ======== 00400000-00671000 r-xp 00000000 09:02 63375040 /usr/bin/python2.7 00870000-00871000 r--p 00270000 09:02 63375040 /usr/bin/python2.7 00871000-008da000 rw-p 00271000 09:02 63375040 /usr/bin/python2.7 008da000-01b55000 rw-p 00000000 00:00 0 [heap] 7fffd0000000-7fffd0023000 rw-p 00000000 00:00 0 7fffd0023000-7fffd4000000 ---p 00000000 00:00 0 7fffd4000000-7fffd4252000 rw-p 00000000 00:00 0 7fffd4252000-7fffd8000000 ---p 00000000 00:00 0 7fffdb7ff000-7fffdb800000 ---p 00000000 00:00 0 7fffdb800000-7fffdc000000 rw-p 00000000 00:00 0 7fffdc000000-7fffdc310000 rw-p 00000000 00:00 0 7fffdc310000-7fffe0000000 ---p 00000000 00:00 0 7fffe0d3b000-7fffe0d3c000 ---p 00000000 00:00 0 7fffe0d3c000-7fffe153c000 rw-p 00000000 00:00 0 7fffe153c000-7fffe153d000 ---p 00000000 00:00 0 7fffe153d000-7fffe1d3d000 rw-p 00000000 00:00 0 7fffe1d3d000-7fffe1d86000 r-xp 00000000 09:02 63835506 /usr/local/lib/python2.7/dist-packages/numpy/random/mtrand.so 7fffe1d86000-7fffe1f85000 ---p 00049000 09:02 63835506 /usr/local/lib/python2.7/dist-packages/numpy/random/mtrand.so 7fffe1f85000-7fffe1f86000 r--p 00048000 09:02 63835506 /usr/local/lib/python2.7/dist-packages/numpy/random/mtrand.so 7fffe1f86000-7fffe1fbc000 rw-p 00049000 09:02 63835506 /usr/local/lib/python2.7/dist-packages/numpy/random/mtrand.so 7fffe1fbc000-7fffe1fbd000 rw-p 00000000 00:00 0 7fffe1fbd000-7fffe1fc6000 r-xp 00000000 09:02 63835505 /usr/local/lib/python2.7/dist-packages/numpy/fft/fftpack_lite.so 7fffe1fc6000-7fffe21c5000 ---p 00009000 09:02 63835505 /usr/local/lib/python2.7/dist-packages/numpy/fft/fftpack_lite.so 7fffe21c5000-7fffe21c6000 r--p 00008000 09:02 63835505 /usr/local/lib/python2.7/dist-packages/numpy/fft/fftpack_lite.so 7fffe21c6000-7fffe21c7000 rw-p 00009000 09:02 63835505 /usr/local/lib/python2.7/dist-packages/numpy/fft/fftpack_lite.so 7fffe21c7000-7fffe21c8000 r-xp 00000000 09:02 63441169 /usr/lib/python2.7/lib-dynload/future_builtins.so 7fffe21c8000-7fffe23c7000 ---p 00001000 09:02 63441169 /usr/lib/python2.7/lib-dynload/future_builtins.so 7fffe23c7000-7fffe23c8000 r--p 00000000 09:02 63441169 /usr/lib/python2.7/lib-dynload/future_builtins.so 7fffe23c8000-7fffe23c9000 rw-p 00001000 09:02 63441169 /usr/lib/python2.7/lib-dynload/future_builtins.so 7fffe23c9000-7fffe253e000 r-xp 00000000 09:02 63835698 /usr/local/lib/python2.7/dist-packages/numpy/linalg/_umath_linalg.so -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com<mailto:django-users+unsubscr...@googlegroups.com>. To post to this group, send email to django-users@googlegroups.com<mailto:django-users@googlegroups.com>. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/58db6400-a698-4645-9b1b-5eb1b93dfb19%40googlegroups.com<https://groups.google.com/d/msgid/django-users/58db6400-a698-4645-9b1b-5eb1b93dfb19%40googlegroups.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/1407515042013.37613%40greenberg.pro. For more options, visit https://groups.google.com/d/optout.