Bug 2142113 - steam: libpango-1.0.so.0: undefined symbol: hb_ot_layout_get_horizontal_baseline_tag_for_script
Summary: steam: libpango-1.0.so.0: undefined symbol: hb_ot_layout_get_horizontal_basel...
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: pango
Version: 37
Hardware: i686
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Peng Wu
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-11-11 16:11 UTC by Knut J BJuland
Modified: 2022-12-02 10:14 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-12-02 10:14:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Strace of L4D2 starts on wayland (4.21 MB, text/plain)
2022-11-21 09:08 UTC, Knut J BJuland
no flags Details

Description Knut J BJuland 2022-11-11 16:11:09 UTC
Description of problem:
libpangoft2-1.0.so.0: undefined symbol: hb_ft_face_create


Version-Release number of selected component (if applicable):
1.50.11

How reproducible:
Every time

Steps to Reproduce:
1. Launch left 4 dead 2 and watch this error
2.
3.

Actual results:
It crash

Expected results:
should run

Additional info:

Comment 1 Knut J BJuland 2022-11-11 21:46:39 UTC
hb_ot_layout_get_horizontal_baseline_tag_for_script

Comment 2 Jens Petersen 2022-11-12 04:39:21 UTC
Can you provided more details please?
You mean Steam crashes?

Comment 3 Jens Petersen 2022-11-12 04:43:30 UTC
I found this related issue https://github.com/ValveSoftware/Source-1-Games/issues/4095

Comment 4 Knut J BJuland 2022-11-12 05:19:28 UTC
ailed to dlopen /extra_space2/SteamLibrary/steamapps/common/Left 4 Dead 2/bin/chromehtml.so error=/lib/libpango-1.0.so.0: undefined symbol: hb_ot_layout_get_horizontal_baseline_tag_for_script
 failed to dlopen /extra_space2/SteamLibrary/steamapps/common/Left 4 Dead 2/bin/chromehtml.so error=/lib/libpango-1.0.so.0: undefined symbol: hb_ot_layout_get_horizontal_baseline_tag_for_script
 failed to dlopen chromehtml.so error=/lib/libpango-1.0.so.0: undefined symbol: hb_ot_layout_get_horizontal_baseline_tag_for_script
Could not load chromehtml library.Querying for subscribed files

Comment 5 Knut J BJuland 2022-11-12 05:20:57 UTC
nm -D /usr/lib/libpangoft2-1.0.so.0 |grep hb_ot_layout_get_horizontal_baseline_tag_for_script

Comment 6 Jens Petersen 2022-11-16 02:58:44 UTC
Could you try using the Stream flatpak?

Comment 7 Peng Wu 2022-11-16 03:46:34 UTC
The hb_ot_layout_get_horizontal_baseline_tag_for_script function is defined in the harfbuzz library.

$ nm -D /usr/lib/libharfbuzz.so.0|grep hb_ot_layout_get_horizontal_baseline_tag_for_script
000605b0 T hb_ot_layout_get_horizontal_baseline_tag_for_script

$ nm -D /usr/lib/libpango-1.0.so.0|grep hb_ot_layout_get_horizontal_baseline_tag_for_script
         U hb_ot_layout_get_horizontal_baseline_tag_for_script

Maybe dlopen needs to load libharfbuzz.so.0 first?

Comment 8 Knut J BJuland 2022-11-16 16:29:02 UTC
I have tried both Steam from rpmfusion and flatpak.

Comment 9 Knut J BJuland 2022-11-18 06:58:56 UTC
I workaround it by adding LD_PRELOAD=/usr/lib/libharfbuzz.so.0. It work in X11 but fails in Wayland.

Comment 10 Peng Wu 2022-11-21 02:04:14 UTC
Could you provide the new log in Wayland?

Comment 11 Knut J BJuland 2022-11-21 06:40:16 UTC
ERROR: ld.so: object '/usr/lib/libharfbuzz.so.0' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/usr/lib64/libharfbuzz.so.0' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
GameAction [AppID 550, ActionID 1] : LaunchApp changed task to Completed with ""
SDL video target is 'x11'
SDL video target is 'x11'
SDL failed to create GL compatibility profile (whichProfile=0!
This system supports the OpenGL extension GL_EXT_framebuffer_object.
This system supports the OpenGL extension GL_EXT_framebuffer_blit.
This system supports the OpenGL extension GL_EXT_framebuffer_multisample.
This system DOES NOT support the OpenGL extension GL_APPLE_fence.
This system supports the OpenGL extension GL_NV_fence.
This system supports the OpenGL extension GL_ARB_sync.
This system supports the OpenGL extension GL_EXT_draw_buffers2.
This system supports the OpenGL extension GL_EXT_bindable_uniform.
This system DOES NOT support the OpenGL extension GL_APPLE_flush_buffer_range.
This system supports the OpenGL extension GL_ARB_map_buffer_range.
This system supports the OpenGL extension GL_ARB_vertex_buffer_object.
This system supports the OpenGL extension GL_ARB_occlusion_query.
This system DOES NOT support the OpenGL extension GL_APPLE_texture_range.
This system DOES NOT support the OpenGL extension GL_APPLE_client_storage.
This system DOES NOT support the OpenGL extension GL_ARB_uniform_buffer.
This system supports the OpenGL extension GL_ARB_vertex_array_bgra.
This system supports the OpenGL extension GL_EXT_vertex_array_bgra.
This system supports the OpenGL extension GL_ARB_framebuffer_object.
This system DOES NOT support the OpenGL extension GL_GREMEDY_string_marker.
This system supports the OpenGL extension GL_ARB_debug_output.
This system supports the OpenGL extension GL_EXT_direct_state_access.
This system supports the OpenGL extension GL_NV_bindless_texture.
This system DOES NOT support the OpenGL extension GL_AMD_pinned_memory.
This system supports the OpenGL extension GL_EXT_framebuffer_multisample_blit_scaled.
This system supports the OpenGL extension GL_EXT_texture_sRGB_decode.
This system supports the OpenGL extension GL_NVX_gpu_memory_info.
This system DOES NOT support the OpenGL extension GL_ATI_meminfo.
This system supports the OpenGL extension GL_EXT_texture_compression_s3tc.
This system supports the OpenGL extension GL_EXT_texture_compression_dxt1.
This system DOES NOT support the OpenGL extension GL_ANGLE_texture_compression_dxt3.
This system DOES NOT support the OpenGL extension GL_ANGLE_texture_compression_dxt5.
This system DOES NOT support the OpenGL extension GLX_EXT_swap_control_tear.
GL_NV_bindless_texture: DISABLED
GL_AMD_pinned_memory: DISABLED
GL_EXT_texture_sRGB_decode: AVAILABLE
Installing breakpad exception handler for appid(steam)/version(1668842190)
Installing breakpad exception handler for appid(steam)/version(1668842190)
Using shader api: shaderapidx9
GL_NVX_gpu_memory_info: AVAILABLE
GL_ATI_meminfo: UNAVAILABLE
GL_NVX_gpu_memory_info: Total Dedicated: 8388608, Total Avail: 8388608, Current Avail: 6003584
GL_MAX_SAMPLES_EXT: 32
WARNING: unable to link grab_window and grab_window because one or more is a ConCommand.
Convar sdl_displayindex has multiple different change callbacks
Using breakpad crash handler
[S_API] SteamAPI_Init(): Loaded '/home/knutjb/.local/share/Steam/linux32/steamclient.so' OK.
Game process updated : AppID 550 "/home/knutjb/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=550 -- /home/knutjb/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/extra_space2/SteamLibrary/steamapps/common/Left 4 Dead 2/./hl2.sh' -game left4dead2 -steam -autocoonfig ", ProcID 268358, IP 0.0.0.0:0
Setting breakpad minidump AppID = 550
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
SteamInternal_SetMinidumpSteamID:  Caching Steam ID:  76561198035190431 [API loaded yes]
SteamInternal_SetMinidumpSteamID:  Setting Steam ID:  76561198035190431
Did not detect any valid joysticks.

(hl2_linux:268358): Gtk-WARNING **: 07:38:34.383: Unable to locate theme engine in module_path: "adwaita",
/usr/share/themes/Adwaita/gtk-2.0/main.rc:733: error: unexpected identifier 'direction', expected character '}'

(hl2_linux:268358): Gtk-WARNING **: 07:38:34.385: Unable to locate theme engine in module_path: "adwaita",
/usr/share/themes/Adwaita/gtk-2.0/hacks.rc:28: error: invalid string constant "normal_entry", expected valid string constant
Gtk-Message: 07:38:34.386: Failed to load module "pk-gtk-module"
[1121/073834:ERROR:resource_bundle.cc(411)] Failed to load /extra_space2/SteamLibrary/steamapps/common/Left 4 Dead 2/cef_gtk.pak
Some features may not be available.
[1121/073834:WARNING:proxy_service.cc(646)] PAC support disabled because there is no system implementation
Querying for subscribed files
IDirect3DDevice9::Create: BackBufWidth: 3072, BackBufHeight: 1728, D3DFMT: 21, BackBufCount: 2, MultisampleType: 2, MultisampleQuality: 0
GL sampler object usage: ENABLED
GL prefer MapBufferRange: NO
BinkOpen( /extra_space2/SteamLibrary/steamapps/common/Left 4 Dead 2/left4dead2/media/valve.bik )
ConVarRef volume doesn't point to an existing ConVar
ERROR: ld.so: object '/usr/lib64/libharfbuzz.so.0' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
crash_20221121073836_2.dmp[268384]: Uploading dump (out-of-process)
/tmp/dumps/crash_20221121073836_2.dmp
crash_20221121073836_2.dmp[268384]: Finished uploading minidump (out-of-process): success = yes
crash_20221121073836_2.dmp[268384]: response: CrashID=bp-97c6272e-cd47-4e25-b4f9-14ef32221120
crash_20221121073836_2.dmp[268384]: file ''/tmp/dumps/crash_20221121073836_2.dmp'', upload yes: ''CrashID=bp-97c6272e-cd47-4e25-b4f9-14ef32221120''
/extra_space2/SteamLibrary/steamapps/common/Left 4 Dead 2/./hl2.sh: line 72: 268358 Segmentation fault      (core dumped) ${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@"
Game process removed: AppID 550 "/home/knutjb/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=550 -- /home/knutjb/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/extra_space2/SteamLibrary/steamapps/common/Left 4 Dead 2/./hl2.sh' -game left4dead2 -steam -autocoonfig ", ProcID 268358 
ThreadGetProcessExitCode: no such process 268358
ThreadGetProcessExitCode: no such process 268355
ThreadGetProcessExitCode: no such process 268354
ThreadGetProcessExitCode: no such process 268353
ThreadGetProcessExitCode: no such process 268352
Game 550 created interface STEAMAPPLIST_INTERFACE_VERSION001 / 
Game 550 created interface STEAMAPPS_INTERFACE_VERSION008 / 
Game 550 created interface STEAMHTMLSURFACE_INTERFACE_VERSION_005 / 
Game 550 created interface STEAMHTTP_INTERFACE_VERSION003 / 
Game 550 created interface STEAMINVENTORY_INTERFACE_V003 / 
Game 550 created interface STEAMMUSICREMOTE_INTERFACE_VERSION001 / 
Game 550 created interface STEAMMUSIC_INTERFACE_VERSION001 / 
Game 550 created interface STEAMPARENTALSETTINGS_INTERFACE_VERSION001 / 
Game 550 created interface STEAMREMOTESTORAGE_INTERFACE_VERSION016 / 
Game 550 created interface STEAMSCREENSHOTS_INTERFACE_VERSION003 / 
Game 550 created interface STEAMUGC_INTERFACE_VERSION016 / 
Game 550 created interface STEAMUSERSTATS_INTERFACE_VERSION012 / 
Game 550 created interface STEAMVIDEO_INTERFACE_V002 / 
Game 550 created interface SteamController008 / 
Game 550 created interface SteamFriends017 / 
Game 550 created interface SteamInput006 / 
Game 550 created interface SteamMatchGameSearch001 / 
Game 550 created interface SteamMatchMaking009 / 
Game 550 created interface SteamMatchMakingServers002 / 
Game 550 created interface SteamNetworking006 / 
Game 550 created interface SteamUser021 / 
Game 550 created interface SteamUser021 / User
Game 550 created interface SteamUtils010 / 
Game 550 method call count for IClientRemoteStorage::EnumerateUserSubscribedFiles : 1
Game 550 method call count for IClientAppManager::GetCurrentLanguage : 2
Game 550 method call count for IClientUtils::RecordSteamInterfaceCreation : 46
Game 550 method call count for IClientUtils::GetAppID : 47
Game 550 method call count for IClientUser::GetSteamID : 1
Uploaded AppInterfaceStats to Steam
Installing breakpad exception handler for appid(steam)/version(1668842190)
Installing breakpad exception handler for appid(steam)/version(166

Comment 12 Knut J BJuland 2022-11-21 09:08:36 UTC
Created attachment 1926061 [details]
Strace of L4D2 starts on wayland

Comment 13 Knut J BJuland 2022-11-21 14:08:13 UTC
It worked by using -vulkan in wayland. Worksforme.

Comment 14 Peng Wu 2022-11-30 05:32:10 UTC
Could you forward the findings to Steam community?

Comment 15 Knut J BJuland 2022-12-01 17:42:29 UTC
yes, please close.

Comment 16 Peng Wu 2022-12-02 10:14:09 UTC
Okay, thanks!


Note You need to log in before you can comment on or make changes to this bug.