Opened 10 years ago

Closed 6 years ago

#3742 closed defect (obsolete)

LD_PRELOAD problem ....

Reported by: anonymous Owned by: developers
Priority: normal Milestone:
Component: packages Version: Trunk
Keywords: Cc:



i found out that tsocks on brcm47xx doesnt seem to work ... it always crashed ....

ldd irssi => /usr/lib/ (0x2aaee000) => /usr/lib/ (0x2ab30000) => /lib/ (0x2ab98000) => /usr/lib/ (0x2abdb000) => /lib/ (0x2ac5c000) => /lib/ (0x2acab000) => /lib/ (0x2aaa8000

LD_PRELOAD=" irssi gives a bus error ....

so i did this ....

LD_PRELOAD="/usr/lib/" strace irssi
see attachment for the complete output ...

why is the build dir of openwrt (build it from trunk in /mnt/data/Openwrt/trunk) linked into the binaries?


munmap(0x2aaae000, 4096) = 0

open("/mnt/data/Openwrt/trunk/build_dir/mipsel/glib-1.2.10/ipkg-install/usr/lib/", O_RDONLY) = -1 ENOENT (No such file or directory)

open("/lib/", O_RDONLY) = 3

fstat(3, {st_mode=S_IFREG|0644, st_size=60806, ...}) = 0


and i also found a way to bring up irssi with tsocks ....

LD_PRELOAD="/usr/lib/ /lib/" irssi

Attachments (1)

strace_irssi.output (9.7 KB) - added by anonymous 10 years ago.
strace irssi output

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by anonymous

strace irssi output

comment:1 Changed 10 years ago by anonymous


...... => /lib/ (0x2aaa8000

LD_PRELOAD="/usr/lib/" irssi gives a bus error ....

so i did this ....


comment:2 Changed 6 years ago by nbd

  • Resolution set to obsolete
  • Status changed from new to closed
  • Version set to Trunk

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.