Closed Bug 1717332 Opened 3 years ago Closed 3 years ago

segfault in syslog

Categories

(Core :: Widget: Gtk, defect)

Firefox 89
defect

Tracking

()

RESOLVED DUPLICATE of bug 1700601

People

(Reporter: qdinar, Unassigned)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:89.0) Gecko/20100101 Firefox/89.0

Steps to reproduce:

i looked /var/log/syslog to see inkscape crash info.

Actual results:

i see firefox segfault in /var/log/syslog nearly 10 minutes after inkscape crash.

i uploaded same syslog also to https://gitlab.com/inkscape/inbox/-/issues/5215 .

Expected results:

no segfault

i see i filled "Steps to reproduce:" field. this is a mistake. probably it is hard to reproduce. since there is some info in coredump, maybe it is useful to find some problems.

Hi, please provide a proper stacktrace of the crash.

Flags: needinfo?(qdinar)

(In reply to Andre Klapper from comment #2)

Hi, please provide a proper stacktrace of the crash.

how to do that?


after several minutes, i run "sudo service lightdm restart", after that run firefox, opened syslog, and i see a new similar crash:

Jun 20 12:30:03 dinar-Lenovo-G580 systemd[12695]: Closed Sound System.
Jun 20 12:30:03 dinar-Lenovo-G580 systemd[12695]: Reached target Shutdown.
Jun 20 12:30:03 dinar-Lenovo-G580 systemd[12695]: systemd-exit.service: Succeeded.
Jun 20 12:30:03 dinar-Lenovo-G580 systemd[12695]: Finished Exit the Session.
Jun 20 12:30:03 dinar-Lenovo-G580 systemd[12695]: Reached target Exit the Session.
Jun 20 12:30:03 dinar-Lenovo-G580 systemd[1]: user@121.service: Succeeded.
Jun 20 12:30:03 dinar-Lenovo-G580 systemd[1]: Stopped User Manager for UID 121.
Jun 20 12:30:03 dinar-Lenovo-G580 systemd[1]: Stopping User Runtime Directory /run/user/121...
Jun 20 12:30:03 dinar-Lenovo-G580 systemd[1101]: run-user-121.mount: Succeeded.
Jun 20 12:30:03 dinar-Lenovo-G580 systemd[1]: run-user-121.mount: Succeeded.
Jun 20 12:30:03 dinar-Lenovo-G580 systemd[1]: user-runtime-dir@121.service: Succeeded.
Jun 20 12:30:03 dinar-Lenovo-G580 systemd[1]: Stopped User Runtime Directory /run/user/121.
Jun 20 12:30:03 dinar-Lenovo-G580 systemd[1]: Removed slice User Slice of UID 121.
Jun 20 12:30:29 dinar-Lenovo-G580 kernel: [19508.846124] audit: type=1400 audit(1624181429.552:112): apparmor="DENIED" operation="open" profile="firefox" name="/sys/devices/pci0000:00/0000:00:1f.2/resource" pid=13139 comm="firefox" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Jun 20 12:30:29 dinar-Lenovo-G580 kernel: [19508.846140] firefox[13139]: segfault at 0 ip 00007f66d943bd94 sp 00007ffe59563200 error 6 in libxul.so[7f66d5bf9000+5392000]
Jun 20 12:30:29 dinar-Lenovo-G580 kernel: [19508.846147] Code: 00 e8 28 69 7c fc 50 80 3d f8 0b 4e 04 00 74 02 58 c3 c6 05 ed 0b 4e 04 01 48 8d 05 29 15 fc 02 48 8b 0d 47 36 3c 04 48 89 01 <c7> 04 25 00 00 00 00 8b 01 00 00 e8 f4 68 7c fc 66 2e 0f 1f 84 00
Jun 20 12:30:29 dinar-Lenovo-G580 systemd[1]: Started Process Core Dump (PID 13140/UID 0).
Jun 20 12:30:29 dinar-Lenovo-G580 kernel: [19508.888550] audit: type=1400 audit(1624181429.596:113): apparmor="DENIED" operation="open" profile="firefox" name="/run/user/1000/ICEauthority" pid=13134 comm="firefox" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
Jun 20 12:30:29 dinar-Lenovo-G580 systemd-coredump[13141]: Process 13139 (firefox) of user 1000 dumped core.#012#012Stack trace of thread 13139:#012#0  0x00007f66d943bd94 n/a (libxul.so + 0x4185d94)#012#1  0x00007f66e02faa27 __run_exit_handlers (libc.so.6 + 0x49a27)#012#2  0x00007f66e02fabe0 __GI_exit (libc.so.6 + 0x49be0)#012#3  0x00007f66d4fd7c45 n/a (libpci.so.3 + 0x3c45)#012#4  0x00007f66d4fdd308 n/a (libpci.so.3 + 0x9308)#012#5  0x00007f66d9445054 n/a (libxul.so + 0x418f054)#012#6  0x00007f66d94459db n/a (libxul.so + 0x418f9db)#012#7  0x00007f66d943b13e n/a (libxul.so + 0x418513e)#012#8  0x00007f66d9441ae3 n/a (libxul.so + 0x418bae3)#012#9  0x00007f66d9441ee0 n/a (libxul.so + 0x418bee0)#012#10 0x000055950f96b113 n/a (firefox + 0xc113)#012#11 0x00007f66e02d80b3 __libc_start_main (libc.so.6 + 0x270b3)#012#12 0x000055950f96ab6e _start (firefox + 0xbb6e)
Jun 20 12:30:29 dinar-Lenovo-G580 systemd[1]: systemd-coredump@4-13140-0.service: Succeeded.
Jun 20 12:30:31 dinar-Lenovo-G580 kernel: [19510.412042] audit: type=1400 audit(1624181431.120:114): apparmor="DENIED" operation="open" profile="firefox" name="/proc/13134/cgroup" pid=13134 comm="firefox" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
Jun 20 12:30:31 dinar-Lenovo-G580 kernel: [19510.527445] audit: type=1107 audit(1624181431.236:115): pid=657 uid=103 auid=4294967295 ses=4294967295 msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/RealtimeKit1" interface="org.freedesktop.DBus.Properties" member="Get" mask="send" name="org.freedesktop.RealtimeKit1" pid=13216 label="firefox" peer_pid=978 peer_label="unconfined"

Flags: needinfo?(qdinar)

small edition: after thEN run firefox, opened syslog

similar messages on every start of firefox

similar messages if to start "firefox -p", and press cancel, so, seems, no profile runs.

Andre Klapper, maybe you wanted this. this is file for the crash that happened nearly 10 minutes after inkscape's. i have also similar file for the crash that happened at "Jun 20 12:30:29" (utc+3)", syslog for which is also pasted here. i have 8 firefox files like this in /var/lib/systemd/coredump/ . sha256 of the last attached file is db84c2bea5b1ba3e322e8c85b163f3c0f81b03ce70dcfd05564a71f1a3af08d1 .

Hi Dinar!
Please, could you provide us more clear steps to be able to reproduce this issue? Also, can you try to reproduce it on the latest Nightly and tell us your input?. You can download it from here: https://nightly.mozilla.org/
I'll set a component to have a starting point from this. Please feel free to change the component if there is a more suitable component for it.

Component: Untriaged → Widget: Gtk
Flags: needinfo?(qdinar)
Product: Firefox → Core

"could you provide us more clear steps to be able to reproduce this issue?"

are not these enough? :

"similar messages on every start of firefox"

"similar messages if to start "firefox -p" ..."

.

more clear steps: open terminal, type "firefox -p", enter.
(then you can open another terminal, run "less /var/log/syslog", or its analogue for your os, press end and see error.)

i tried this again, from terminal, and i got this in terminal:

[GFX1-]: No GPUs detected via PCI
[GFX1-]: glxtest: process failed (received signal 11)

###!!! [Child][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost

also, as i remember, similar error happen, in syslog, when i open a http(s) link from an other program. yes, for example, run "man less", go to bottom, open link, if it opens in firefox, you get this error.

Flags: needinfo?(qdinar)

trying nightly is not easy for me, because i would like to run it in a virtual machine, but i have not os with gui installed in a vm yet.

Tried to reproduce this issue on our end but we might not have the correct environment, I tried this on an Ubuntu 20.04 machine and on our side there is More than 1 GPU detected.

After doing a little digging I think this issue is a Dupe of Bug 1700601, Please reopen this issue in case its not a duplicate.

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: