作者 主題: Segmentation fault @ create superuser proecess while syncdb  (閱讀 4097 次)

0 會員 與 1 訪客 正在閱讀本文。

wenlien

  • 憂鬱的高中生
  • ***
  • 文章數: 119
  • 性別: 男
    • 檢視個人資料
    • Open or not open, that is the stupid question.
Hi all:

我的環境如下:
$ uname -a
Linux Stanley-Desktop 2.6.18-164.15.1.el5 #1 SMP Wed Mar 17 11:30:06 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
$ django-admin.py --version
1.2 beta 1
$ python
Python 2.4.3 (#1, Sep  3 2009, 15:37:37)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-46)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
$ mysql
Enter password:
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 426
Server version: 5.1.44-log Source distribution
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>

我在Python on Django上syncdb時, 會出現"Segmentation fault",

$ python ./manage.py syncdb
Creating table django_session
Creating table django_site
Creating table auth_permission
Creating table auth_group_permissions
Creating table auth_group
Creating table auth_user_user_permissions
Creating table auth_user_groups
Creating table auth_user
Creating table auth_message
Creating table django_content_type
Creating table myApp1_category
Creating table myApp1_article

You just installed Django's auth system, which means you don't have any superusers defined.
Would you like to create one now? (yes/no): yes
Segmentation fault
$

請問有人有遇過類似的裝況嗎?
我曾想過要用gdb來debug, 但是沒有頭緒...方便給個方向要如何debug, 以找出這個問題的root cause.

感謝~

regards,

Stanley Huang