Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Firefox OS crash reporting

এই পেজটি বোঝায় কিভাবে  ফায়ারফক্স  ওস এ ক্রাশ রিপোর্টিং নিয়ন্ত্রণ করতে হয় , ক্রাশ রিপোর্ট বের করা এবং ক্রাশ ফোর্স করতে হয়  

নোট : বেশিরভাগ ফায়ারফক্স ডেস্কটপ অবদানকারীরা  " about:crashes to retrieve crash রিপোর্টস" (আরো জানতে ক্রাশ রিপোর্টিং পড়ুন ) ব্যবহারে অভ্যস্ত , কিন্তু  এটি ফায়ারফক্স ওস-এ  সাপর্টেড  নয়  

আপনি কোনকিছু করার আগে : 

নিচের সব নির্দেশনাগুলি  ধরে নিবে যে আপনি ইতিমধ্যে  নিম্নলিখিত পদক্ষেপগুলি অনুসরণ করেছেন :

  1. নিশ্চিন্ত করে রাখুন যে  আপনার ডিভাইস এ  রিমোট  ডীবাগিং চালু আছে এবং ADB  ইস্টাল করা আছে  এটি আপনার কম্পিউটার কে  আপনার ডিভাইস এর সাথে যোগাযোগ রাখতে দেয় 
  2. ইউএসবি দ্বারা আপনার কম্পিউটার এর সাথে আপনার ডিভাইস কে সংযুক্ত করুন
  3. ডেস্কটপ ফায়ারফক্স এ ADB Helper Add-on ইনস্টল করুন কোনো দরকারী পোর্ট ফরওয়ার্ডিং হ্যান্ডেল করবার জন্যে  ।

বিজিবাক্স  ইনস্টল করা

আপনাকে পরামর্শ দেয়া হচ্ছে আমাদের বিজিবাক্স  ইনস্টল করতে ইউটিলিটি  যেটি এডিবি-তে  কিছু  সাহায্যকারী কমান্ড যোগ করে ফায়ার ফক্স ওস টেস্ট ও ডিবাগ করতে সহায়তা করতে

এটি ইনস্টল করার জন্যে আপনার ডিভাইসটি জাগ্রত আছে কিনা এ ব্যাপারে নিশ্চিত হয়ে  :
 

  1. বিজিবাক্স  ডাউনলোড করুন
  2. টারবালটি সাছন্দমত জাগায় আনজিপ করুন 
  3. cd into the resulting busybox-b2g directory
  4.  ./install.sh - রান করুন ইনস্টল করার জন্যে

আপনি যাতে পিং এর মতো কমান্ডগুলি সরাসরি চালাতে পারেন , বিজিবাক্সের সমস্ত ইউটিলিটিগুলি /system/bin -এ সিমলিঙ্ক পায়। কিছু সাধারণ কমান্ডসমুহ নিচে দেয়া হল ঃ

adb shell ping 8.8.8.8   => পিং কমান্ড।

adb shell ifconfig wlan0 => tx/rx বাইট চেক করার জন্যে।

adb shell cat /proc/net/route    => ডিফাল্ট রুট চেক করার জন্যে।

adb shell iptables -t nat -nvL   => প্যাকেটসমুহ এপ্লিকেশন থেকে আইপি লেয়ারে পাঠানো হয়েছে কিনা চেক করার জন্যে, 'Chain OUTPUT'চেক করার জন্যে  (policy ACCEPT 2 packets, 168 bytes)

ফায়ারফক্স ওএস চালিত কন যন্ত্রে ক্র্যাশ রিপোর্ট পাওয়া

We have created a Firefox OS app to allow us to retrieve crash reports — About Crashes — which works on version 1.2+.

To install it on your device, follow these steps:

  1. About Crashes is a certified app, so you need to enable debugging of certified apps (see instructions for App Manager, and WebIDE.)
  2. Download the About Crashes app zip file from the above link and extract it locally.
  3. In Firefox desktop, open the App Manager or WebIDE (depending on which version of Firefox you are using) under Tools > Web Developer.
  4. In either tool, add the About Crashes app as a packaged app (App Manager: click on the plus next to the Add Packaged App option, WebIDE: Open the left hand dropdown menu and select Add Packaged App...)
  5. Connect your device to App Manager/WebIDE (App Manager: find it listed at the bottom of the UI, WebIDE: Find it under Select Runtime.)
  6. Install and open the app on the device (App Manager: Press the app's Update button, WebIDE: press the "Play" button (Install and Run))
  7. On the device, press the Update button inside About Crashes to see your most recent crashes.

Getting crash ids from the command line

You can get a list of crash ids via the command line by entering the following command into your terminal:

adb shell ls -l /data/b2g/mozilla/Crash\ Reports/submitted/

If you have a long list of crashes and want them sorted by date, use this command instead:

adb shell busybox ls -ltr /data/b2g/mozilla/Crash\ Reports/submitted/

Getting/verifying the crash report

To verify a crash report:

  1. Copy the filename without the extension.
  2. Go to Mozilla Crash Reports.
  3. Paste the filename without the extension in the upper right hand search box.

This should display the crash report you have submitted.

How to Force a crash

To trigger a Firefox OS system crash, enter the following command in your terminal to find out the root process ID :

adb shell ps |grep b2g

You'll need to find the line that has root at the start of it, and /system/b2g/b2g at the end. It should something like this:

root 109 1 191120 66024 ffffffff 400fa330 S /system/b2g/b2g

The number at the start of the line is the kill process id you'll need to use to kill that process. Run the following command, with the id filled in where the placeholder is:

adb shell kill -11 [ENTER ID HERE]

Killing the root process will crash your device.

How to run GDB script for b2g

  1. Start the gallery app on the phone, then run the following command in your terminal:
    adb shell b2g-ps
  2. Note down the pid of the gallery app, then run the following command:
    ./run-gdb.sh attach <pid>
  3. Cause the crash
  4. Run this command:
    (gdb) bt

ডকুমেন্ট ট্যাগ এবং অবদানকারী

 Contributors to this page: chrisdavidmills, AudhirathAJ
 সর্বশেষ হালনাগাদ করেছেন: chrisdavidmills,