Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

*** buffer overflow detected ***, __fortify_fail #11213

Closed
sergeospb opened this issue Apr 7, 2013 · 1 comment
Closed

*** buffer overflow detected ***, __fortify_fail #11213

sergeospb opened this issue Apr 7, 2013 · 1 comment
Labels

Comments

@sergeospb
Copy link

  1. I use https://gist.github.com/antivanov/3848638 gist with url http://news.mail.ru/currency.html?charcode=EUR
  2. I use 1.9 from https://phantomjs.googlecode.com/files/phantomjs-1.9.0-linux-x86_64.tar.bz2 and last version from git, all versions crashed
    ./phantomjs webcrawler.js

Loaded page. URL = http://news.mail.ru/currency.html?charcode=EUR content length = 217379 status = success
Loaded page. URL = http://r.mail.ru/n109072279? content length = 0 status = success
ReferenceError: Can't find variable: $

  http://www.nkj.ru/news/21946/:272
ReferenceError: Can't find variable: $

  http://www.nkj.ru/news/21946/:272
Loaded page. URL = http://r.mail.ru/n109394923? content length = 16253 status = success
Loaded page. URL = http://r.mail.ru/n106972560? content length = 34331 status = success
Loaded page. URL = http://r.mail.ru/n109374589? content length = 0 status = success
Loaded page. URL = http://r.mail.ru/n109374590? content length = 0 status = success
Loaded page. URL = http://r.mail.ru/n109374592? content length = 0 status = success
Loaded page. URL = http://r.mail.ru/n109374591? content length = 0 status = success
Loaded page. URL = http://r.mail.ru/n109374593? content length = 0 status = success
*** buffer overflow detected ***: ./phantomjs terminated
*** buffer overflow detected ***: ./phantomjs terminated
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x7f2d96892807]
/lib/x86_64-linux-gnu/libc.so.6(+0x109700)[0x7f2d96891700]
/lib/x86_64-linux-gnu/libc.so.6(+0x10a7be)[0x7f2d968927be]
./phantomjs[0x1c7ff2d]
./phantomjs[0x1c7087a]
................
  1. cat /proc/version
    Linux version 3.5.0-26-generic (buildd@batsu) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) More stuff to 'gitignore' #42~precise1-Ubuntu SMP Mon Mar 11 22:17:58 UTC 2013
  2. gcc -E -dM - </dev/null | grep FORTIFY

define _FORTIFY_SOURCE 2

 gdb bt
#0  0x00007ffff5469425 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007ffff546cb8b in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007ffff54a739e in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#3  0x00007ffff553d807 in __fortify_fail () from /lib/x86_64-linux-gnu/libc.so.6
#4  0x00007ffff553c700 in __chk_fail () from /lib/x86_64-linux-gnu/libc.so.6
#5  0x00007ffff553d7be in __fdelt_warn () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x0000000001c7fa0d in QEventDispatcherUNIX::registerSocketNotifier(QSocketNotifier*) ()
#7  0x0000000001c7035a in QSocketNotifier::QSocketNotifier(int, QSocketNotifier::Type, QObject*) ()
#8  0x0000000001b1312b in QNativeSocketEngine::setWriteNotificationEnabled(bool) ()
#9  0x0000000001b08980 in QAbstractSocketPrivate::_q_connectToNextAddress() ()
#10 0x0000000001b08eef in QAbstractSocketPrivate::_q_startConnecting(QHostInfo const&) ()
#11 0x0000000001b0b9dd in QAbstractSocket::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) ()
#12 0x0000000001c6e82e in QObject::event(QEvent*) ()
#13 0x00000000015b82e4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
#14 0x00000000015bcb40 in QApplication::notify(QObject*, QEvent*) ()
#15 0x0000000001c56efc in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
#16 0x0000000001c5a8f7 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) ()
#17 0x0000000001c7f7c0 in QEventDispatcherUNIX::processEvents(QFlags) ()
#18 0x0000000001c55ca2 in QEventLoop::processEvents(QFlags) ()
#19 0x0000000001c55eff in QEventLoop::exec(QFlags) ()
#20 0x0000000001b67e87 in QThread::exec() ()
#21 0x0000000001b6ac4c in QThreadPrivate::start(void*) ()
#22 0x00007ffff600be9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#23 0x00007ffff5526cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#24 0x0000000000000000 in ?? ()
@stale
Copy link

stale bot commented Dec 30, 2019

Due to our very limited maintenance capacity, we need to prioritize our development focus on other tasks. Therefore, this issue will be automatically closed (see #15395 for more details). In the future, if we see the need to attend to this issue again, then it will be reopened. Thank you for your contribution!

@stale stale bot closed this as completed Dec 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant