From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: [Bug 92438] New: Segfault in pushbuf_kref when running the android emulator (qemu) on nv50
Date: Mon, 12 Oct 2015 12:59:46 +0000 [thread overview]
Message-ID: <bug-92438-8800@http.bugs.freedesktop.org/> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 3883 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=92438
Bug ID: 92438
Summary: Segfault in pushbuf_kref when running the android
emulator (qemu) on nv50
Product: Mesa
Version: unspecified
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/nouveau
Assignee: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Reporter: gabriele.svelto-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
QA Contact: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Created attachment 118838
--> https://bugs.freedesktop.org/attachment.cgi?id=118838&action=edit
kernel log
I've encountered an easily reproducible segfault using the Firefox OS emulator
while I was hacking the said operating. The Firefox OS emulator [1] is a fork
of the Android emulator which is in turn a fork of qemu. In both cases the
graphics part is untouched so it might be possible to reproduce the same issue
in qemu even though I didn't have the time to try it.
Here's my full STR:
1) Build the Firefox OS emulator using the emulator-x86-kk target device ( git
clone https://github.com/mozilla-b2g/B2G.git ; cd B2G ; ./config.sh
emulator-x86-kk ; ./build.sh )
2) Launch it from the tree using the run-emulator.sh script
3) Once Firefox OS has started quickly click on any application and keep
clicking on buttons / input boxes / etc... The segfault will normally happen in
a matter of seconds
I've reproduced the bug both on Fedora 22 and Gentoo so it doesn't look like
distro-specific, these are the versions number taken from my Gentoo
installation:
xf86-video-nouveau 1.0.11
libdrm 2.4.59
mesa 10.3.7
xorg-server 1.16.4
kernel 4.0.5
I've captured a stack trace of the segfault with gdb:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xc3dfeb40 (LWP 9387)]
0xf689a323 in pushbuf_kref () from /usr/lib32/libdrm_nouveau.so.2
(gdb) bt
#0 0xf689a323 in pushbuf_kref () from /usr/lib32/libdrm_nouveau.so.2
#1 0xf689ab9f in pushbuf_validate () from /usr/lib32/libdrm_nouveau.so.2
#2 0xf6ce47e8 in nv50_state_validate () from /usr/lib32/dri/nouveau_dri.so
#3 0xf6cf0a49 in nv50_draw_vbo () from /usr/lib32/dri/nouveau_dri.so
#4 0xf6b3846d in cso_draw_vbo () from /usr/lib32/dri/nouveau_dri.so
#5 0xf6a5f29e in st_draw_vbo () from /usr/lib32/dri/nouveau_dri.so
#6 0xf6a30cd3 in vbo_draw_arrays () from /usr/lib32/dri/nouveau_dri.so
#7 0xf6a30f37 in vbo_exec_DrawArrays () from /usr/lib32/dri/nouveau_dri.so
#8 0xf72ca52b in glDrawArrays (mode=4, first=0, count=6) at
sdk/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:576
#9 0xf74b9965 in gl2_decoder_context_t::decode (this=0xc3dfdfd4,
buf=0xc47ff008, len=5452, stream=0xc6400768)
at
out/host/linux-x86/obj/STATIC_LIBRARIES/libGLESv2_dec_intermediates/gl2_dec.cpp:565
#10 0xf74b662c in RenderThread::Main (this=0xc6400788) at
sdk/emulator/opengl/host/libs/libOpenglRender/RenderThread.cpp:128
#11 0xf74cdc3d in osUtils::Thread::thread_main (p_arg=0xc6400788) at
sdk/emulator/opengl/shared/OpenglOsUtils/osThreadUnix.cpp:83
#12 0xf7f9711f in start_thread () from /lib32/libpthread.so.0
#13 0xf7d5f79e in clone () from /lib32/libc.so.6
I'm attaching the kernel log and the X log. Those may be "polluted" by other
stuff as my machine has been running for some time since I've hit the bug. I'll
try to provide cleaner ones right after I hit the bug. If more detailed
information is needed (e.g. a backtrace with finer-grained debug information,
etc...) I can provide it given some time to gather it.
[1]
https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Using_the_B2G_emulators
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 5395 bytes --]
[-- Attachment #2: Type: text/plain, Size: 153 bytes --]
_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
next reply other threads:[~2015-10-12 12:59 UTC|newest]
Thread overview: 49+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-12 12:59 bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ [this message]
[not found] ` <bug-92438-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
2015-10-12 13:00 ` [Bug 92438] Segfault in pushbuf_kref when running the android emulator (qemu) on nv50 bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-10-12 17:35 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-10-12 20:41 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-10-13 6:41 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-10-13 7:22 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-10-13 7:46 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-10-13 12:08 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-10-13 20:17 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-10-13 20:19 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-10-13 20:19 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-10-13 20:19 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-10-15 19:26 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-10-15 19:32 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-10-15 19:41 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-10-15 19:42 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-10-15 19:53 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-10-16 9:00 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-10-21 22:58 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-10-24 12:04 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-10-30 13:04 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-10-30 13:26 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-10-31 14:15 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-10-31 15:37 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-10-31 16:19 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-10-31 17:18 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-10-31 22:22 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-10-31 23:11 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-11-01 7:32 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-11-01 7:36 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-11-01 7:38 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-11-01 16:52 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-11-01 21:44 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-11-23 5:30 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-11-23 9:41 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-11-23 10:34 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-11-23 14:12 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-12-04 13:10 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-12-04 14:41 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-12-04 14:45 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-12-04 15:24 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-12-04 15:29 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-09-15 4:09 ` [Bug 92438] Segfault in pushbuf_kref on nv50 when rendering from multiple threads bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-09-15 4:09 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-12-10 14:35 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-12-11 22:29 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2017-01-02 7:37 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2019-09-18 20:41 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2019-09-18 20:41 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-92438-8800@http.bugs.freedesktop.org/ \
--to=bugzilla-daemon-cc+yj3umiyqdupfqwhejaq@public.gmane.org \
--cc=nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.