Results 1 to 7 of 7

Thread: segmentation fault

  1. #1
    Private First Class
    Join Date
    Nov 2015
    Posts
    128
    Thanks
    37
    Thanked 14 Times in 14 Posts

    segmentation fault

    i am using ubuntu 14.04 . when i try to start server even without libcod and mods , i am getting an error calling with "segmentation fault" how can i fix that ? i was searched on google someone was saying about ram but i have 16 gbram dedicated

  2. #2
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    compile your own libcod.
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  3. #3
    Private First Class
    Join Date
    Nov 2015
    Posts
    128
    Thanks
    37
    Thanked 14 Times in 14 Posts
    this libcod was working in other machines well , maybe its a library error any suggestions

    PHP Code:
    [INFOCompiled for: CoD2 1.3
    Compiled
    Feb  2 2016 23:27:47
    > [INFOvalue of closer=000191c8
    > [INFOvalue of download=0808f940
    > [PLUGIN LOADED]
    CoD2 MP 1.3 build linux-i386 Jun 23 2006
    ----- FS_Startup -----
    Segmentation fault 

  4. #4
    Sergeant maxdamage99's Avatar
    Join Date
    Aug 2014
    Location
    Russia
    Posts
    458
    Thanks
    79
    Thanked 122 Times in 101 Posts
    You have query's, when your server start? (EXAMPLE: mysql_real_connect())
    ??
    PHP Code:
    class CoronaVirus 
    {
       
    CoronaVirus(int m 1): multi(m) { Peoples.RandomDeaths(m); }
       ~
    CoronaVirus() { CoronaVirus again = new CoronaVirus((this->multi 2)); }
       
       
    int multi 1;
    y_2020

  5. #5
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 450 Times in 305 Posts
    Quote Originally Posted by feanor View Post
    this libcod was working in other machines well , maybe its a library error any suggestions

    PHP Code:
    [INFOCompiled for: CoD2 1.3
    Compiled
    Feb  2 2016 23:27:47
    > [INFOvalue of closer=000191c8
    > [INFOvalue of download=0808f940
    > [PLUGIN LOADED]
    CoD2 MP 1.3 build linux-i386 Jun 23 2006
    ----- FS_Startup -----
    Segmentation fault 
    Try starting with commenting out any libcod function that are used on start.

    Also post the line from dmesg from this crash.

  6. #6
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    You're probably using one of the pre-compiled libcod versions that dont play nice with your mysql install.

    The solution?

    Quote Originally Posted by IzNoGoD View Post
    compile your own libcod.
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  7. #7
    Private First Class
    Join Date
    Nov 2015
    Posts
    128
    Thanks
    37
    Thanked 14 Times in 14 Posts
    reinstalled ubuntu , then problem solved

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •