If Firefox is crashing you should also be able to go to about:crashes in the browser and get a link to a crash report which has useful info.
Cheers, kats On Thu, Mar 17, 2016 at 4:28 PM, Jim Chen <[email protected]> wrote: > Hi Axel, > > Are you using an Android 4.3 device? There's a known problem with GDB > not working on Android 4.3 devices. You can try rooting your device as > a workaround. > > Also, feel free to hop in the #mobile channel on IRC. > > Cheers, > Jim > > > On Thu, Mar 17, 2016 at 4:18 PM, Axel Nennker <[email protected]> wrote: >> Hi, >> >> I am pocking at implementing the W3C credentialmanagement API >> http://w3c.github.io/webappsec-credential-management/ >> and thought I might try to run that on Fennec. >> But my test page crashes my Fennec. >> In logcat there is no hint on why or where >> >> I guess I am completely off track expecting this stuff to work. >> But I am surprised it crashes. >> >> My code is here: >> https://github.com/AxelNennker/firefox_credentials >> >> Should this WebIDL and dom/credentials/*.cpp and dom/ipc/PContent.ipdl >> stuff work on Fennec too? >> >> -Axel >> >> Debugging failed >> >> ignisvulpis@namenlos:/media/sdb1/mozilla/firefox$ >> MOZCONFIG=../fennec_mozconfig ./mach run --debug >> 0:06.10 /home/ignisvulpis/.mozbuild/android-device/jimdb-arm-pie/bin/gdb -q >> --args >> >> Fennec GDB utilities >> (see utils/gdbinit and utils/gdbinit.local on how to configure settings) >> 1. Debug Fennec (default) >> 2. Debug Fennec with env vars and args >> 3. Debug using jdb >> 4. Debug content Mochitest >> 5. Debug compiled-code unit test >> 6. Debug Fennec with pid >> Enter option from above: 1 >> >> New ADB device is "7ece97a7" >> Using device 7ece97a7 >> Using object directory: /media/sdb1/mozilla/obj-arm-linux-androideabi >> app process name: app_process32 >> Set sysroot to >> "/home/ignisvulpis/.mozbuild/android-device/jimdb-arm-pie/lib/7ece97a7". >> Updated solib-search-path. >> Ignoring BHM signal. >> Using package org.mozilla.fennec_ignisvulpis. >> Launching org.mozilla.fennec_ignisvulpis... Done >> Attaching to pid 3689... as non-root... in pkg dir... as root... in pkg >> dir... using intent... >> "gdbserver" output: >> Cannot attach to lwp 3689: Operation not permitted (1) >> Exiting >> "run-as" output: >> run-as: Package 'org.mozilla.fennec_ignisvulpis' is unknown >> "run-as pkg" output: >> run-as: Package 'org.mozilla.fennec_ignisvulpis' is unknown >> "su -c" output: >> /system/bin/sh: su: not found >> "su -c pkg" output: >> /system/bin/sh: su: not found >> "am start" output: >> --------- beginning of main >> --------- beginning of system >> /home/ignisvulpis/.mozbuild/android-device/jimdb-arm-pie/bin/../utils/gdbinit:141: >> Error in sourced command file: >> failed to run gdbserver >> : No such file or directory. >> (gdb) quit >> ignisvulpis@namenlos:/media/sdb1/mozilla/firefox$ which gdbserver >> /usr/bin/gdbserver >> ignisvulpis@namenlos:/media/sdb1/mozilla/firefox$ ls -l `which gdbserver` >> lrwxrwxrwx 1 root root 35 Mär 17 21:13 /usr/bin/gdbserver -> >> /home/ignisvulpis/jimdb-arm/bin/gdb >> ignisvulpis@namenlos:/media/sdb1/mozilla/firefox$ ls -l >> /home/ignisvulpis/jimdb-arm/bin/gdb >> -rwxrwxr-x 1 ignisvulpis ignisvulpis 4509744 Aug 23 2013 >> /home/ignisvulpis/jimdb-arm/bin/gdb >> ignisvulpis@namenlos:/media/sdb1/mozilla/firefox$ gdbserver --version >> GNU gdb (GDB) 7.5-github.com/darchons/android-gdb/4f632e3 >> Copyright (C) 2012 Free Software Foundation, Inc. >> License GPLv3+: GNU GPL version 3 or later >> <http://gnu.org/licenses/gpl.html> >> This is free software: you are free to change and redistribute it. >> There is NO WARRANTY, to the extent permitted by law. Type "show copying" >> and "show warranty" for details. >> This GDB was configured as "--host=x86_64-unknown-linux-gnu >> --target=arm-linux-android". >> For bug reporting instructions, please see: >> <http://www.gnu.org/software/gdb/bugs/>. >> ignisvulpis@namenlos:/media/sdb1/mozilla/firefox$ >> >> >> >> _______________________________________________ >> mobile-firefox-dev mailing list >> [email protected] >> https://mail.mozilla.org/listinfo/mobile-firefox-dev >> > _______________________________________________ > mobile-firefox-dev mailing list > [email protected] > https://mail.mozilla.org/listinfo/mobile-firefox-dev _______________________________________________ mobile-firefox-dev mailing list [email protected] https://mail.mozilla.org/listinfo/mobile-firefox-dev

