All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 26999] _mesa_reference_renderbuffer: Assertion `oldRb->Magic == 0xaabbccdd' failed
       [not found] <bug-26999-502@http.bugs.freedesktop.org/>
@ 2010-03-12 19:43 ` bugzilla-daemon
  2010-08-13  8:56 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2010-03-12 19:43 UTC (permalink / raw)
  To: dri-devel

http://bugs.freedesktop.org/show_bug.cgi?id=26999


Julien Cristau <jcristau@debian.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|xorg-team@lists.x.org       |dri-
                   |                            |devel@lists.sourceforge.net
          Component|Driver/Via                  |Drivers/DRI/Unichrome
           Keywords|NEEDINFO                    |
            Product|xorg                        |Mesa
          QAContact|xorg-team@lists.x.org       |




-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 26999] _mesa_reference_renderbuffer: Assertion `oldRb->Magic == 0xaabbccdd' failed
       [not found] <bug-26999-502@http.bugs.freedesktop.org/>
  2010-03-12 19:43 ` [Bug 26999] _mesa_reference_renderbuffer: Assertion `oldRb->Magic == 0xaabbccdd' failed bugzilla-daemon
@ 2010-08-13  8:56 ` bugzilla-daemon
  2010-08-13 14:33 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2010-08-13  8:56 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=26999

--- Comment #4 from Julien Viard de Galbert <julien@vdg.blogsite.org> 2010-08-13 01:56:19 PDT ---
This bug was also found in debian, see:
http://bugs.debian.org/562585

The problem seam to come from the via_renderbuffer structs in the via_context
struct that get freed twice...

See http://bugs.debian.org/562585#57 for details (including gdb traces).

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 26999] _mesa_reference_renderbuffer: Assertion `oldRb->Magic == 0xaabbccdd' failed
       [not found] <bug-26999-502@http.bugs.freedesktop.org/>
  2010-03-12 19:43 ` [Bug 26999] _mesa_reference_renderbuffer: Assertion `oldRb->Magic == 0xaabbccdd' failed bugzilla-daemon
  2010-08-13  8:56 ` bugzilla-daemon
@ 2010-08-13 14:33 ` bugzilla-daemon
  2010-08-17 11:13 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2010-08-13 14:33 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=26999

--- Comment #5 from Alex Deucher <agd5f@yahoo.com> 2010-08-13 07:33:38 PDT ---
Usually this is a result of updating your build tree without running 'make
clean' before rebuilding.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 26999] _mesa_reference_renderbuffer: Assertion `oldRb->Magic == 0xaabbccdd' failed
       [not found] <bug-26999-502@http.bugs.freedesktop.org/>
                   ` (2 preceding siblings ...)
  2010-08-13 14:33 ` bugzilla-daemon
@ 2010-08-17 11:13 ` bugzilla-daemon
  2010-08-17 16:57 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2010-08-17 11:13 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=26999

--- Comment #6 from Julien Viard de Galbert <julien@vdg.blogsite.org> 2010-08-17 04:13:57 PDT ---
Well I don't think 'make clean' will rewrite the code, also I did build it by
rebuilding the debian package, and generally this starts by a 'make clean'.

Note that I did rebuild the debian package, not the latest of your code, but
according to git [1] today's struct via_context has not changed much.

[1]
http://cgit.freedesktop.org/mesa/mesa/tree/src/mesa/drivers/dri/unichrome/via_context.h#n154 

The problem come from the 'struct via_renderbuffer' inside this structure (line
160-164) also line 159 explicitly says it should not be here, so the writer
somehow new this was not that clean.

What my gdb session showed is that the 'struct via_context' get freed while
there are still some reference to the 'struct via_renderbuffer'. So when the
references gets cleared, the assert occurs because the referenced 'struct
via_renderbuffer' has already been freed. (for more details, go and actually
read my post on debian bts).

Maybe the caller should not make the 'struct via_context' be freed in the first
place, however 'struct via_renderbuffer' use a smart reference counting
(inherited from the 'struct gl_renderbuffer') so if it was referenced properly
this would not append.

I propose to replace the 'struct via_renderbuffer' inside 'struct via_context'
by pointers and use the proper reference counting. If this is the right
direction, I'll try to provide a patch. However the comment on line 159 sound
more like there should not be 'via_renderbuffer' here at all... So if someone
can point me to the relevant documentation (to get more insight on how it
should be done) I'll work on it.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 26999] _mesa_reference_renderbuffer: Assertion `oldRb->Magic == 0xaabbccdd' failed
       [not found] <bug-26999-502@http.bugs.freedesktop.org/>
                   ` (3 preceding siblings ...)
  2010-08-17 11:13 ` bugzilla-daemon
