[tbb-bugs] #27531 [Applications/Tor Browser]: Tor Browser 8 crashes trying to print on Linux

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Jan 13 09:52:36 UTC 2019


#27531: Tor Browser 8 crashes trying to print on Linux
-------------------------------------------------+-------------------------
 Reporter:  mikeperry                            |          Owner:  tbb-
                                                 |  team
     Type:  defect                               |         Status:  new
 Priority:  Medium                               |      Milestone:
Component:  Applications/Tor Browser             |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  tbb-crash, tbb-8.0-issues, tbb-      |  Actual Points:
  regression                                     |
Parent ID:                                       |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by wert2):

 Jaym was missing a definition for gmpz_limbs_read as evidenced by the
 following error:

 symbol lookup error: /usr/lib/x86_64-linux-gnu/libhogweed.so.4: undefined
 symbol: gmpz_limbs_read

 Today looking more closely above I realized I could get feedback in the
 terminal if I start TBB with Browser/firefox instead of Browser/start-tor-
 browser. So, here's what I get (using Fedora 29 with Gnome 3.30.2):


 {{{
 $ /home/xxxx/.local/share/torbrowser/tbb/x86_64/tor-browser_en-
 US/Browser/firefox
 Jan 13 08:59:58.883 [notice] Tor 0.3.4.9 (git-4ac3ccf2863b86e7) running on
 Linux with Libevent 2.1.8-stable, OpenSSL 1.0.2q, Zlib 1.2.11, Liblzma
 N/A, and Libzstd N/A.
 Jan 13 08:59:58.883 [notice] Tor can't help you if you use it wrong! Learn
 how to be safe at https://www.torproject.org/download/download#warning
 Jan 13 08:59:58.883 [notice] Read configuration file
 "/home/xxxx/.local/share/torbrowser/tbb/x86_64/tor-browser_en-
 US/Browser/TorBrowser/Data/Tor/torrc-defaults".
 Jan 13 08:59:58.883 [notice] Read configuration file
 "/home/xxxx/.local/share/torbrowser/tbb/x86_64/tor-browser_en-
 US/Browser/TorBrowser/Data/Tor/torrc".
 Jan 13 08:59:58.887 [notice] Scheduler type KIST has been enabled.
 Jan 13 08:59:58.887 [notice] Opening Socks listener on 127.0.0.1:9150
 Jan 13 08:59:58.887 [notice] Opening Control listener on 127.0.0.1:9151
 Jan 13 08:59:58.000 [notice] Parsing GEOIP IPv4 file
 /home/xxxx/.local/share/torbrowser/tbb/x86_64/tor-browser_en-
 US/Browser/TorBrowser/Data/Tor/geoip.
 Jan 13 08:59:58.000 [notice] Parsing GEOIP IPv6 file
 /home/xxxx/.local/share/torbrowser/tbb/x86_64/tor-browser_en-
 US/Browser/TorBrowser/Data/Tor/geoip6.
 Jan 13 08:59:59.000 [notice] Bootstrapped 0%: Starting
 Jan 13 08:59:59.000 [notice] Starting with guard context "default"
 Jan 13 08:59:59.000 [notice] Bootstrapped 80%: Connecting to the Tor
 network
 Jan 13 08:59:59.000 [notice] New control connection opened from 127.0.0.1.
 Jan 13 08:59:59.000 [notice] New control connection opened from 127.0.0.1.
 1547369999870   addons.webextension.{73a6fe31-595d-460b-a920-fcc0f8843232}
 WARN    Loading extension '{73a6fe31-595d-460b-a920-fcc0f8843232}':
 Reading manifest: Error processing background.persistent: Event pages are
 not currently supported. This will run as a persistent background page.
 1547370000039   addons.webextension.https-everywhere-eff at eff.org
 WARN    Please specify whether you want browser_style or not in your
 browser_action options.
 1547370000039   addons.webextension.{73a6fe31-595d-460b-a920-fcc0f8843232}
 WARN    Please specify whether you want browser_style or not in your
 browser_action options.
 Jan 13 09:00:00.000 [notice] Bootstrapped 85%: Finishing handshake with
 first hop
 Jan 13 09:00:01.000 [notice] Bootstrapped 90%: Establishing a Tor circuit
 Jan 13 09:00:03.000 [notice] Tor has successfully opened a circuit. Looks
 like client functionality is working.
 Jan 13 09:00:03.000 [notice] Bootstrapped 100%: Done
 Jan 13 09:00:06.000 [notice] New control connection opened from 127.0.0.1.
 Jan 13 09:00:06.000 [notice] New control connection opened from 127.0.0.1.
 JavaScript error: chrome://global/content/browser-child.js, line 359:
 NS_ERROR_NOT_AVAILABLE: Component returned failure code: 0x80040111
 (NS_ERROR_NOT_AVAILABLE) [nsIWebNavigation.loadURIWithOptions]
 JavaScript error: chrome://global/content/browser-child.js, line 359:
 NS_ERROR_NOT_AVAILABLE: Component returned failure code: 0x80040111
 (NS_ERROR_NOT_AVAILABLE) [nsIWebNavigation.loadURIWithOptions]

 (firefox:10865): Gtk-WARNING **: 09:02:27.150: /lib64/libhogweed.so.4:
 undefined symbol: __gmpn_cnd_sub_n

 (firefox:10865): Gtk-WARNING **: 09:02:27.157: /lib64/libhogweed.so.4:
 undefined symbol: __gmpn_cnd_sub_n
 Jan 13 09:02:27.000 [notice] Owning controller connection has closed --
 exiting now.
 Jan 13 09:02:27.000 [notice] Catching signal TERM, exiting cleanly.
 Crash Annotation GraphicsCriticalError: |[C0][GFX1-]: Receive IPC close
 with reason=AbnormalShutdown (t=131.831) Segmentation fault (core dumped)
 }}}


 Following traumschule's suggestion with objdump I get:


 {{{
 # objdump -T /home/xxxx/.local/share/torbrowser/tbb/x86_64/tor-browser_en-
 US/Browser/TorBrowser/Tor/libgmp.so.10 | grep gmpn_cnd_sub_n
 # objdump -T /usr/lib64/libgmp.so.10.3.2 | grep gmpn_cnd_sub_n
 0000000000029700 g    DF .text  0000000000000136  Base
 __gmpn_cnd_sub_n
 # objdump -T /usr/lib64/libgmp.so.10 | grep gmpn_cnd_sub_n
 0000000000029700 g    DF .text  0000000000000136  Base
 __gmpn_cnd_sub_n
 }}}


 If I understand this right, gmpn_cnd_sub_n is defined locally but not in
 TBB.  Hope this helps.  (If this is an upstream or elsewhere thing, please
 let me know.)

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/27531#comment:12>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tbb-bugs mailing list