Skip to contentSkip to conversation

New: SIGABRT caused by malloc around RegionCreate. Can only reproduce with nouveau not vesa.

Bug 32453 [email protected] 1 participant 14 messages Dec 16, 2010 – Aug 18, 2013 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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

Summary: SIGABRT caused by malloc around RegionCreate. Can only
reproduce with nouveau not vesa.
Product: xorg
Version: git
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]

Created an attachment (id=41187)
--> (https://bugs.freedesktop.org/attachment.cgi?id=41187)
Xorg.1.log from the machine

Using git nouveau kernel, libdrm, and nouveau xorg driver as of today on top of openSUSE Factory Xorg.

Backtrace from gdb:
#0 0x00007ff87fbb6ad5 in raise (sig=<value optimized out>)

    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64

#1 0x00007ff87fbb7fd6 in abort () at abort.c:92
#2 0x00007ff87fbf75da in __malloc_assert (assertion=<value optimized out>,
file=<value optimized out>, line=<value optimized out>, function=<value optimized out>) at malloc.c:352
#3 0x00007ff87fbf97a6 in sYSMALLOc (av=0x7ff87feece80, bytes=15335424)

    at malloc.c:3094
#4  _int_malloc (av=0x7ff87feece80, bytes=15335424) at malloc.c:4747
#5  0x00007ff87fbfbc69 in __libc_malloc (bytes=15335424) at malloc.c:3661
#6  0x00007ff87d146ef4 in exaPrepareAccessReg_mixed (pPixmap=0x1aef1a0, 
    index=1, pReg=0x0) at exa_migration_mixed.c:203
#7  0x00007ff87d143602 in exaChangeWindowAttributes (pWin=0x1ad5dc0, mask=1)
    at exa.c:652
#8  0x00000000005602d7 in compChangeWindowAttributes (pWin=0x1ad5dc0, mask=1)
    at compinit.c:114
#9  0x0000000000436c4d in ChangeWindowAttributes (pWin=<value optimized out>, 
    vmask=1, vlist=<value optimized out>, client=0xb870d0) at window.c:1459
#10 0x000000000043cb78 in ProcChangeWindowAttributes (client=0xb870d0)
    at dispatch.c:693

#11 0x00000000004428f1 in Dispatch () at dispatch.c:432 #12 0x0000000000425b5e in main (argc=9, argv=<value optimized out>,
envp=<value optimized out>) at main.c:291

If I use the vesa driver the system comes up fine. Reproducing by launching emacs inside of a gnome session.

If I use MALLOC_CHECK_=3 /etc/init.d/xdm restart I can sometimes get Xorg w/ nouveau to work for a few days before crashing. But, that isn't a real solution.

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

A message that is not in the archive (sent off-list or not yet received): bug-32453-8800-V0hAGp6uBxMKqLRl/[email protected]/

#2 lore raw

[Bug 32453] SIGABRT caused by malloc around RegionCreate. Can only reproduce with nouveau not vesa.

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

--- Comment #1 from Brandon Philips <[email protected]> 2010-12-16 13:27:48 PST --- Created an attachment (id=41188)
--> (https://bugs.freedesktop.org/attachment.cgi?id=41188)
dmesg

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 32453] SIGABRT caused by malloc around RegionCreate. Can only reproduce with nouveau not vesa.

In reply to a message not in the archive

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

