search for: ld_preload

Displaying 20 results from an estimated 269 matches for "ld_preload".

2020 May 09
7
Zoom....
Hi, folks, Updated CentOS 7 the other day. Updated zoom last night. Ancient (15 yr old) USB camera, Logitech QuickCam Express. If I run LD_PRELOAD=/usr/lib64/libv4l/v4l2convert.so cheese, I get video. Zoom, with or without the LD_PRELOAD - no video. I've tried stracing zoom, and created a file /etc/ld.so.preload, with the contents of /usr/lib64/libv4l/v4l2convert.so, and in strace, I see it loading it, but still no video. Anyone...
2009 Dec 01
1
LD_PRELOAD temporary patch
...ot;); unsetenv(LD_ "DEBUG"); } - ld_debug = getenv(LD_ "DEBUG"); - libmap_disable = getenv(LD_ "LIBMAP_DISABLE") != NULL; - libmap_override = getenv(LD_ "LIBMAP"); - ld_library_path = getenv(LD_ "LIBRARY_PATH"); - ld_preload = getenv(LD_ "PRELOAD"); dangerous_ld_env = libmap_disable || (libmap_override != NULL) || (ld_library_path != NULL) || (ld_preload != NULL); ld_tracing = getenv(LD_ "TRACE_LOADED_OBJECTS"); --- 357,379 ---- * is called. If any child process calls set...
2019 Jul 17
2
Preloading shared library with libVirt
Hi, I am trying to preload two shared libraries while running Qemu using libvirt. To preload the shared libraries I have added an environment variable in the $domain.xml file with the following command: ``` virt-xml generic --edit --confirm --qemu-commandline 'env=LD_PRELOAD=/home/probir/Downloads/kpv_temp/temp/kvmTest/build_kvm/libperform.so:/home/probir/Downloads/kpv_temp/temp/kvmTest/dependencies/libmonitor/installDir/lib/libmonitor.so' ``` However, while running the domain, I get the following message of failure to preload the shared files in the log. ``` 201...
2016 Oct 19
4
IntrusiveRefCntPtr vs std::shared_ptr
...prepending a 32 bit object size, just for realloc(), grrrrrr kill it with fire), and a free() that is an empty function. There's a calloc() that calls the above malloc() and then memset(). And a realloc() that is a no-op if the size is smaller, or does malloc(), memcpy() if bigger. Then I used LD_PRELOAD to replace the standard malloc library with mine. Result: ~10% faster execution than llc without LD_PRELOAD, and ~180 MB of the array used (120 MB on the 32 bit ARM). Then I built BDW GC as a malloc replacement (with free() as a no-op) and used LD_PRELOAD with it. Result: ~20% faster execution t...
2019 Oct 17
2
llvm-strip creates unloadable shared objects on linux-armv7hf
...we switch from not passing args to llvm-strip to pass -strip-all-gnu I built bzip2 and libbz2.so to show this case here: https://1drv.ms/u/s!Amjta5FRkBbbkiz14aHTRJe03LlL?e=2mGvTN This is the error we got by using the stripped shared object with llvm-strip -strip-all: admin at Netgear-RN212:~/b$ LD_PRELOAD=./libbz2.so.all ./bzip2 ERROR: ld.so: object './libbz2.so.all' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ./bzip2: error while loading shared libraries: libbz2.so: cannot open shared object file: No such file or directory And with strip-all-gnu it works:...
2009 Jun 15
2
Playing Games with Wine while listening to music
I have this problem: When playing a PC game via wine while listening to music with let's say Amarok, there's no sound in the PC game anymore. It's like the sound channel is occupied by the music player so wine cannot playback any soundfiles. Sounds are working if I play a Linux game like Nexuiz while running some music via a music player (ok, completely different, I know, but
2020 May 10
1
Zoom....
On 2020-05-09 19:41, Liam O'Toole wrote: > On Sat, 09 May, 2020 at 16:02:17 -0400, mark wrote: >> Hi, folks, >> >> Updated CentOS 7 the other day. Updated zoom last night. Ancient (15 yr >> old) USB camera, Logitech QuickCam Express. >> >> If I run LD_PRELOAD=/usr/lib64/libv4l/v4l2convert.so cheese, I get video. >> Zoom, with or without the LD_PRELOAD - no video. I've tried stracing zoom, >> and created a file /etc/ld.so.preload, with the contents of >> /usr/lib64/libv4l/v4l2convert.so, and in strace, I see it loading it, but >&...
2006 Oct 31
0
6410293 check_rtime should unset LD_PRELOAD* variables
Author: sommerfe Repository: /hg/zfs-crypto/gate Revision: 5d2412de4f8a69405cf431bb8cd4e420b2b8dc66 Log message: 6410293 check_rtime should unset LD_PRELOAD* variables Files: update: usr/src/tools/scripts/check_rtime.pl
2007 Mar 19
1
aoss error (AMD64 OS)
When I try to run an app with wine (or wine with no app at all) using aoss, I get errors. For example, when I run: aoss wine I get this output: ERROR: ld.so: object '/usr/$LIB/libaoss.so' from LD_PRELOAD cannot be preloaded: ignored. ERROR: ld.so: object '/usr/$LIB/libaoss.so' from LD_PRELOAD cannot be preloaded: ignored. Usage: wine PROGRAM [ARGUMENTS...] Run the specified program wine --help Display this help and exit wine --version Output...
2007 Oct 22
0
Linux backup server LD_PRELOAD
...the native filesystem calls. There is a performance penalty to this library as it causes a stat() on each extended attribute system call. When sqlite3 writes many attributes there is also substantial slow-down. Start rsync like this: XATTR_LOG=/tmp/xattr.log XATTR_DB=/var/whatever/xattr.db LD_PRELOAD=.../libxattr.so rsync <options> -------------- next part -------------- A non-text attachment was scrubbed... Name: libxattr.c Type: application/octet-stream Size: 15744 bytes Desc: not available Url : http://lists.samba.org/archive/rsync/attachments/20071022/8d357db4/libxattr.obj
2015 May 05
3
[Bug 2394] New: Provide a global configuration option to disable ControlPersist
...Reporter: jjelen at redhat.com Created attachment 2616 --> https://bugzilla.mindrot.org/attachment.cgi?id=2616&action=edit proposed patch +++ This bug was cloned from Red Hat Bugzilla ? Bug 1218351 +++ The new ControlPersist feature undesireably closes fds that are loaded by an adhoc LD_PRELOAD application. Customer would like to be able to remove the ControlPersist feature set by providing a global configuration option. This will allow ssh to act as it did before and not interfere with customer adhoc LD_PRELOAD app. e.g. if( options.controlpersist != 0 ){ closefrom(STDERR_FILENO+1) }...
2016 Oct 19
2
IntrusiveRefCntPtr vs std::shared_ptr
...ze, just for > realloc(), grrrrrr kill it with fire), and a free() that is an empty > function. There's a calloc() that calls the above malloc() and then > memset(). And a realloc() that is a no-op if the size is smaller, or does > malloc(), memcpy() if bigger. > > Then I used LD_PRELOAD to replace the standard malloc library with mine. > > Result: ~10% faster execution than llc without LD_PRELOAD, and ~180 MB of > the array used (120 MB on the 32 bit ARM). > > Then I built BDW GC as a malloc replacement (with free() as a no-op) and > used LD_PRELOAD with it. >...
2006 Mar 08
4
Latest on Debian Sid Always Gives Error (resend)
wine: Unhandled page fault on read access to 0x409ffd80 at address 0x4000ba7c (thread 0009), starting debugger... err:seh:start_debugger Couldn't start debugger ("winedbg --auto 8 32") (2) Read the Wine Developers Guide on how to set up winedbg or another debugger This happens on everything I try run. Note: Still a problem with latest upgrade. It may have more sideeffects than
2017 Aug 12
4
Help to create bugzilla account
On 12 August 2017 at 15:10, luke-tierney at uiowa.edu wrote: | As the Python posts poitns out, it is possible to use alternate malloc | implementations, either rebuilding R to use them or using LD_PRELOAD. | On Ubuntu for example, you can have R use jemalloc with | | sudo apt-get install libjemalloc1 | env LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.1 R | | This does not seem to hold onto memory to the same degree, but I don't | know about any other aspect of its performance. Interest...
2019 Oct 17
4
llvm-strip creates unloadable shared objects on linux-armv7hf
...>> >> I built bzip2 and libbz2.so to show this case here: >> https://1drv.ms/u/s!Amjta5FRkBbbkiz14aHTRJe03LlL?e=2mGvTN >> >> This is the error we got by using the stripped shared object with >> llvm-strip -strip-all: >> >> admin at Netgear-RN212:~/b$ LD_PRELOAD=./libbz2.so.all ./bzip2 >> ERROR: ld.so: object './libbz2.so.all' from LD_PRELOAD cannot be >> preloaded (cannot open shared object file): ignored. >> ./bzip2: error while loading shared libraries: libbz2.so: cannot open >> shared object file: No such file or directo...
2015 May 25
3
ssh closing file descriptors for ControlPersist
Hi all, we were discussing internally how to make openssh leave open file descriptors that were open before main using LD_PRELOAD. Lately I filled upstream bugzilla [1] with proposed solution, that could be acceptable by upstream, but I'm also posting on this list to get more attention, other points of view or ideas for this case. I understand well, that closing FDs is important for backgrounded [mux] process who is...
2013 Jan 19
1
error on startup
...t and unset environment variables for the target process. It is possible to provide several variables by separating them by commas in getsubopt(3) style. Additionally it is possible to provide the -E and -U options multiple times. The following lines are equivalent: -E var1=val2 -E var2=val2 -U LD_PRELOAD -U LD_DEBUG -E var1=val2,var2=val2 -U LD_PRELOAD,LD_DEBUG QEMU_SET_ENV=var1=val2,var2=val2 QEMU_UNSET_ENV=LD_PRELOAD,LD_DEBUG Note that if you provide several changes to a single variable the last change will stay in effect. root at host:~# echo $? 1 Thanks, -bryan
2013 Mar 20
4
[LLVMdev] Hidden-visibility aliases to default-visibility globals
...e best way to fix this. The GlobalValue::mayBeOverridden() function controls whether LLVM resolves aliases, and hacking this function to return true if a global is hidden gets around this particular problem, but converts the function into a misnomer (a hidden alias may _not_ be overridden, e.g. by LD_PRELOAD, although I'm pretty sure mayBeOverridden is not intended to care about LD_PRELOAD) and results in a lot of deoptimisation. I'm thinking of introducing a new function GlobalAlias::mayBeResolved() which returns true if mayBeOverridden() returns false and the visibility of the alias is the s...
2008 Dec 27
1
Call of duty 4 on ubuntu 8.10 x64
...f duty 4 on ubuntu 8.1 x64, i've installed wine using the deb repositories, so i've the 1.1.10 version.. When i'm in the call of duty 4 dir i type # aoss env WINEDEBUG=-all wine-pthread iw3mp.exe and this is the output: Code: ERROR: ld.so: object '/usr/$LIB/libaoss.so' from LD_PRELOAD cannot be preloaded: ignored. ERROR: ld.so: object '/usr/$LIB/libaoss.so' from LD_PRELOAD cannot be preloaded: ignored. ERROR: ld.so: object '/usr/$LIB/libaoss.so' from LD_PRELOAD cannot be preloaded: ignored. ERROR: ld.so: object '/usr/$LIB/libaoss.so' from LD_PRELOAD canno...
2011 Oct 19
1
[RFC] aptitude & BTRFS slowness
...of aptitude on a BTRFS filesystem. I don''t think that BTRFS is a slow filesystem, but it seems that some aptitude (or dpkg) patterns are capable to highlight the btrfs slowness in some corner case. In order to alleviate this problem, I wrote a small script which calls aptitude with the LD_PRELOAD libeatmyadata library. And now I want to share this idea (which is not my own, you can see several suggestion about that in the net) in order to collect suggestions and/or critics. For who which don''t know what is libeatmydata, the package info says: "This package contains a small...