Changes between Initial Version and Version 1 of Ticket #22158, comment 4


Ignore:
Timestamp:
May 5, 2017, 7:54:22 PM (2 years ago)
Author:
jb.1234abcd
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22158, comment 4

    initial v1  
    1 I set it up as follows.
    2 
    31My regular (production) tor browser is in dir
    42/home/jb/Downloads/tor-browser_en-US/Browser/firefox
    53I unzipped debug symbols file in dir:
    64/home/jb/Downloads/Debug/Browser/
    7 $ ls -al /home/jb/Downloads/Debug/Browser/ 
    8 drwx------ 4 jb jb      4096 Jan  1  2000 .
    9 drwx------ 3 jb jb      4096 Jan  1  2000 ..
    10 drwx------ 3 jb jb      4096 Jan  1  2000 browser
    11 drwx------ 2 jb jb      4096 Jan  1  2000 components
    12 -rwx------ 1 jb jb    943767 Jan  1  2000 firefox
    13 -rwx------ 1 jb jb   1562241 Jan  1  2000 libfreebl3.so
    14 -rwx------ 1 jb jb    332084 Jan  1  2000 liblgpllibs.so
    15 -rwx------ 1 jb jb   2315707 Jan  1  2000 libmozsqlite3.so
    16 -rwx------ 1 jb jb    916364 Jan  1  2000 libnspr4.so
    17 -rwx------ 1 jb jb   5169835 Jan  1  2000 libnss3.so
    18 -rwx------ 1 jb jb    624131 Jan  1  2000 libnssckbi.so
    19 -rwx------ 1 jb jb    878445 Jan  1  2000 libnssdbm3.so
    20 -rwx------ 1 jb jb    466443 Jan  1  2000 libnssutil3.so
    21 -rwx------ 1 jb jb     59055 Jan  1  2000 libplc4.so
    22 -rwx------ 1 jb jb     37104 Jan  1  2000 libplds4.so
    23 -rwx------ 1 jb jb    961197 Jan  1  2000 libsmime3.so
    24 -rwx------ 1 jb jb   1136843 Jan  1  2000 libsoftokn3.so
    25 -rwx------ 1 jb jb   1105266 Jan  1  2000 libssl3.so
    26 -rwx------ 1 jb jb 766254529 Jan  1  2000 libxul.so
    27 -rwx------ 1 jb jb   4020862 Jan  1  2000 plugin-container
    28 -rwx------ 1 jb jb    522787 Jan  1  2000 updater
    29 -rwx------ 1 jb jb   1128839 Jan  1  2000 webapprt-stub
    305
    31 I overwrote original files with unzipped debug files:
    32 $ cp -pr /home/jb/Downloads/Debug/Browser/* /home/jb/Downloads/tor-browser_en-US/Browser/
    33 
    34 $ coredumpctl gdb 2186
    35 ...
    36 Executable: /home/jb/Downloads/tor-browser_en-US/Browser/firefox
    37 ...
    38 Reading symbols from /home/jb/Downloads/tor-browser_en-US/Browser/firefox...done.
    39 ...
    40 Program terminated with signal SIGSEGV, Segmentation fault.
    41 ...
    42 (gdb)
    43 (gdb) br main
    44 (gdb) run
    45 Starting program: /home/jb/Downloads/tor-browser_en-US/Browser/firefox
    46 /bin/bash: /home/jb/Downloads/tor-browser_en-US/Browser/firefox: cannot execute binary file: Exec format error
    47 /bin/bash: /home/jb/Downloads/tor-browser_en-US/Browser/firefox: Success
    48 During startup program exited with code 126.
    49 (gdb)
    50 
    51 It does not seem to work ...
    526Can you give me instructions how to set it up properly ?
    537Then I can re-run the debugging session and capture whatever data you need to figure out what caused the dump.