+2
Не ошибка

Crash right at startup on openSUSE 12.1 since build 2165

Duncan Mac-Vicar Prett 13 лет назад обновлен Jon Skinner 12 лет назад 4
Sublime text would not start but crash. I am stuck in version 2139 as the "last working one" (released).

Backtrace posted at http://www.sublimetext.com/forum/viewtopic.php?f=3&t=4557&p=20648&hilit=crash#p20648

Cleaning up the config worked for 2165, but does not for 2172 (except for 32bit, where it starts with a clean config). Still in all cases it crashes when closing the application as well. All startup backtraces have the same first lines:

======= Backtrace: =========
/lib64/libc.so.6(+0x74c06)[0x7f5822dc1c06]
./sublime_text(_ZN12memory_arena5clearEv+0x20)[0x51bf70]
./sublime_text[0x759444]
./sublime_text(_ZN13SyntaxManager6reloadEv+0x7e1)[0x75a051]
./sublime_text(_ZN13SyntaxManager4initEP15settings_loaderP11menu_loader+0x25)[0x75baf5]
./sublime_text(_Z12skyline_initP9catalogueP14px_file_systemP15settings_loaderP11menu_loader+0xfd)[0x6a906d]


Ответ

Ответ
Не ошибка
This is a bug in glibc: http://sourceware.org/bugzilla/show_bug.cgi?id=1349
Workaround: run sublimetext with MALLOC_CHECK_=0
MALLOC_CHECK_=1 works as well of course, and prints the warning:

*** glibc detected *** ./sublime_text: free(): invalid pointer: 0x0000000001748650 ***

Level 2 and above abort.
Ответ
Не ошибка
This is a bug in glibc: http://sourceware.org/bugzilla/show_bug.cgi?id=1349
From https://bugzilla.novell.com/show_bug.cgi?id=745247#c3


Andreas Jaeger 2012-02-06 14:03:53 UTC

This has been rejected upstream as a bug. For now, I suggest to not use malloc_usable_size.I'll followup upstream.

Сервис поддержки клиентов работает на платформе UserEcho