[Bug 1956783] [NEW] Xserver crash always when SteamVR is started

2022-01-07 Thread Kate Alhola
Public bug reported:

Xserver crash when SteamVR is started

From /var/log/ Xorg.1.log.old

[45.171] Build Operating System: linux Ubuntu
[45.171] Current Operating System: Linux kathy 5.11.0-44-generic 
#48~20.04.2-Ubuntu SMP Tue Dec 14 15:36:44 UTC 2021 x86_64
[45.171] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.11.0-44-generic 
root=UUID=9c5035b9-3040-42ba-bdda-26879cf67955 ro
[45.171] Build Date: 14 December 2021  02:14:13PM
[45.171] xorg-server 2:1.20.13-1ubuntu1~20.04.2 (For technical support 
please see http://www.ubuntu.com/support) 
[45.189] (II) NVIDIA(0): NVIDIA GPU NVIDIA GeForce RTX 3080 Ti (GA102-A) at 
PCI:1:0:0
[45.189] (--) NVIDIA(GPU-0): HTC Corporation VIVE Pro 2 (DFP-3): connected
[45.189] (--) NVIDIA(GPU-0): HTC Corporation VIVE Pro 2 (DFP-3): Internal 
DisplayPort
[45.189] (--) NVIDIA(GPU-0): HTC Corporation VIVE Pro 2 (DFP-3): 2670.0 MHz 
maximum pixel clock
[45.192] (--) NVIDIA(GPU-0): DELL UP3216Q (DFP-6): connected
[45.192] (--) NVIDIA(GPU-0): DELL UP3216Q (DFP-6): Internal DisplayPort
[45.192] (--) NVIDIA(GPU-0): DELL UP3216Q (DFP-6): 2670.0 MHz maximum pixel 
clock
[
[   137.937] (EE) 
[   137.937] (EE) Backtrace:
[   137.939] (EE) 0: /usr/lib/xorg/Xorg (OsLookupColor+0x13c) [0x55780974caec]
[   137.939] (EE) 1: /lib/x86_64-linux-gnu/libpthread.so.0 (funlockfile+0x60) 
[0x7f9486cb43c0]
[   137.939] (EE) 2: ? (?+0x0) [0x0]

This issue happens always with update published 2022-01-04 (
2022-01-04 14:28:37 UTC Published   Focal   security
restricted  libs495.46-0ubuntu0.20.04.1)

This did not happen 495 earlier releases. Temporary fix is to downgrade 470 
version
Ubuntu 20.04.3 LTS

** Affects: nvidia-graphics-drivers-495 (Ubuntu)
 Importance: Undecided
 Status: New

** Attachment added: "Xorg.1.log.old"
   
https://bugs.launchpad.net/bugs/1956783/+attachment/5552637/+files/Xorg.1.log.old

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1956783

Title:
  Xserver crash always when SteamVR is started

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-495/+bug/1956783/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1248642] Re: dynamic library inconsistencies with OpenGL/C++

2013-11-22 Thread Kate Alhola
The issue is that for some reason it gets  libpthread.so.0 referenced
but not listed as in a.out NEDED section

1. Conpile  std::string s; commented out, it works, do objdump -pR a.out 
Dynamic Section:
  NEEDED   libGL.so.1
  NEEDED   libc.so.6
Version References:
  required from libc.so.6:
0x09691a75 0x00 02 GLIBC_2.2.5

2. Do same thing the std::string line active , notice that libpthreas.so.0 is 
not NEEDED but it is in version referennces and there is  __pthread_key_create 
symbol and you got the bug
Dynamic Section:
  NEEDED   libGL.so.1
  NEEDED   libstdc++.so.6
  NEEDED   libgcc_s.so.1
  NEEDED   libc.so.6
Version References:
  required from libgcc_s.so.1:
0x0b792650 0x00 06 GCC_3.0
  required from libpthread.so.0:
0x09691a75 0x00 04 GLIBC_2.2.5
  required from libc.so.6:
0x09691a75 0x00 03 GLIBC_2.2.5
  required from libstdc++.so.6:
0x056bafd3 0x00 05 CXXABI_1.3
0x08922974 0x00 02 GLIBCXX_3.4

DYNAMIC RELOCATION RECORDS
OFFSET   TYPE  VALUE 
00600ff8 R_X86_64_GLOB_DAT  __gmon_start__
00601018 R_X86_64_JUMP_SLOT  _ZNSsC1Ev
00601020 R_X86_64_JUMP_SLOT  glEnable
00601028 R_X86_64_JUMP_SLOT  __gmon_start__
00601030 R_X86_64_JUMP_SLOT  __libc_start_main
00601038 R_X86_64_JUMP_SLOT  _ZNSsD1Ev
00601040 R_X86_64_JUMP_SLOT  __pthread_key_create


3. Add call to pthread , it woirks again
 #include pthread.h
#include string
#include GL/gl.h
int main(int argc, char *argv[]) {
  std::string s;
 glEnable(GL_LIGHT0);
 int i=pthread_getconcurrency();
}

And objdump looks now
Dynamic Section:
  NEEDED   libGL.so.1
  NEEDED   libstdc++.so.6
  NEEDED   libgcc_s.so.1
  NEEDED   libpthread.so.0
  NEEDED   libc.so.6

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1248642

Title:
  dynamic library inconsistencies with OpenGL/C++

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-319/+bug/1248642/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs