<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Strange error on Allegro upgrade</title>
		<link>http://www.allegro.cc/forums/view/434350</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Wed, 01 Dec 2004 19:42:55 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I was compiling my emulator with Allegro 4.0.3 (stable) with no problems. On recent upgrade to Allegro 4.1.6 WIP, there&#39;s a strange error...</p><div class="source-code snippet"><div class="inner"><pre>Program received <a href="http://www.delorie.com/djgpp/doc/libc/libc_724.html" target="_blank">signal</a> SIGSEGV, Segmentation fault.
<span class="n">0x67fece63</span> in <a href="http://www.allegro.cc/manual/clear_bitmap" target="_blank"><span class="a">clear_bitmap</span></a> <span class="k2">(</span><span class="k2">)</span>
<span class="k2">(</span>gdb<span class="k2">)</span> q
The program is running.  Exit anyway? <span class="k2">(</span>y <span class="k1">or</span> n<span class="k2">)</span> y
</pre></div></div><p>

I am using an Allegro GUI. In an easy Quit to OS, it freezes. The GDB shows that message. I don&#39;t call clear_bitmap() or clear_to_color() in my code. <br />Any help? <img src="http://www.allegro.cc/forums/smileys/huh.gif" alt="???" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Fabiano Lopes)</author>
		<pubDate>Sun, 28 Nov 2004 09:30:18 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>That is a bug indeed, I think I remember WH suffered it. Let me see if I find the thread...
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ReyBrujo)</author>
		<pubDate>Sun, 28 Nov 2004 09:34:41 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Make sure you properly installed the new headers. Also make sure to delete and rebuild all object files and libraries using Allegro.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kitty Cat)</author>
		<pubDate>Sun, 28 Nov 2004 10:59:09 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Well, I trust Allegro&#39;s makefile firstly... since I did (now) a clean installation of everything, and the problem persists. </p><p>I use MinGW. In the makefile, i changed &#39;-mcpu=pentium&#39; to &#39;-march=i686&#39;, since &#39;-mcpu&#39; is deprecated.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Fabiano Lopes)</author>
		<pubDate>Sun, 28 Nov 2004 21:05:38 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Except for the headers part, I meant your program. <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" /> AllegroGL, DUMB, etc.. need to rebuilt those too since they&#39;re expecting a different version of Allegro that has different structure sizes.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kitty Cat)</author>
		<pubDate>Sun, 28 Nov 2004 21:33:42 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Needless to say that... <img src="http://www.allegro.cc/forums/smileys/grin.gif" alt=";D" /><br />Anyway, I&#39;ll trace the Allegro sources to find the clear_bitmap() line call.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Fabiano Lopes)</author>
		<pubDate>Sun, 28 Nov 2004 23:02:08 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>I use MinGW. In the makefile, i changed &#39;-mcpu=pentium&#39; to &#39;-march=i686&#39;, since &#39;-mcpu&#39; is deprecated.</p></div></div><p>

Not really helping with your problem, but the replacement for -mcpu is -mtune.</p><p>EDIT: Oh, and pentium is deprecated in favour of i586, not i686, so &quot;-mcpu=pentium&quot; should be changed to &quot;-mtune=i586&quot;. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Daniel Schlyder)</author>
		<pubDate>Mon, 29 Nov 2004 01:45:42 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Oh, thanks for the info. Anyway, I use i686 because I run on Duron 1.1GHz (non-Intel if matters)...</p><p>Is just me with this clear_bitmap() problem? <img src="http://www.allegro.cc/forums/smileys/shocked.gif" alt=":o" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Fabiano Lopes)</author>
		<pubDate>Mon, 29 Nov 2004 08:13:22 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>It sounds like a vtable problem. Everytime I&#39;ve seen it, it&#39;s either due to older headers with a newer lib (or vice versa), stale object files from the project, or libraries that rely on Allegro that haven&#39;t been recompiled.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kitty Cat)</author>
		<pubDate>Mon, 29 Nov 2004 08:28:55 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>During the compiling, there are a few warning messages, related to deprecated items in Allegro... I use the latest gcc (3.4.2 candidate).
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Fabiano Lopes)</author>
		<pubDate>Mon, 29 Nov 2004 09:01:13 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Quite possible. Some of the most common functions, like <i>textprintf</i>, have changed to _ex (like <i>textprintf_ex</i>).
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ReyBrujo)</author>
		<pubDate>Mon, 29 Nov 2004 09:25:42 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;m not saying the comiplation of my emulator, but the Allegro source compiling - like the &#39;timer_retrace_whatever is deprecated&#39;.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Fabiano Lopes)</author>
		<pubDate>Mon, 29 Nov 2004 09:28:50 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hmm... where? I did not have problems with that (last time I compiled .16 were months ago).
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ReyBrujo)</author>
		<pubDate>Mon, 29 Nov 2004 09:38:16 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Follows the output:</p><div class="source-code snippet"><div class="inner"><pre>gcc <span class="k3">-</span>DALLEGRO_SRC <span class="k3">-</span>Wall <span class="k3">-</span>Wno-unused <span class="k3">-</span>mtune<span class="k3">=</span>i686 <span class="k3">-</span>O2 <span class="k3">-</span>funroll-loops <span class="k3">-</span>ffast-math <span class="k3">-</span>fomit-frame-pointer <span class="k3">-</span>I. <span class="k3">-</span>I.<span class="k3">/</span>include <span class="k3">-</span>o obj<span class="k3">/</span>mingw32<span class="k3">/</span>alleg<span class="k3">/</span>graphics.o <span class="k3">-</span>c src<span class="k3">/</span>graphics.c
src<span class="k3">/</span>graphics.c: In function `<a href="http://www.allegro.cc/manual/set_gfx_mode" target="_blank"><span class="a">set_gfx_mode</span></a><span class="s">':</span>
<span class="s">src/graphics.c:659: warning: `timer_simulate_retrace'</span> is deprecated <span class="k2">(</span>declared at .<span class="k3">/</span>include<span class="k3">/</span>allegro<span class="k3">/</span>alcompat.h:240<span class="k2">)</span>
</pre></div></div><p>

Here another warning:
</p><div class="source-code snippet"><div class="inner"><pre>gcc <span class="k3">-</span>DALLEGRO_SRC <span class="k3">-</span>Wall <span class="k3">-</span>Wno-unused <span class="k3">-</span>mtune<span class="k3">=</span>i686 <span class="k3">-</span>O2 <span class="k3">-</span>funroll-loops <span class="k3">-</span>ffast-math <span class="k3">-</span>fomit-frame-pointer <span class="k3">-</span>I. <span class="k3">-</span>I.<span class="k3">/</span>include <span class="k3">-</span>o obj<span class="k3">/</span>mingw32<span class="k3">/</span>alleg<span class="k3">/</span>timer.o <span class="k3">-</span>c src<span class="k3">/</span>timer.c

src<span class="k3">/</span>timer.c: In function `timer_simulate_retrace<span class="s">':</span>
<span class="s">src/timer.c:219: warning: `timer_can_simulate_retrace'</span> is deprecated <span class="k2">(</span>declared at src<span class="k3">/</span>timer.c:204<span class="k2">)</span>
</pre></div></div><p>

Here one more, about lvalues:
</p><div class="source-code snippet"><div class="inner"><pre>gcc <span class="k3">-</span>DALLEGRO_SRC <span class="k3">-</span>Wall <span class="k3">-</span>Wno-unused <span class="k3">-</span>mtune<span class="k3">=</span>i686 <span class="k3">-</span>O2 <span class="k3">-</span>funroll-loops <span class="k3">-</span>ffast-math <span class="k3">-</span>fomit-frame-pointer <span class="k3">-</span>I. <span class="k3">-</span>I.<span class="k3">/</span>include <span class="k3">-</span>o obj<span class="k3">/</span>mingw32<span class="k3">/</span>alleg<span class="k3">/</span>wddbmp.o <span class="k3">-</span>c src<span class="k3">/</span>win<span class="k3">/</span>wddbmp.c
src<span class="k3">/</span>win<span class="k3">/</span>wddbmp.c: In function `make_bitmap_from_surface<span class="s">':</span>
<span class="s">src/win/wddbmp.c:333: warning: use of cast expressions as lvalues is deprecated</span>
<span class="s">src/win/wddbmp.c: In function `gfx_directx_destroy_video_bitmap'</span><span class="k2">:</span>
src<span class="k3">/</span>win<span class="k3">/</span>wddbmp.c:509: warning: use of cast expressions as lvalues is deprecated
src<span class="k3">/</span>win<span class="k3">/</span>wddbmp.c: In function `flip_with_forefront_bitmap<span class="s">':</span>
<span class="s">src/win/wddbmp.c:565: warning: use of cast expressions as lvalues is deprecated</span>
<span class="s">src/win/wddbmp.c:569: warning: use of cast expressions as lvalues is deprecated</span>
</pre></div></div><p>

Here:
</p><div class="source-code snippet"><div class="inner"><pre>gcc <span class="k3">-</span>DALLEGRO_SRC <span class="k3">-</span>Wall <span class="k3">-</span>Wno-unused <span class="k3">-</span>mtune<span class="k3">=</span>i686 <span class="k3">-</span>O2 <span class="k3">-</span>funroll-loops <span class="k3">-</span>ffast-math <span class="k3">-</span>fomit-frame-pointer <span class="k3">-</span>I. <span class="k3">-</span>I.<span class="k3">/</span>include <span class="k3">-</span>o obj<span class="k3">/</span>mingw32<span class="k3">/</span>alleg<span class="k3">/</span>wddwin.o <span class="k3">-</span>c src<span class="k3">/</span>win<span class="k3">/</span>wddwin.c
src<span class="k3">/</span>win<span class="k3">/</span>wddwin.c: In function `gfx_directx_show_video_bitmap_win<span class="s">':</span>
<span class="s">src/win/wddwin.c:478: warning: use of cast expressions as lvalues is deprecated</span>
</pre></div></div><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Fabiano Lopes)</author>
		<pubDate>Mon, 29 Nov 2004 09:52:46 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>The timer retrace ones are fixed in CVS.  The cast expression ones come from macros in the DirectX header files so are not our problem.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Peter Wang)</author>
		<pubDate>Mon, 29 Nov 2004 09:58:47 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Did you call &quot;make uninstall&quot; with 4.0.3, and &quot;make install&quot; with the new? Just want to make sure, since as KittyCat said, this problem is normally a version conflict.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Elias)</author>
		<pubDate>Mon, 29 Nov 2004 16:21:24 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I deleted the entire C:\Dev-Cpp directory (MinGW + Allegro), and I did a reinstall from scratch. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Fabiano Lopes)</author>
		<pubDate>Mon, 29 Nov 2004 19:17:36 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hm. Also remove the alleg*.dll from the windows system folder. And are you sure all the headers are in C:\Dev-Cpp? Some people also have c:\mingw and c:\msys\mingw and so on <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p><p>Anyway, of course it&#39;s possible that there&#39;s a bug in clear_bitmap. But it just is quite unlikely, given how many times it is used. Maybe try recompiling, but don&#39;t change any optimization flags. It may be connected to that, AJ also reported problems when compiling with /G7 for MSVC.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Elias)</author>
		<pubDate>Mon, 29 Nov 2004 19:52:32 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>No C:\mingw directories! ^_^;;<br />The only one is C:\Dev-Cpp and its subfolders, where Allegro and MinGW are installed.</p><p>About the CVS, if <a href="http://alleg.sourceforge.net/files/snapshots/allegro_20041127.zip">this is the package</a>, the graphics.c file is outdated (september), still giving the same warning message.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Fabiano Lopes)</author>
		<pubDate>Tue, 30 Nov 2004 00:36:40 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Well, provide some more info then. Can you show the output of &quot;bt&quot; in gdb? And do any of the examples crash?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Elias)</author>
		<pubDate>Tue, 30 Nov 2004 00:43:54 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Output of &quot;bt&quot;? What is this?<br />Well, the &#39;exgui.exe&#39; worked with no problems. It could mean an invalid item in one of the GUI menus/whatever, since it crashes when I choose &#39;quit&#39;.</p><p>It&#39;s not &#39;an error&#39; in my code, but something &#39;unusual&#39; to the library that causes such crash. I&#39;ll be tracking my GUI to see what&#39;s up.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Fabiano Lopes)</author>
		<pubDate>Tue, 30 Nov 2004 03:48:42 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Well, you posted some gdb output.. now, instead of typing &quot;q&quot; for quit, type &quot;bt&quot; for backtrace <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Elias)</author>
		<pubDate>Tue, 30 Nov 2004 03:51:39 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Not much news... Is this a &#39;loop&#39;?</p><div class="source-code snippet"><div class="inner"><pre>Program received <a href="http://www.delorie.com/djgpp/doc/libc/libc_724.html" target="_blank">signal</a> SIGSEGV, Segmentation fault.
<span class="n">0x67fece63</span> in <a href="http://www.allegro.cc/manual/clear_bitmap" target="_blank"><span class="a">clear_bitmap</span></a> <span class="k2">(</span><span class="k2">)</span>
<span class="k2">(</span>gdb<span class="k2">)</span> bt
<span class="p">#0  0x67fece63 in clear_bitmap ()</span>
<span class="k2">(</span>gdb<span class="k2">)</span> bt
<span class="p">#0  0x67fece63 in clear_bitmap ()</span>
<span class="k2">(</span>gdb<span class="k2">)</span> q
The program is running.  Exit anyway? <span class="k2">(</span>y <span class="k1">or</span> n<span class="k2">)</span> y
</pre></div></div><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Fabiano Lopes)</author>
		<pubDate>Tue, 30 Nov 2004 04:02:38 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hm, no, it means, gdb is somehow confused. try: &quot;info threads&quot; to list all threads - maybe that gives us a hint. Which gdb is this btw? I&#39;m surprised you have a working gdb in windows.. but it&#39;s some time I tried to use it there myself, so things apparently improved <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p><p>I assume, since exgui crashes, also other examples crash. I somehow can&#39;t help but think this is some sort of version problem, i.e. this isn&#39;t about clear_bitmap, but just the symbols got messed up or something.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Elias)</author>
		<pubDate>Tue, 30 Nov 2004 04:10:13 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="source-code snippet"><div class="inner"><pre>Program received <a href="http://www.delorie.com/djgpp/doc/libc/libc_724.html" target="_blank">signal</a> SIGSEGV, Segmentation fault.
<span class="n">0x67fece63</span> in <a href="http://www.allegro.cc/manual/clear_bitmap" target="_blank"><span class="a">clear_bitmap</span></a> <span class="k2">(</span><span class="k2">)</span>
<span class="k2">(</span>gdb<span class="k2">)</span> info threads
  <span class="n">9</span> thread <span class="n">1380</span>.<span class="n">0x514</span>  <span class="n">0x7c90eb94</span> in _libwinmm_a_iname <span class="k2">(</span><span class="k2">)</span>
  <span class="n">8</span> thread <span class="n">1380</span>.<span class="n">0x694</span>  <span class="n">0x7c90eb94</span> in _libwinmm_a_iname <span class="k2">(</span><span class="k2">)</span>
  <span class="n">7</span> thread <span class="n">1380</span>.<span class="n">0xf0</span>  <span class="n">0x7c90eb94</span> in _libwinmm_a_iname <span class="k2">(</span><span class="k2">)</span>
  <span class="n">4</span> thread <span class="n">1380</span>.<span class="n">0x4e4</span>  <span class="n">0x7c90eb94</span> in _libwinmm_a_iname <span class="k2">(</span><span class="k2">)</span>
  <span class="n">3</span> thread <span class="n">1380</span>.<span class="n">0x4a0</span>  <span class="n">0x7c90eb94</span> in _libwinmm_a_iname <span class="k2">(</span><span class="k2">)</span>
  <span class="n">2</span> thread <span class="n">1380</span>.<span class="n">0x168</span>  <span class="n">0x7c90eb94</span> in _libwinmm_a_iname <span class="k2">(</span><span class="k2">)</span>
<span class="k3">*</span> <span class="n">1</span> thread <span class="n">1380</span>.<span class="n">0x198</span>  <span class="n">0x67fece63</span> in <a href="http://www.allegro.cc/manual/clear_bitmap" target="_blank"><span class="a">clear_bitmap</span></a> <span class="k2">(</span><span class="k2">)</span>
<span class="k2">(</span>gdb<span class="k2">)</span> info symbol <span class="n">0x67fece63</span>
<a href="http://www.allegro.cc/manual/clear_bitmap" target="_blank"><span class="a">clear_bitmap</span></a> <span class="k3">+</span> <span class="n">19</span> in section .text
</pre></div></div><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Fabiano Lopes)</author>
		<pubDate>Tue, 30 Nov 2004 04:37:05 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>9 threads? I find that is too much as well. Either your gdb just is broken, or something is completely wrong.</p><p>Try running the test program of allegro, and see if everything in it works, and if it also crashes on exit. Really can&#39;t think of anything else to try. If all the function in the test program work, but it crashes on exit, i&#39;d say something is wrong with the way atexit() is used. (But I suspect, some of the tests will fail because the vtable is messed up and there is a version conflict after all.)
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Elias)</author>
		<pubDate>Tue, 30 Nov 2004 05:02:23 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>The same error occurred with:</p><div class="source-code"><div class="toolbar"></div><div class="inner"><table width="100%"><tbody><tr><td class="number">1</td><td>C:\Dev-Cpp\allegro\tests\win&gt;gdb dxwindow.exe</td></tr><tr><td class="number">2</td><td>GNU gdb <span class="n">5</span>.<span class="n">2</span>.<span class="n">1</span></td></tr><tr><td class="number">3</td><td>Copyright <span class="n">2002</span> Free Software Foundation, Inc.</td></tr><tr><td class="number">4</td><td>GDB is <a href="http://www.delorie.com/djgpp/doc/libc/libc_350.html" target="_blank">free</a> software, covered by the GNU General Public License, <span class="k1">and</span> you are</td></tr><tr><td class="number">5</td><td>welcome to change it <span class="k1">and</span><span class="k3">/</span><span class="k1">or</span> distribute copies of it under certain conditions.</td></tr><tr><td class="number">6</td><td>Type <span class="s">"show copying"</span> to see the conditions.</td></tr><tr><td class="number">7</td><td>There is absolutely no warranty <span class="k1">for</span> GDB.  Type <span class="s">"show warranty"</span> <span class="k1">for</span> details.</td></tr><tr><td class="number">8</td><td>This GDB was configured as <span class="s">"i686-pc-mingw32"</span>...<span class="k2">(</span>no debugging symbols found<span class="k2">)</span>...</td></tr><tr><td class="number">9</td><td><span class="k2">(</span>gdb<span class="k2">)</span> r</td></tr><tr><td class="number">10</td><td>Starting program: C:\Dev-Cpp\allegro\tests\win<span class="k3">/</span>dxwindow.exe</td></tr><tr><td class="number">11</td><td>&#160;</td></tr><tr><td class="number">12</td><td>Program received <a href="http://www.delorie.com/djgpp/doc/libc/libc_724.html" target="_blank">signal</a> SIGSEGV, Segmentation fault.</td></tr><tr><td class="number">13</td><td><span class="n">0x67fece63</span> in <a href="http://www.allegro.cc/manual/clear_bitmap" target="_blank"><span class="a">clear_bitmap</span></a> <span class="k2">(</span><span class="k2">)</span></td></tr><tr><td class="number">14</td><td><span class="k2">(</span>gdb<span class="k2">)</span> bt</td></tr><tr><td class="number">15</td><td><span class="p">#0  0x67fece63 in clear_bitmap ()</span></td></tr><tr><td class="number">16</td><td><span class="k2">(</span>gdb<span class="k2">)</span> info threads</td></tr><tr><td class="number">17</td><td>  <span class="n">8</span> thread <span class="n">1984</span>.<span class="n">0x708</span>  <span class="n">0x7c90eb94</span> in _libwinmm_a_iname <span class="k2">(</span><span class="k2">)</span></td></tr><tr><td class="number">18</td><td>  <span class="n">7</span> thread <span class="n">1984</span>.<span class="n">0x438</span>  <span class="n">0x7c90eb94</span> in _libwinmm_a_iname <span class="k2">(</span><span class="k2">)</span></td></tr><tr><td class="number">19</td><td>  <span class="n">4</span> thread <span class="n">1984</span>.<span class="n">0x1d8</span>  <span class="n">0x7c90eb94</span> in _libwinmm_a_iname <span class="k2">(</span><span class="k2">)</span></td></tr><tr><td class="number">20</td><td>  <span class="n">2</span> thread <span class="n">1984</span>.<span class="n">0x2a0</span>  <span class="n">0x7c90eb94</span> in _libwinmm_a_iname <span class="k2">(</span><span class="k2">)</span></td></tr><tr><td class="number">21</td><td><span class="k3">*</span> <span class="n">1</span> thread <span class="n">1984</span>.<span class="n">0x6e4</span>  <span class="n">0x67fece63</span> in <a href="http://www.allegro.cc/manual/clear_bitmap" target="_blank"><span class="a">clear_bitmap</span></a> <span class="k2">(</span><span class="k2">)</span></td></tr><tr><td class="number">22</td><td><span class="k2">(</span>gdb<span class="k2">)</span></td></tr></tbody></table></div></div><p>

Seriously, what could be wrong on compiling process? I downloaded the latest Allegro package (4.1.6 WIP), the latest MinGW (3.4.2 Candidate) in a new folder, then I compiled it and I&#39;m getting this annoyance.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Fabiano Lopes)</author>
		<pubDate>Tue, 30 Nov 2004 05:25:50 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Well, you still didn&#39;t answer, is this specific to certain programs, or does it generally happen in every allegro program? I.e. they all work fine, but on exit, it crashes. Or do some crash earlier? Some not crash at all?</p><p>And compile the debug version of allegro, and also use debugging flags when you compile.. maybe that makes the gdb output more useful.</p><p>[Edit:] I don&#39;t think it has anything to do with compiling, unless it really is that modification you made to the makefile. Anyway, if you can, just try finding out whatever information you can (the two things I said above are just suggestions, don&#39;t really know if they will bring any useful info). But since this seems to be such a general bug (all apps crash) it somehow must be something special either with how you compiled allegro, or with your system, since it works for everybody else.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Elias)</author>
		<pubDate>Tue, 30 Nov 2004 05:33:40 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>The same error occurred with:</p></div></div><p>
Also with tests/test.exe?</p><p>Did you try the debug version of Allegro? Run make clean and make DEBUGMODE=2 from the Allegro directory to rebuild with debugging symbols in place. This should make it easier to debug.</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>I downloaded the latest Allegro package (4.1.6 WIP)</p></div></div><p>
4.1.<i>16</i>.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Evert)</author>
		<pubDate>Tue, 30 Nov 2004 05:47:27 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p><img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=":D" /> This isn&#39;t fair... <img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=":D" /><br />It does NOT crash running the DEBUGMODE=2... <img src="http://www.allegro.cc/forums/smileys/huh.gif" alt="???" /></p><p>EDIT: It seems <span class="source-code"><span class="k3">-</span>mtune<span class="k3">=</span>i686</span> causes the problem. I tried <span class="source-code"><span class="k3">-</span>mtune<span class="k3">=</span>i586</span> (as replacement for <span class="source-code"><span class="k3">-</span>mpentium</span> and it worked fine).
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Fabiano Lopes)</author>
		<pubDate>Tue, 30 Nov 2004 06:09:29 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hm, might investigate this in any case. Does it also crash with &quot;march=athlon&quot;, or whatever is the Duron specific one?</p><p>I somehow believe this may be related to why /G7 doesn&#39;t seem to work with MSVC.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Elias)</author>
		<pubDate>Tue, 30 Nov 2004 13:44:29 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Well... no problems if &quot;-mtune=athlon&quot; is used. I switched back to &quot;-mtune=i686&quot; and the bug was back in action (select Quit -&gt; crash). This is something that could be investigated &amp; fixed.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Fabiano Lopes)</author>
		<pubDate>Wed, 01 Dec 2004 08:17:41 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hmm... maybe you can output the assembler code with and without the switch, though I am not sure if the switch is for compiling or linking optimization.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ReyBrujo)</author>
		<pubDate>Wed, 01 Dec 2004 09:06:03 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>&quot;-mtune=&lt;cpu&gt;&quot; is used during the compiling.<br />Well, I&#39;m unable to do such thing, it&#39;s out of my average <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" /> Anyway, here&#39;s the bug with &quot;i686&quot; option.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Fabiano Lopes)</author>
		<pubDate>Wed, 01 Dec 2004 19:42:55 +0000</pubDate>
	</item>
</rss>