@ 2010-08-17 16:57 ` bugzilla-daemon
  2010-08-24 21:54 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2010-08-17 16:57 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=26999

prl <prl-bugs.freedesktop.org@quignogs.org.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |prl-bugs.freedesktop.org@qu
                   |                            |ignogs.org.uk

--- Comment #7 from prl <prl-bugs.freedesktop.org@quignogs.org.uk> 2010-08-17 09:57:16 PDT ---
Well done Julien, thanks very much.

I hit this bug with KDE on Fedora 13; I'm happy to help with testing on Fedora.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 26999] _mesa_reference_renderbuffer: Assertion `oldRb->Magic == 0xaabbccdd' failed
       [not found] <bug-26999-502@http.bugs.freedesktop.org/>
                   ` (4 preceding siblings ...)
  2010-08-17 16:57 ` bugzilla-daemon
@ 2010-08-24 21:54 ` bugzilla-daemon
  2010-09-22  7:34 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2010-08-24 21:54 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=26999

--- Comment #8 from Julien Viard de Galbert <julien@vdg.blogsite.org> 2010-08-24 14:54:43 PDT ---
Created an attachment (id=38132)
 View: https://bugs.freedesktop.org/attachment.cgi?id=38132
 Review: https://bugs.freedesktop.org/review?bug=26999&attachment=38132

preliminary patch

Here is a first patch I tried to make, There are still a lot of rework to do to
make a nice cleaning of the driver.
Anyway with this patch, KDE starts ;) And I hope there is no memory leaks (if
some memory tracking setup has been done on mesa, some doc and links would be
appreciated here).
I'm mostly looking at intel and radeon dri drivers for inspiration, hope they
are model in good shape, or I would be following the wrong line...

If someone wants to test this, please do so ! If you find bugs, send me a mail
with reproduction scenario (and gdb backtrace if you can), thanks. Especially
if you can crash it with something smaller than KDE ! ;)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 26999] _mesa_reference_renderbuffer: Assertion `oldRb->Magic == 0xaabbccdd' failed
       [not found] <bug-26999-502@http.bugs.freedesktop.org/>
                   ` (5 preceding siblings ...)
  2010-08-24 21:54 ` bugzilla-daemon
@ 2010-09-22  7:34 ` bugzilla-daemon
  2011-04-18 11:11 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2010-09-22  7:34 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=26999

--- Comment #9 from Gustavo Guillermo Perez <madgus@gmail.com> 2010-09-22 00:34:55 PDT ---
> If someone wants to test this, please do so ! If you find bugs, send me a mail
> with reproduction scenario (and gdb backtrace if you can), thanks. Especially
> if you can crash it with something smaller than KDE ! ;)
Hello, Best regards in advance, I'm trying to get it to work too on kde, got
the error of this bug, grab your patch and now there is another error:
/usr/bin/X: symbol lookup error: /usr/lib/dri/unichrome_dri.so: undefined
symbol: _mesa_free

tuxi686 ~ # startx
xauth:  creating new authority file /root/.serverauth.3805


X.Org X Server 1.9.0
Release Date: 2010-08-20
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.32-gentoo-tux i686 Gentoo
Current Operating System: Linux tuxi686 2.6.35.4-smp #1 SMP Mon Sep 13 16:37:28
CDT 2010 i686
Kernel command line: root=0805 vga=0x317 splash=silent mtrr:1 driversonly pause
Build Date: 13 September 2010  10:18:31PM

Current version of pixman: 0.18.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Sep 21 23:51:52 2010
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Fulfilled via DRI at 20976640
Freed 20976640 (pool 2)
which: no keychain in
(/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.4.4:/usr/lib/subversion/bin)
/etc/X11/xinit/xinitrc: línea 59: xclock: no se encontró la orden
/usr/bin/X: symbol lookup error: /usr/lib/dri/unichrome_dri.so: undefined
symbol: _mesa_free
login:  fatal IO error 11 (Recurso no disponible temporalmente) or KillClient
on X server ":0.0"
xterm:  fatal IO error 11 (Recurso no disponible temporalmente) or KillClient
on X server ":0.0"
xterm:  fatal IO error 104 (Conexión reinicializada por la máquina remota) or
KillClient on X server ":0.0"
xinit:  connection to X server lost.
tuxi686 ~ #

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 26999] _mesa_reference_renderbuffer: Assertion `oldRb->Magic == 0xaabbccdd' failed
       [not found] <bug-26999-502@http.bugs.freedesktop.org/>
                   ` (6 preceding siblings ...)
  2010-09-22  7:34 ` bugzilla-daemon
@ 2011-04-18 11:11 ` bugzilla-daemon
  2011-04-18 21:50 ` bugzilla-daemon
  2019-09-18 20:35 ` bugzilla-daemon
  9 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2011-04-18 11:11 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=26999

--- Comment #10 from Peter <pva@gentoo.org> 2011-04-18 04:11:47 PDT ---
Julien, I'm unable to build mesa with provided patch too. Any pointers? Thank
you!

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 26999] _mesa_reference_renderbuffer: Assertion `oldRb->Magic == 0xaabbccdd' failed
       [not found] <bug-26999-502@http.bugs.freedesktop.org/>
                   ` (7 preceding siblings ...)
  2011-04-18 11:11 ` bugzilla-daemon
@ 2011-04-18 21:50 ` bugzilla-daemon
  2019-09-18 20:35 ` bugzilla-daemon
  9 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2011-04-18 21:50 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=26999

--- Comment #11 from Julien Viard de Galbert <julien@vdg.blogsite.org> 2011-04-18 14:50:47 PDT ---
Unfortunately, I didn't get time to work on that yet...
I still plan too, but I really don't know when ;)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 26999] _mesa_reference_renderbuffer: Assertion `oldRb->Magic == 0xaabbccdd' failed
       [not found] <bug-26999-502@http.bugs.freedesktop.org/>
                   ` (8 preceding siblings ...)
  2011-04-18 21:50 ` bugzilla-daemon
@ 2019-09-18 20:35 ` bugzilla-daemon
  9 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2019-09-18 20:35 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 858 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=26999

GitLab Migration User <gitlab-migration@fdo.invalid> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--- Comment #12 from GitLab Migration User <gitlab-migration@fdo.invalid> ---
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.

You can subscribe and participate further through the new bug through this link
to our GitLab instance:
https://gitlab.freedesktop.org/openchrome/old-bug-database/issues/9.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2560 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-09-18 20:35 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-26999-502@http.bugs.freedesktop.org/>
2010-03-12 19:43 ` [Bug 26999] _mesa_reference_renderbuffer: Assertion `oldRb->Magic == 0xaabbccdd' failed bugzilla-daemon
2010-08-13  8:56 ` bugzilla-daemon
2010-08-13 14:33 ` bugzilla-daemon
2010-08-17 11:13 ` bugzilla-daemon
2010-08-17 16:57 ` bugzilla-daemon
2010-08-24 21:54 ` bugzilla-daemon
2010-09-22  7:34 ` bugzilla-daemon
2011-04-18 11:11 ` bugzilla-daemon
2011-04-18 21:50 ` bugzilla-daemon
2019-09-18 20:35 ` bugzilla-daemon

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.