--- Comment #2 from Brandon Philips <[email protected]> 2010-12-16 13:28:14 PST --- Created an attachment (id=41189)
--> (https://bugs.freedesktop.org/attachment.cgi?id=41189)
gdb backtrace

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#4 lore raw

[Bug 32453] SIGABRT caused by malloc around RegionCreate. Can only reproduce with nouveau not vesa.

In reply to a message not in the archive

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

Michel Dänzer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #41187|text/x-log                  |text/plain
          mime type|                            |
Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
#5 lore raw

[Bug 32453] SIGABRT caused by malloc around RegionCreate. Can only reproduce with nouveau not vesa.

In reply to a message not in the archive

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

--- Comment #3 from Michel Dänzer <[email protected]> 2011-01-04 02:05:13 PST --- Is there more information about the malloc failure in the X server stderr output? Should be captured in the gdm/kdm log file.

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
#6 lore raw

[Bug 32453] SIGABRT caused by malloc around RegionCreate. Can only reproduce with nouveau not vesa.

In reply to a message not in the archive

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

--- Comment #4 from Michel Dänzer <[email protected]> 2011-01-06 00:57:24 PST --- Does the patch from bug 32803 happen to help for this as well?

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
#7 lore raw

[Bug 32453] SIGABRT caused by malloc around RegionCreate. Can only reproduce with nouveau not vesa.

In reply to a message not in the archive

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

--- Comment #5 from Brandon Philips <[email protected]> 2011-01-13 11:27:41 PST --- Created an attachment (id=41982)
--> (https://bugs.freedesktop.org/attachment.cgi?id=41982)
/var/log/gdm/:0.log.2

Here is the gdm capture from Xorg. NOTE: I had to add export LIBC_FATAL_STDERR_=1 to get this.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#8 lore raw

[Bug 32453] SIGABRT caused by malloc around RegionCreate. Can only reproduce with nouveau not vesa.

In reply to a message not in the archive

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

--- Comment #6 from Brandon Philips <[email protected]> 2011-01-13 11:48:45 PST --- (In reply to comment #4)

Quoted 1 line

Does the patch from bug 32803 happen to help for this as well?

Yes, I have the patch from 32803 and I am still hitting the bug. I am running the latest xorg-x11-server from openSUSE:

https://build.opensuse.org/package/show?package=xorg-x11-server&project=X11%3AXOrg

Thanks, Brandon

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#9 lore raw

[Bug 32453] SIGABRT caused by malloc around RegionCreate. Can only reproduce with nouveau not vesa.

In reply to a message not in the archive

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

--- Comment #7 from Brandon Philips <[email protected]> 2011-01-13 11:52:41 PST --- Created an attachment (id=41985)
--> (https://bugs.freedesktop.org/attachment.cgi?id=41985)
Latest backtrace

With the latest Xorg available to me the backtrace has changed abit and is around malloc in exaPrepareAccessReg_mixed().

Starting with MALLOC_CHECK=3 still works around the issue.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#10 lore raw

[Bug 32453] SIGABRT caused by malloc around exaPrepareAccessReg_mixed

In reply to a message not in the archive

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

Brandon Philips <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

            Summary|SIGABRT caused by malloc    |SIGABRT caused by malloc
                   |around RegionCreate. Can    |around
                   |only reproduce with nouveau |exaPrepareAccessReg_mixed
                   |not vesa.                   |
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#11 lore raw

[Bug 32453] SIGABRT caused by malloc around exaPrepareAccessReg_mixed

In reply to a message not in the archive

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

--- Comment #8 from Brandon Philips <[email protected]> 2011-01-13 11:59:58 PST --- Created an attachment (id=41986)
--> (https://bugs.freedesktop.org/attachment.cgi?id=41986)
gdm capture of latest Xorg crash

Here is what gdm captured from the latest Xorg when it crashes.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#12 lore raw

[Bug 32453] SIGABRT caused by malloc around exaPrepareAccessReg_mixed

In reply to a message not in the archive

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

--- Comment #9 from Michel Dänzer <[email protected]> 2011-01-14 01:01:31 PST --- Well, the backtraces from the Xorg and gdm log files and from gdb all look different. :} So as in bug 32453, the real problem could be memory corruption somewhere else which is only caught in these places.

Apart from running the X server in valgrind, getting a gdb backtrace for the free() failure in the gdm log file might be useful.

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
#13 lore raw

[Bug 32453] SIGABRT caused by malloc around exaPrepareAccessReg_mixed

In reply to a message not in the archive

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

--- Comment #10 from Michel Dänzer <[email protected]> 2011-08-10 09:07:24 PDT --- Would
http://cgit.freedesktop.org/xorg/xserver/patch/?id=99eeb211c73d28a60f9024f42cf9f9e45b8b0c3d
happen to help?

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
#14 lore raw

[Bug 32453] SIGABRT caused by malloc around exaPrepareAccessReg_mixed

In reply to a message not in the archive

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

Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #11 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- It appears that this bug report has laid dormant for quite a while. Sorry we haven't gotten to it. Since we fix bugs all the time, chances are pretty good that your issue has been fixed with the latest software. Please give it a shot. (Linux kernel 3.10.7, xf86-video-nouveau 1.0.9, mesa 9.1.6, or their git versions.) If upgrading to the latest isn't an option for you, your distro's bugzilla is probably the right destination for your bug report.

In an effort to clean up our bug list, we're pre-emptively closing all bugs that haven't seen updates since 2011. If the original issue remains, please make sure to provide fresh info, see http://nouveau.freedesktop.org/wiki/Bugs/
for what we need to see, and re-open this one.

Thanks,

The Nouveau Team

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau