mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] stack smashing on i686 with -O3 since da82d07


From: Tony Theodore
Subject: Re: [Mingw-cross-env-list] stack smashing on i686 with -O3 since da82d07dbe
Date: Mon, 26 Oct 2015 19:57:15 +1100

> On 26 Oct 2015, at 01:38, Nagaev Boris <address@hidden> wrote:
> 
> The next step is to provide the minimal program reproducing the crash.

It’s something in the translations code, skipping it[1] removes the crash: 

mkvextract.exe --version
mkvextract v8.5.1 ('Where you lead I will follow') 32bit

Cheers,

Tony


[1] diff --git a/src/common/translation.cpp b/src/common/translation.cpp
index 6a6cb40..123899e 100644
--- a/src/common/translation.cpp
+++ b/src/common/translation.cpp
@@ -64,7 +64,7 @@ void
 translation_c::initialize_available_translations() {
   ms_available_translations.clear();
   ms_available_translations.emplace_back("eng", "en_US",       "en",          
"english",    "English",              "English",             false, 0x0009, 
0x00);
-#if defined(HAVE_LIBINTL_H)
+#if defined(HAVE_LIBINTL_H__)
   ms_available_translations.emplace_back("cat", "ca_ES",       "ca",          
"catalan",    "Catalan",              "Català",              false, 0x0003, 
0x00);
   ms_available_translations.emplace_back("cze", "cs_CZ",       "cs",          
"czech",      "Czech",                "Čeština",             false, 0x0005, 
0x00);
   ms_available_translations.emplace_back("ger", "de_DE",       "de",          
"german",     "German",               "Deutsch",             false, 0x0007, 
0x00);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]