Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

steamclient.so causes Eversion crash #1231

Closed
k1ll opened this issue Feb 3, 2013 · 8 comments
Closed

steamclient.so causes Eversion crash #1231

k1ll opened this issue Feb 3, 2013 · 8 comments

Comments

@k1ll
Copy link

k1ll commented Feb 3, 2013

When I choose Time Attack in the menu and press space to start it the game instantly crashes. Everything else works fine and I was able to play through the normal game.

Command line output:
https://gist.github.com/4702819

System Information:

Processor Information:
    Vendor:  GenuineIntel
    Speed: 2001 Mhz
    8 logical processors
    4 physical processors
    HyperThreading:  Supported
    FCMOV:  Supported
    SSE2:  Supported
    SSE3:  Supported
    SSSE3:  Supported
    SSE4a:  Unsupported
    SSE41:  Supported
    SSE42:  Supported

Network Information:
    Network Speed:  

Operating System Version:
    Linux (64 bit)
    Kernel Name:  Linux
    Kernel Version:  3.7.5-1-ARCH
    X Server vendor:  The X.Org Foundation
    X Server release:  11302000

Video Card:
    Driver:  NVIDIA Corporation GeForce GTX 560M/PCIe/SSE2

    Driver Version:  4.3.0 NVIDIA 313.18
    Desktop Color Depth: 24 bits per pixel
    Monitor Refresh Rate: 59 Hz
    VendorID:  0x10de
    DeviceID:  0x1251
    Number of Monitors:  2
    Number of Logical Video Cards:  1
    Primary Display Resolution:  1680 x 1050
    Desktop Resolution: 3600 x 1080
    Primary Display Size: 18.62" x 11.65"  (21.93" diag)
                                            47.3cm x 29.6cm  (55.7cm diag)
    Primary Bus: PCI Express 16x
    Primary VRAM: 3072 MB
    Supported MSAA Modes:  2x 4x 8x 16x 

Sound card:
    Audio device: Realtek ALC269VB

Memory:
    RAM:  7966 Mb

Miscellaneous:
    UI Language:  English
    LANG:  en_US.UTF-8
    Microphone:  Not set
    Total Hard Disk Space Available:  29527 Mb
    Largest Free Hard Disk Block:  4376 Mb

Installed software:

Recent Failure Reports:

@flibitijibibo
Copy link

Bumping this, since it's Steamworks-related:

#0  0xf4e6be3f in ?? () from /home/flibitijibibo/Steam/linux32/steamclient.so
#1  0xf50922fc in ?? () from /home/flibitijibibo/Steam/linux32/steamclient.so
#2  0xf4ff2cb9 in ?? () from /home/flibitijibibo/Steam/linux32/steamclient.so
#3  0x08074299 in CLeaderboards::FindLeaderboards(char*, int, int) ()
#4  0x08074504 in SteamGetLeaderboard(char*, int, bool) ()
#5  0x08069e09 in t_steam_get_leaderboard_file(unsigned long, unsigned long, unsigned long) ()
#6  0xf7df29fa in ?? () from ./x86/libruby.so.1.9
#7  0xf7e01c9b in ?? () from ./x86/libruby.so.1.9
#8  0xf7df74db in ?? () from ./x86/libruby.so.1.9
#9  0xf7dfd0cc in ?? () from ./x86/libruby.so.1.9
#10 0xf7dfe299 in ?? () from ./x86/libruby.so.1.9
#11 0xf7dfe929 in rb_funcall () from ./x86/libruby.so.1.9
#12 0x0806ec1d in SafeLaunch() ()
#13 0xf7cfd503 in rb_protect () from ./x86/libruby.so.1.9
#14 0x0806fc4c in s_scripted_class::LaunchScript(int, int, unsigned long, unsigned long, unsigned long)
()
#15 0x0806ba9c in t_state_enter(unsigned long, unsigned long) ()
#16 0xf7df2a0b in ?? () from ./x86/libruby.so.1.9
#17 0xf7e01c9b in ?? () from ./x86/libruby.so.1.9
#18 0xf7df74db in ?? () from ./x86/libruby.so.1.9
#19 0xf7dfd0cc in ?? () from ./x86/libruby.so.1.9
#20 0xf7dfe299 in ?? () from ./x86/libruby.so.1.9
#21 0xf7dfe929 in rb_funcall () from ./x86/libruby.so.1.9
#22 0x0806ec1d in SafeLaunch() ()
#23 0xf7cfd503 in rb_protect () from ./x86/libruby.so.1.9
#24 0x0806fc4c in s_scripted_class::LaunchScript(int, int, unsigned long, unsigned long, unsigned long)
()
#25 0x0804e2e8 in StartGame() ()
#26 0x0804e3b9 in GameMain() ()
#27 0x0804d3e5 in main ()

Basically it crashes at steamclient.so when we ask for leaderboards. OSX used to have this issue, but I'm pushing an update today that fixes this (new libsteam_api.dylib and a small type change for Ruby OSX fixed it for us). Linux still has the issue with the newest SDK.

@gdrewb-valve
Copy link
Contributor

How do you get to Time Attack? I can start a new game without an issue, but I don't see a Time Attack option.

@flibitijibibo
Copy link

Time Attack's only unlocked after finishing the game, so here's a save (warning to others: spoilers be here):

http://www.flibitijibibo.com/everSave.tar.bz2

Just put the save.sav in Eversion's root directory and Time Attack will be available.

@gdrewb-valve
Copy link
Contributor

I can repro the crash. It looks like Eversion is calling GetUserAchievementAndUnlock time with invalid parameters (pchName is 3 instead of a string pointer).

@flibitijibibo
Copy link

Yeah, that's what we used to have in the OSX version... but the call we're making there is

SteamUserStats()->FindOrCreateLeaderboard(
    name, // char*
    k_ELeaderboardSortMethodAscending,
    k_ELeaderboardDisplayTypeTimeMilliSeconds
);

The first call right after we log "Finding leaderboards", should be the last line in LOG.TXT in the Eversion directory.

This happens with the latest SDK, but I think the one on Steam now is a few versions behind.

@gdrewb-valve
Copy link
Contributor

Are you certain that you are not compiling with headers from one SDK but linking with libraries from another? Have you mixed or updated any SDK files on the machine you're compiling on?

@flibitijibibo
Copy link

Well, it's fixed. Not sure how to explain this: the SDK headers and library were both up to date, but after compiling the game again, it's happy. Didn't make any changes, but it seems to work now, so I'm happy!

Will give this build to Guilherme now, should be up soon.

@gdrewb-valve
Copy link
Contributor

Thanks, closing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants