Modify

Opened 9 years ago

Closed 5 years ago

#3742 closed defect (obsolete)

LD_PRELOAD problem ....

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

Description

hi

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

ldd irssi

libgmodule-1.2.so.0 => /usr/lib/libgmodule-1.2.so.0 (0x2aaee000)

libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0x2ab30000)

libdl.so.0 => /lib/libdl.so.0 (0x2ab98000)

libncurses.so.5 => /usr/lib/libncurses.so.5 (0x2abdb000)

libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x2ac5c000)

libc.so.0 => /lib/libc.so.0 (0x2acab000)

ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x2aaa8000

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

so i did this ....

LD_PRELOAD="/usr/lib/libtsocks.so" 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?

like

munmap(0x2aaae000, 4096) = 0

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

open("/lib/libgcc_s.so.1", 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/libtsocks.so /lib/libuClibc-0.9.29.so" irssi

Attachments (1)

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

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by anonymous

strace irssi output

comment:1 Changed 9 years ago by anonymous

Correction:

......

ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x2aaa8000

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

so i did this ....

........

comment:2 Changed 5 years ago by nbd

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

Add Comment

Modify Ticket

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


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

 
Note: See TracTickets for help on using tickets.