Summary: | [regression] Error in `omxregister-bellagio': munmap_chunk(): invalid pointer: 0x00007f5f76626dab | ||
---|---|---|---|
Product: | Mesa | Reporter: | yashax |
Component: | Mesa core | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | alain.perrot |
Version: | git | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
installation log
gdb output |
Description
yashax
2014-06-27 22:22:58 UTC
Commit c35cf3400f5 removed a few calloc's that were required, so I've added them back with a001ca98e15. Yet I do not see how this issue can occur. Can you attach a backtrace of the issue ? I cannot seem to reproduce this here. (In reply to comment #1) > Commit c35cf3400f5 removed a few calloc's that were required, so I've added > them back with a001ca98e15. Yet I do not see how this issue can occur. > > Can you attach a backtrace of the issue ? I cannot seem to reproduce this > here. I did attach the installation log, which contains a backtrace. (In reply to comment #2) > I did attach the installation log, which contains a backtrace. > Should have been more explicit - can you run the program in gdb (gdb --args omxregister-bellagio -v) and attach the backtrace (bt full). Make sure that you have the debug symbols for mesa and libomxil-bellagio0. Created attachment 101914 [details]
gdb output
Ok, gdb output attached.
Thanks for the report. Seems like I forgot to copy the encoder strings into the new buffers :\ commit 15b5e663b050505683b7b4c9c489e46863b8441d Author: Emil Velikov <emil.l.velikov@gmail.com> Date: Sat Jun 28 15:24:43 2014 +0100 st/omx: strcpy the string into the allocated buffer This fixes commit a001ca98e15(st/omx: keep the name, (name|role)_specific strings dynamically allocated) in which we dynamically allocated the buffers for name and (name|role)_specific yet forgot to copy the encoder strings into them. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=80614 Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Thank you for the fix! |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.