Opened 6 years ago

Closed 4 years ago

#9985 closed defect (user disappeared)

Linux 64-bit Tor Browser Bundle fails every time on Knoppix 64

Reported by: rock Owned by: chiiph
Priority: Medium Milestone: TorBrowserBundle 2.3.x-stable
Component: Archived/Vidalia Version:
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

The latest Linux 64-bit Tor Browser Bundle fails every time on Knoppix 64:

Here's how to reproduce:

  1. Download the latest 64-bit TOR Browser Bundle for Linux.
  2. Boot to a Knoppix 64 bit disk (I tested this on a Lenovo W510 laptop).
  3. Try to start the TBB and you will fail every single time.

Here's how I booted to a Knoppix DVD on my 64-bit Lenovo W510 laptop
(with Nvidia graphics):

knoppix64 xmodule=nv acpi=off

knoppix@Microknoppix:~$ uname -a
Linux Microknoppix 3.6.11-64 #10 SMP PREEMPT Wed Dec 19 23:51:48 CET 2012 x86_64 GNU/Linux

Here's a log of the bug in the latest build of TOR such that it fails every single time on Knoppix.

The question is why doesn't the TBB work on 64-bit Knoppix?

knoppix@Microknoppix:~$ script /tmp/foo.log
Script started on Tue 15 Oct 2013 04:25:31 PM UTC
...
knoppix@Microknoppix:~$ cd /media/sdb1/portable
...
knoppix@Microknoppix:/media/sdb1/portable$ ls
archive
readthis.txt
tor-browser-2.3.25-13_en-US_windows.exe
tor-browser_en-US
tor-browser-gnu-linux-i686-2.3.25-13-dev-en-US.tar.gz
tor-browser-gnu-linux-x86_64-2.3.25-13-dev-en-US.tar
...
knoppix@Microknoppix:/media/sdb1/portable$ file tor-browser_en-US
tor-browser_en-US: directory
...
knoppix@Microknoppix:/media/sdb1/portable$ tor-browser_en-US
knoppix@Microknoppix:/media/sdb1/portable/tor-browser_en-US$ ls
App Data Docs Lib start-tor-browser tmp
...
knoppix@Microknoppix:/media/sdb1/portable/tor-browser_en-US$ file start-tor-
brow ser
start-tor-browser: POSIX shell script, ASCII text executable
...
knoppix@Microknoppix:/media/sdb1/portable/tor-browser_en-US$ ./start-tor-
browser
Launching Tor Browser Bundle for Linux in /media/sdb1/portable/tor-
browser_en-US
./start-tor-browser: line 228: ./App/vidalia: No such file or directory
Vidalia exited abnormally. Exit code: 127
...
knoppix@Microknoppix:/media/sdb1/portable/tor-browser_en-US$ whoami
knoppix
...
knoppix@Microknoppix:/media/sdb1/portable/tor-browser_en-US$ file
./App/vidalia
./App/vidalia: ELF 64-bit LSB executable, x86-64, version 1 (SYSV),
dynamically linked (uses shared libs), for GNU/Linux 2.6.18,
BuildID[sha1]=0x98bf0995b1cabbe1f955a8064421e400906e50e5, stripped
...
knoppix@Microknoppix:/media/sdb1/portable/tor-browser_en-US$ ls -l
./App/vidalia
-rwxrwxrwx 1 knoppix knoppix 6234920 Sep 19 19:05 ./App/vidalia
...
knoppix@Microknoppix:/media/sdb1/portable/tor-browser_en-US$ uname -m
x86_64
...
knoppix@Microknoppix:/media/sdb1/portable/tor-browser_en-US$ pwd
/media/sdb1/portable/tor-browser_en-US
...
knoppix@Microknoppix:/media/sdb1/portable/tor-browser_en-US$ ./App/vidalia
bash: ./App/vidalia: No such file or directory
...
knoppix@Microknoppix:/media/sdb1/portable/tor-browser_en-US$ touch !$
touch ./App/vidalia
...
$ objdump -s -j .interp ./App/vidalia

App/vidalia: file format elf64-x86-64
Contents of section .interp:

400200 2f6c6962 36342f6c 642d6c69 6e75782d /lib64/ld-linux-
400210 7838362d 36342e73 6f2e3200 x86-64.so.2.

...
knoppix@Microknoppix:/media/sdb1/portable/tor-browser_en-US$ exit
exit
...
Script done on Tue 15 Oct 2013 04:27:33 PM UTC

Bug: TBB does not work on 64-bit Knoppix.

Child Tickets

Change History (4)

comment:1 Changed 6 years ago by rock

I gave up, and booted to 32-bit Knoppix using the same Knoppix DVD and unpacked the 32-bit
Tor Browser Bundle and it worked fine.

So, the problem is that the 64-bit TBB doesn't work on 64-bit Knoppix.

Googling, it seems I'm the only one reporting the problem on Knoppix, but tons of people have the same problem on Ubuntu, so, it's a 32-bit/64-mix mixup either on the Knoppix side or on the Tor side
(I'm not sure which because I don't understand the problem).

Nonetheless, the 32-bit TBB works just fine with the 32-bit Knoppix:
$ script /tmp/foo.txt
Script started on Wed 16 Oct 2013 04:31:08 AM UTC

knoppix@Microknoppix:/media/sdb1/portable/tor-browser_en-US$ uname -m
i686

knoppix@Microknoppix:/media/sdb1/portable/tor-browser_en-US$ ls -l ./App/vidalia
-rwxrwxrwx 1 knoppix knoppix 6028184 Sep 19 19:18 ./App/vidalia

knoppix@Microknoppix:/media/sdb1/portable/tor-browser_en-US$ file ./App/vidalia
./App/vidalia: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, BuildID[sha1]=0x364e715966257c9fb89fc6c62d3c4f834700c108, stripped

knoppix@Microknoppix:/media/sdb1/portable/tor-browser_en-US$ objdump -s -j .inte rp App/vidalia

App/vidalia: file format elf32-i386

Contents of section .interp:

8048134 2f6c6962 2f6c642d 6c696e75 782e736f /lib/ld-linux.so
8048144 2e3200 .2.

knoppix@Microknoppix:/media/sdb1/portable/tor-browser_en-US$ exit
exit

So, in summary, here's how to reproduce the problem in five minutes:

  1. Obtain a Knoppix boot DVD (http://www.knopper.net/knoppix/index-en.html).
  2. Boot to 32-bit Knoppix (e.g., knoppix acpi=off xmodule=nv for the Lenovo W510)
  3. Download and unpack and run the latest 32-bit TBB (it will work).
  4. Now boot to 64-bit Knoppix (e.g., knoppix64 acpi=off xmodule=nv for the Lenovo W510)
  5. Download and unpack and run the latest 64-bit TBB (it will fail).

comment:2 Changed 6 years ago by rock

Maybe the error message should mention what file the 64-bit TBB is missing on 64-bit Knoppix?

comment:3 Changed 6 years ago by arma

How does the TBB 3.x fare for you?
https://blog.torproject.org/category/tags/tbb-30

(TBB 2.x is deprecated and we're going to throw it away as soon as we can call TBB 3.x stable.)

comment:4 Changed 4 years ago by gk

Resolution: user disappeared
Status: newclosed
Note: See TracTickets for help on using tickets.