Opened 2 years ago
Closed 2 years ago
#65814 closed defect (fixed)
doxygen causes build error in xmtooling on PPC with Bus error (familiar malloc errors)
Reported by: | barracuda156 | Owned by: | barracuda156 |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.2 |
Keywords: | powerpc, rosetta, snowleopard | Cc: | |
Port: | doxygen |
Description
Another case of malloc errors with Doxygen, just reporting:
:info:build SRCDIR='.' PROJECT='xmltooling' DOCDIR='doc/api' VERSION='3.2.1' PERL_PATH='/opt/local/bin/perl' HAVE_DOT='YES' DOT_PATH='/opt/local/bin' GENERATE_MAN='NO' GENERATE_RTF='NO' GENERATE_XML='NO' GENERATE_HTMLHELP='NO' GENERATE_CHI='NO' GENERATE_HTML='YES' GENERATE_LATEX='NO' /opt/local/bin/doxygen ./doxygen.cfg :info:build doxygen(14752) malloc: *** error for object 0xa0f15754: pointer being freed was not allocated :info:build *** set a breakpoint in malloc_error_break to debug :info:build doxygen(14752) malloc: *** error for object 0xa0f157c4: pointer being freed was not allocated :info:build *** set a breakpoint in malloc_error_break to debug :info:build warning: Tag 'USE_WINDOWS_ENCODING' at line 11 of file './doxygen.cfg' has become obsolete. :info:build To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" :info:build warning: Tag 'DETAILS_AT_TOP' at line 33 of file './doxygen.cfg' has become obsolete. :info:build To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" :info:build warning: Tag 'SHOW_DIRECTORIES' at line 70 of file './doxygen.cfg' has become obsolete. :info:build To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" :info:build warning: Tag 'COLS_IN_ALPHA_INDEX' at line 133 of file './doxygen.cfg' has become obsolete. :info:build To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" :info:build warning: Tag 'HTML_ALIGN_MEMBERS' at line 144 of file './doxygen.cfg' has become obsolete. :info:build To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" :info:build warning: Tag 'XML_SCHEMA' at line 191 of file './doxygen.cfg' has become obsolete. :info:build To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" :info:build warning: Tag 'XML_DTD' at line 192 of file './doxygen.cfg' has become obsolete. :info:build To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" :info:build warning: Tag 'PERL_PATH' at line 225 of file './doxygen.cfg' has become obsolete. :info:build To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" :info:build warning: Tag 'CLASS_DIAGRAMS' at line 229 of file './doxygen.cfg' has become obsolete. :info:build To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" :info:build warning: Tag 'MAX_DOT_GRAPH_WIDTH' at line 245 of file './doxygen.cfg' has become obsolete. :info:build To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" :info:build warning: Tag 'MAX_DOT_GRAPH_HEIGHT' at line 246 of file './doxygen.cfg' has become obsolete. :info:build To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" :info:build doxygen(14752) malloc: *** error for object 0x13b22c0: pointer being freed was not allocated :info:build *** set a breakpoint in malloc_error_break to debug :info:build doxygen(14752) malloc: *** error for object 0x13b1928: pointer being freed was not allocated :info:build *** set a breakpoint in malloc_error_break to debug :info:build doxygen(14752) malloc: *** error for object 0x13b1890: pointer being freed was not allocated :info:build *** set a breakpoint in malloc_error_break to debug :info:build doxygen(14752) malloc: *** error for object 0x13b18dc: pointer being freed was not allocated :info:build *** set a breakpoint in malloc_error_break to debug :info:build doxygen(14752) malloc: *** error for object 0x13b17c8: pointer being freed was not allocated :info:build *** set a breakpoint in malloc_error_break to debug :info:build doxygen(14752) malloc: *** error for object 0x13b16a0: pointer being freed was not allocated :info:build *** set a breakpoint in malloc_error_break to debug :info:build doxygen(14752) malloc: *** error for object 0x13b15c0: pointer being freed was not allocated :info:build *** set a breakpoint in malloc_error_break to debug :info:build doxygen(14752) malloc: *** error for object 0x13b1630: pointer being freed was not allocated :info:build *** set a breakpoint in malloc_error_break to debug :info:build doxygen(14752) malloc: *** error for object 0x13b14f8: pointer being freed was not allocated :info:build *** set a breakpoint in malloc_error_break to debug :info:build doxygen(14752) malloc: *** error for object 0x13b2200: pointer being freed was not allocated :info:build *** set a breakpoint in malloc_error_break to debug :info:build doxygen(14752) malloc: *** error for object 0x13b2380: pointer being freed was not allocated :info:build *** set a breakpoint in malloc_error_break to debug :info:build doxygen(14752) malloc: *** error for object 0x13b238c: pointer being freed was not allocated :info:build *** set a breakpoint in malloc_error_break to debug :info:build doxygen(14752) malloc: *** error for object 0x13b23a8: pointer being freed was not allocated :info:build *** set a breakpoint in malloc_error_break to debug :info:build make[2]: *** [doc/api/xmltooling.tag] Bus error :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_xmltooling/xmltooling/work/xmltooling-3.2.1' :info:build make[1]: *** [all-recursive] Error 1 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_xmltooling/xmltooling/work/xmltooling-3.2.1' :info:build make: *** [all] Error 2
Attachments (1)
Change History (12)
comment:1 Changed 2 years ago by kencu (Ken)
comment:2 Changed 2 years ago by kencu (Ken)
Port: | doxygen added; xmltooling removed |
---|---|
Summary: | xmltooling fails on Rosetta with Bus error (familiar malloc errors) → doxygen causes build error in xmtooling on Rosetta with Bus error (familiar malloc errors) |
comment:3 follow-ups: 4 8 Changed 2 years ago by kencu (Ken)
where is the original ticket for this doxygen issue? I don't seem to be able to find it right now...
comment:4 Changed 2 years ago by barracuda156
Replying to kencu:
where is the original ticket for this doxygen issue? I don't seem to be able to find it right now...
To be honest I am not sure we had a dedicated Doxygen ticket for that.
I never heard if you tried redirecting the doxygen bins.
I think I tried and could not make it work that time, but I will try again. This error is getting rather annoying indeed, and no one knows when Iaian gets time to fix libstdc++
.
comment:5 follow-up: 7 Changed 2 years ago by kencu (Ken)
Yes indeed -- it's been broken nearly 5 years now, and only getting worse as more software won't build with the good-old-not-broken gcc-4.2/apple-gcc42 combo.
The more software that gets forced to gcc7+, the more breakage we can expect to see.
Changed 2 years ago by barracuda156
Attachment: | xmltooling_10.5.8.log added |
---|
So just to document the issue, same error on 10.5.8
comment:6 Changed 2 years ago by barracuda156
Summary: | doxygen causes build error in xmtooling on Rosetta with Bus error (familiar malloc errors) → doxygen causes build error in xmtooling on PPC with Bus error (familiar malloc errors) |
---|
comment:7 Changed 2 years ago by barracuda156
Replying to kencu:
Yes indeed -- it's been broken nearly 5 years now, and only getting worse as more software won't build with the good-old-not-broken gcc-4.2/apple-gcc42 combo.
The more software that gets forced to gcc7+, the more breakage we can expect to see.
I think your solution works. I will confirm it now with xmltooling
– with imlib2
it worked! https://trac.macports.org/ticket/65770
comment:8 Changed 2 years ago by barracuda156
Replying to kencu:
Yes, fixed! Thank you very much. Opening a PR for Doxygen.
comment:9 follow-up: 10 Changed 2 years ago by kencu (Ken)
and now (sigh) to undo all those places where docs were disabled because of this, and revbump all those ports…
comment:10 Changed 2 years ago by barracuda156
Replying to kencu:
and now (sigh) to undo all those places where docs were disabled because of this, and revbump all those ports…
I can track those. AFAIR, not many were there. At least, now this hopefully gonna work.
- S. I definitely prefer doing less work with the same output than more :) So same error is not gonna be repeated.
comment:11 Changed 2 years ago by barracuda156
Owner: | set to barracuda156 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
I never heard if you tried redirecting the doxygen bins...
https://github.com/macports/macports-ports/blob/5b1157f532660a0ad5f2a428084758ce240312eb/_resources/port1.0/group/legacysupport-1.1.tcl#L33
presumably after all these months of seeing the same error over and over, you did try it.
eg:
https://github.com/macports/macports-ports/blob/5b1157f532660a0ad5f2a428084758ce240312eb/devel/cmake/Portfile#L58