After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 155230 - [build] gst-register core dumps when modplug plugin is compiled with -O -march=athlon-xp
[build] gst-register core dumps when modplug plugin is compiled with -O -marc...
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins
git master
Other FreeBSD
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 161577 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-10-12 20:15 UTC by Michael Johnson
Modified: 2005-10-02 15:00 UTC
See Also:
GNOME target: ---
GNOME version: 2.7/2.8



Description Michael Johnson 2004-10-12 20:15:57 UTC
install gstreamer-plugins with gcc 3.4
with the following flags
CFLAGS="-O -march=athlon-xp"
CXXFLAGS="-O -march=athlong-xp"

run gst-register

--

It seems to be a problem with the plugin gst/modplug
if gst/modplug is built with the flag "-fgcse" (or -O2 or higher)
everything seems to work.
Comment 1 David Schleef 2004-12-18 01:29:54 UTC
*** Bug 161577 has been marked as a duplicate of this bug. ***
Comment 2 David Schleef 2004-12-19 02:24:28 UTC
I can't reproduce this.  You'll have to provide more information, such as a
stack trace.  I wouldn't be surprised if this is a gcc bug that has been fixed
(since I don't see it).
Comment 3 Christian Fredrik Kalager Schaller 2004-12-21 15:56:38 UTC
Michael, we need an update from you. Setting to NEEDINFO for now.
Comment 4 Koop Mast 2004-12-21 21:05:02 UTC
Michael asked me to generate a backtrace. So here it is.
I don't know much about debuggin but frame #8 looks suspicious.

Compile flags: -O -march=athlon-xp
Some more detailed gcc info:
gcc -v
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.4.2 [FreeBSD] 20040728

       (gdb) bt full
  • #0 CzCUBICSPLINE
    at fastmix.cpp line 116
  • #1 __static_initialization_and_destruction_0
    at fastmix.cpp line 145
  • #2 global constructors keyed to MixSoundBuffer
    at fastmix.cpp line 2197
  • #3 gst_modplug_get_type
    from /usr/X11R6/lib/gstreamer-0.8/libgstmodplug.so
  • #4 ??
    from /usr/X11R6/lib/gstreamer-0.8/libgstmodplug.so
  • #5 _rtld
    at /usr/src/libexec/rtld-elf/rtld.c line 239
  • #6 rtld_dirname
    at /usr/src/libexec/rtld-elf/rtld.c line 2025
  • #7 _g_module_open
    at gmodule-dl.c line 98
  • #8 g_module_open
    at gmodule.c line 402
  • #9 gst_plugin_check_file
  • #10 gst_plugin_load_file
    at gstplugin.c line 384
  • #11 gst_xml_registry_rebuild
    at gstxmlregistry.c line 1432
  • #12 gst_registry_rebuild
    at gstregistry.c line 187
  • #13 main
    at gst-register.c line 129

Comment 5 Ronald Bultje 2004-12-21 21:43:11 UTC
Taht's stack corruption. Can you compile fastmix.cpp without -march=athlon-xp?
It's probably a compiler bug.
Comment 6 Luca Ognibene 2005-10-02 15:00:29 UTC
Closing.. Please reopen if you can still replicate it! thanks