SUPPORT ACCOUNT CLANS
Welcome, Unregistered.
 

Thread: Clean install startup segfault

Results 1 to 8 of 8
  1. #1
    Offline
    Account Icon
    Chat Symbol
    Join Date
    Jul 2009
    Location
    UK - Brum
    Posts
    8,411

    Clean install startup segfault

    Present version available to download is: 2.1.10
    Present version live is: 2.2.7

    IF you have a fresh install OR you do not have a ~/.Heroes of Newerth directory OR you remove the ~/.Heroes of Newerth (ie reset settings for one or another reason) there is a very high chance you are unable to start HoN

    ~/HoN $ ./hon.sh
    warning: The VAD has been replaced by a hack pending a complete rewrite
    Crash log saved as '/home/jrb/.Heroes of Newerth/game/crash_2.1.10.0_01.log'
    Segmentation fault
    Signal: Segmentation fault

    Backtrace:
    ./hon-x86_64() [0x408cb4]
    /lib64/libpthread.so.0(+0xf4d0) [0x7f7bbcc0b4d0]
    ./hon-x86_64(_ZNSbIwSt11char_traitsIwE17K2StringAllocato rIwEEaSERKS3_+0x9) [0x405817]
    /home/jrb/HoN/vid_gl2-x86_64.so(+0xbac57) [0x7f7b962e2c57]
    /home/jrb/HoN/vid_gl2-x86_64.so(+0xbdde7) [0x7f7b962e5de7]
    /home/jrb/HoN/libk2-x86_64.so(+0x6c8083) [0x7f7bbc776083]
    /home/jrb/HoN/libk2-x86_64.so(_ZN4CVid9SetDriverERKSbIwSt11char_traits IwE17K2StringAllocatorIwEE+0x97) [0x7f7bbc776447]
    /home/jrb/HoN/libk2-x86_64.so(_ZN5CHost4InitERKSbIwSt11char_traitsIwE1 7K2StringAllocatorIwEE+0x134e) [0x7f7bbc24332c]
    ./hon-x86_64() [0x4089d3]
    /lib64/libc.so.6(__libc_start_main+0xfd) [0x7f7bbb5d5ebd]
    ./hon-x86_64() [0x4039aa]

    Memory map:
    00400000-0040d000 r-xp 00000000 08:12 2016007 /home/jrb/HoN/hon-x86_64
    0060c000-0060d000 rwxp 0000c000 08:12 2016007 /home/jrb/HoN/hon-x86_64
    0060d000-01d1e000 rwxp 00000000 00:00 0 [heap]
    41f78000-41ff3000 rwxp 00000000 00:00 0
    7f7b92152000-7f7b92158000 r-xp 00000000 08:03 7705401 /usr/lib64/libXfixes.so.3.1.0
    7f7b92158000-7f7b92357000 ---p 00006000 08:03 7705401 /usr/lib64/libXfixes.so.3.1.0
    7f7b92357000-7f7b92358000 r-xp 00005000 08:03 7705401 /usr/lib64/libXfixes.so.3.1.0
    7f7b92358000-7f7b92359000 rwxp 00006000 08:03 7705401 /usr/lib64/libXfixes.so.3.1.0
    7f7b92359000-7f7b92363000 r-xp 00000000 08:03 4162365 /usr/lib64/libXcursor.so.1.0.2
    7f7b92363000-7f7b92562000 ---p 0000a000 08:03 4162365 /usr/lib64/libXcursor.so.1.0.2
    7f7b92562000-7f7b92563000 r-xp 00009000 08:03 4162365 /usr/lib64/libXcursor.so.1.0.2
    7f7b92563000-7f7b92564000 rwxp 0000a000 08:03 4162365 /usr/lib64/libXcursor.so.1.0.2
    7f7b92564000-7f7b9256e000 r-xp 00000000 08:03 18712829 /usr/lib64/libXrender.so.1.3.0
    7f7b9256e000-7f7b9276d000 ---p 0000a000 08:03 18712829 /usr/lib64/libXrender.so.1.3.0
    7f7b9276d000-7f7b9276e000 r-xp 00009000 08:03 18712829 /usr/lib64/libXrender.so.1.3.0
    7f7b9276e000-7f7b9276f000 rwxp 0000a000 08:03 18712829 /usr/lib64/libXrender.so.1.3.0
    7f7b9276f000-7f7b92777000 r-xp 00000000 08:03 4162264 /usr/lib64/libXrandr.so.2.2.0
    7f7b92777000-7f7b92976000 ---p 00008000 08:03 4162264 /usr/lib64/libXrandr.so.2.2.0
    7f7b92976000-7f7b92977000 r-xp 00007000 08:03 4162264 /usr/lib64/libXrandr.so.2.2.0
    7f7b92977000-7f7b92978000 rwxp 00008000 08:03 4162264 /usr/lib64/libXrandr.so.2.2.0
    7f7b92978000-7f7b92979000 rwxs f8060000 00:0e 9330 /dev/nvidia0
    7f7b92979000-7f7b92994000 rwxs 21466f000 00:0e 9330 /dev/nvidia0
    7f7b92994000-7f7b9379a000 rwxp 00000000 00:00 0
    7f7b9379a000-7f7b950ab000 r-xp 00000000 08:03 4063420 /usr/lib64/libnvidia-glcore.so.290.06
    7f7b950ab000-7f7b952aa000 ---p 01911000 08:03 4063420 /usr/lib64/libnvidia-glcore.so.290.06
    7f7b952aa000-7f7b95a85000 rwxp 01910000 08:03 4063420 /usr/lib64/libnvidia-glcore.so.290.06
    7f7b95a85000-7f7b95aa0000 rwxp 00000000 00:00 0
    7f7b95aa0000-7f7b95aa3000 r-xp 00000000 08:03 4080331 /usr/lib64/opengl/nvidia/lib/libnvidia-tls.so.290.06
    7f7b95aa3000-7f7b95ca2000 ---p 00003000 08:03 4080331 /usr/lib64/opengl/nvidia/lib/libnvidia-tls.so.290.06
    7f7b95ca2000-7f7b95ca3000 rwxp 00002000 08:03 4080331 /usr/lib64/opengl/nvidia/lib/libnvidia-tls.so.290.06
    7f7b95ca3000-7f7b95d10000 r-xp 00000000 08:03 3589908 /usr/lib64/libGLU.so.1.3.071100
    7f7b95d10000-7f7b95f0f000 ---p 0006d000 08:03 3589908 /usr/lib64/libGLU.so.1.3.071100
    7f7b95f0f000-7f7b95f11000 r-xp 0006c000 08:03 3589908 /usr/lib64/libGLU.so.1.3.071100
    7f7b95f11000-7f7b95f12000 rwxp 0006e000 08:03 3589908 /usr/lib64/libGLU.so.1.3.071100
    7f7b95f12000-7f7b95fd7000 r-xp 00000000 08:03 4079931 /usr/lib64/opengl/nvidia/lib/libGL.so.290.06
    7f7b95fd7000-7f7b961d6000 ---p 000c5000 08:03 4079931 /usr/lib64/opengl/nvidia/lib/libGL.so.290.06
    7f7b961d6000-7f7b96212000 rwxp 000c4000 08:03 4079931 /usr/lib64/opengl/nvidia/lib/libGL.so.290.06
    7f7b96212000-7f7b96228000 rwxp 00000000 00:00 0
    7f7b96228000-7f7b96356000 r-xp 00000000 08:12 2016037 /home/jrb/HoN/vid_gl2-x86_64.so
    7f7b96356000-7f7b96555000 ---p 0012e000 08:12 2016037
    ...


    NOTE without ~/.Heroes of Newerth and hon-x86{,_64} segfaults, it does not create this directory


    Code:
    gdb hon-x86
    GNU gdb (Gentoo 7.3.1 p1) 7.3.1
    Copyright (C) 2011 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
    and "show warranty" for details.
    This GDB was configured as "x86_64-pc-linux-gnu".
    For bug reporting instructions, please see:
    <http://bugs.gentoo.org/>...
    Reading symbols from /home/naib/HoN/hon-x86...(no debugging symbols found)...done.
    (gdb) run
    Starting program: /home/naib/HoN/hon-x86 
    [Thread debugging using libthread_db enabled]
    [New Thread 0xd8039b70 (LWP 6138)]
    [Thread 0xd8039b70 (LWP 6138) exited]
    [New Thread 0xd8039b70 (LWP 6139)]
    [Thread 0xd8039b70 (LWP 6139) exited]
    [New Thread 0xd8039b70 (LWP 6140)]
    [New Thread 0xd7838b70 (LWP 6141)]
    warning: The VAD has been replaced by a hack pending a complete rewrite
    
    Program received signal SIGSEGV, Segmentation fault.
    0x0804d14d in std::basic_string<wchar_t, std::char_traits<wchar_t>, K2StringAllocator<wchar_t> >::operator=(std::basic_string<wchar_t, std::char_traits<wchar_t>, K2StringAllocator<wchar_t> > const&) ()
    (gdb)



    HOWEVER, if you pre-seed a startup.cfg file
    Code:
    cat ~/.Heroes\ of\ Newerth/game/startup.cfg 
    SetSave "vid_bpp" "32"
    SetSave "vid_refreshRate" "60"
    SetSave "vid_resolution" "1920,1080"

    HoN will start just fine.

    Mixed results from IRC atm. Some crash, some don't. I am running the latest and greatest nvidia drivers and xorg so whether this is related (ie could hit other distro's soon as they catchup, ie by March 2012 at the latest)

    Forum Moderators are not S2 Games employees. My posts in no way represent the view of S2 Games or any of its staff.

    Please use the report post function to have me review a post that you believe is breaking the Forum Rules.
    Check the Sticky Threads for additional information on this sub-forum and the Announcement Threads for more information about Heroes of Newerth as a whole!

    -----------------------------


  2. #2
    Offline
    S2 Staff Member S2 Games Staff
    Join Date
    Jul 2009
    Posts
    33,874
    Cool post Naib!

    Now to bug Deejay

    S2 Games: Dedicated employees serving dedicated gamers. Continuous development. Never-ending improvement.
    -----------------------------


    Tech Support and Customer Support: https://www.heroesofnewerth.com/support/


    Look for my highlighted text (important information) and grey text (interesting but not required information).

  3. #3
    Offline
    Account Icon
    Chat Symbol
    Join Date
    Jul 2009
    Location
    UK - Brum
    Posts
    8,411


    nvidia-290.06
    xorg-server-1.11.2

    I suspect this is todo with xorg-server version (which only nv-290.* or greater is compatible). I have asked around and people are using nv-290.* and can scrub settings just fine so the newer Xorg could be the root-cause.

    I have asked a couple of people to upgrade both xorg and nv to narrow it down further from just a few people that have this and a few that dont (who I have asked).

    like I said, prob have until march 2012 until this becomes more of a widespread issue (ie when the next round of binary linux distro do a bump - although more are going to rolling releases)

    --edit-- not xorg-server dependant but more nvidia-driver dependant.
    Last edited by Naib; 11-08-2011 at 09:37 AM.

    Forum Moderators are not S2 Games employees. My posts in no way represent the view of S2 Games or any of its staff.

    Please use the report post function to have me review a post that you believe is breaking the Forum Rules.
    Check the Sticky Threads for additional information on this sub-forum and the Announcement Threads for more information about Heroes of Newerth as a whole!

    -----------------------------


  4. #4
    can confirm this behavior, naibs workaround works too.

    I'm here on Fedora 16, with current xserver and 290 nvidia beta driver

  5. #5
    Thanks, changing bpp from 24 to 32 fixed it.

    Fedora 16 here, while I had fedora 15 it wasn't an issue.

  6. #6
    Offline
    Account Icon
    Chat Symbol
    Join Date
    Jul 2009
    Location
    UK - Brum
    Posts
    8,411
    mkdir -p "/home/$(whoami)/.Heroes of Newerth/game"; echo -e "SetSave \"vid_bpp\" \"32\"\nSetSave \"vid_refreshRate\" \"60\"\nSetSave \"vid_resolution\" \"$(xrandr | grep \* | cut -d' ' -f4 | tr x ,)\"\nSetSave \"gl_modesetting\" \"randr,randr11\"" > "/home/$(whoami)/.Heroes of Newerth/game/startup.cfg"


    This oneliner will seed it for you
    Last edited by Naib; 01-16-2012 at 05:24 PM.

    Forum Moderators are not S2 Games employees. My posts in no way represent the view of S2 Games or any of its staff.

    Please use the report post function to have me review a post that you believe is breaking the Forum Rules.
    Check the Sticky Threads for additional information on this sub-forum and the Announcement Threads for more information about Heroes of Newerth as a whole!

    -----------------------------


  7. #7
    Offline
    S2 Staff Member S2 Games Staff
    Join Date
    Jul 2009
    Posts
    33,874
    I filed this in the bug tracker in case you wanted to know

    S2 Games: Dedicated employees serving dedicated gamers. Continuous development. Never-ending improvement.
    -----------------------------


    Tech Support and Customer Support: https://www.heroesofnewerth.com/support/


    Look for my highlighted text (important information) and grey text (interesting but not required information).

  8. #8
    Offline
    Account Icon
    Chat Symbol
    Join Date
    Jul 2009
    Location
    UK - Brum
    Posts
    8,411
    thats good know. only reason i bumped this was a couple of techsupport surrounding this have started popping up. i made the 1liner to ease it.

    i added it here just incase omeone finds this before tech

    Forum Moderators are not S2 Games employees. My posts in no way represent the view of S2 Games or any of its staff.

    Please use the report post function to have me review a post that you believe is breaking the Forum Rules.
    Check the Sticky Threads for additional information on this sub-forum and the Announcement Threads for more information about Heroes of Newerth as a whole!

    -----------------------------


Posting Permissions

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