RetroShare / RetroShare

RetroShare is a Free and Open Source cross-platform, Friend-2-Friend and secure decentralised communication platform.
https://retroshare.cc/
Other
1.75k stars 279 forks source link

Memory leaks #1787

Open rex4539 opened 4 years ago

rex4539 commented 4 years ago
Malloc 16 Bytes 1   0x7fc7f51d31a0  16 Bytes    retroshare  ChatLobbyDialog::ChatLobbyDialog(unsigned long long const&, QWidget*, QFlags<Qt::WindowType>)

   0 libsystem_malloc.dylib malloc_zone_malloc
   1 libsystem_malloc.dylib malloc
   2 libc++abi.dylib operator new(unsigned long)
   3 retroshare ChatLobbyDialog::ChatLobbyDialog(unsigned long long const&, QWidget*, QFlags<Qt::WindowType>) /Users/rex/RetroShare/retroshare-gui/src/gui/chat/ChatLobbyDialog.cpp:141
   4 retroshare ChatLobbyDialog::ChatLobbyDialog(unsigned long long const&, QWidget*, QFlags<Qt::WindowType>) /Users/rex/RetroShare/retroshare-gui/src/gui/chat/ChatLobbyDialog.cpp:68
   5 retroshare ChatDialog::getChat(ChatId, unsigned int) /Users/rex/RetroShare/retroshare-gui/src/gui/chat/ChatDialog.cpp:104
   6 retroshare ChatLobbyWidget::updateDisplay() /Users/rex/RetroShare/retroshare-gui/src/gui/ChatLobbyWidget.cpp:619
   7 retroshare ChatLobbyWidget::lobbyChanged() /Users/rex/RetroShare/retroshare-gui/src/gui/ChatLobbyWidget.cpp:362
   8 retroshare ChatLobbyWidget::ChatLobbyWidget(QWidget*, QFlags<Qt::WindowType>) /Users/rex/RetroShare/retroshare-gui/src/gui/ChatLobbyWidget.cpp:184
   9 retroshare ChatLobbyWidget::ChatLobbyWidget(QWidget*, QFlags<Qt::WindowType>) /Users/rex/RetroShare/retroshare-gui/src/gui/ChatLobbyWidget.cpp:86
  10 retroshare MainWindow::initStackedPage() /Users/rex/RetroShare/retroshare-gui/src/gui/MainWindow.cpp:409
  11 retroshare MainWindow::MainWindow(QWidget*, QFlags<Qt::WindowType>) /Users/rex/RetroShare/retroshare-gui/src/gui/MainWindow.cpp:227
  12 retroshare MainWindow::MainWindow(QWidget*, QFlags<Qt::WindowType>) /Users/rex/RetroShare/retroshare-gui/src/gui/MainWindow.cpp:175
  13 retroshare MainWindow::Create() /Users/rex/RetroShare/retroshare-gui/src/gui/MainWindow.cpp:161
  14 retroshare main /Users/rex/RetroShare/retroshare-gui/src/main.cpp:521
  15 libdyld.dylib start
Malloc 16 Bytes 1   0x7fc7f741b110  16 Bytes    retroshare  SearchDialog::SearchDialog(QWidget*)

   0 libsystem_malloc.dylib malloc_zone_malloc
   1 libsystem_malloc.dylib malloc
   2 libc++abi.dylib operator new(unsigned long)
   3 retroshare SearchDialog::SearchDialog(QWidget*) /Users/rex/RetroShare/retroshare-gui/src/gui/FileTransfer/SearchDialog.cpp:156
   4 retroshare SearchDialog::SearchDialog(QWidget*) /Users/rex/RetroShare/retroshare-gui/src/gui/FileTransfer/SearchDialog.cpp:92
   5 retroshare TransfersDialog::TransfersDialog(QWidget*) /Users/rex/RetroShare/retroshare-gui/src/gui/FileTransfer/TransfersDialog.cpp:922
   6 retroshare TransfersDialog::TransfersDialog(QWidget*) /Users/rex/RetroShare/retroshare-gui/src/gui/FileTransfer/TransfersDialog.cpp:805
   7 retroshare MainWindow::initStackedPage() /Users/rex/RetroShare/retroshare-gui/src/gui/MainWindow.cpp:411
   8 retroshare MainWindow::MainWindow(QWidget*, QFlags<Qt::WindowType>) /Users/rex/RetroShare/retroshare-gui/src/gui/MainWindow.cpp:227
   9 retroshare MainWindow::MainWindow(QWidget*, QFlags<Qt::WindowType>) /Users/rex/RetroShare/retroshare-gui/src/gui/MainWindow.cpp:175
  10 retroshare MainWindow::Create() /Users/rex/RetroShare/retroshare-gui/src/gui/MainWindow.cpp:161
  11 retroshare main /Users/rex/RetroShare/retroshare-gui/src/main.cpp:521
  12 libdyld.dylib start
Malloc 80 Bytes 1   0x7fc7f0b33860  80 Bytes    retroshare  ops_mallocz

   0 libsystem_malloc.dylib malloc_zone_malloc
   1 libsystem_malloc.dylib malloc
   2 retroshare ops_mallocz /Users/rex/RetroShare/openpgpsdk/src/openpgpsdk/util.c:118
   3 retroshare se_ip_data_reader /Users/rex/RetroShare/openpgpsdk/src/openpgpsdk/reader_encrypted_seip.c:199
   4 retroshare sub_base_read /Users/rex/RetroShare/openpgpsdk/src/openpgpsdk/packet-parse.c:197
   5 retroshare base_read /Users/rex/RetroShare/openpgpsdk/src/openpgpsdk/packet-parse.c:256
   6 retroshare ops_parse_one_packet /Users/rex/RetroShare/openpgpsdk/src/openpgpsdk/packet-parse.c:3013
   7 retroshare ops_parse /Users/rex/RetroShare/openpgpsdk/src/openpgpsdk/packet-parse.c:3240
   8 retroshare ops_decrypt_se_ip_data /Users/rex/RetroShare/openpgpsdk/src/openpgpsdk/packet-parse.c:2907
   9 retroshare parse_se_ip_data /Users/rex/RetroShare/openpgpsdk/src/openpgpsdk/packet-parse.c:2972
  10 retroshare ops_parse_one_packet /Users/rex/RetroShare/openpgpsdk/src/openpgpsdk/packet-parse.c:3128
  11 retroshare ops_parse /Users/rex/RetroShare/openpgpsdk/src/openpgpsdk/packet-parse.c:3240
  12 retroshare ops_parse_and_print_errors /Users/rex/RetroShare/openpgpsdk/src/openpgpsdk/packet-parse.c:3264
  13 retroshare ops_decrypt_memory /Users/rex/RetroShare/openpgpsdk/src/openpgpsdk/crypto.c:353
  14 retroshare PGPHandler::decryptTextFromFile(t_RsGenericIdType<8u, true, (RsGenericIdType)1> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) /Users/rex/RetroShare/libretroshare/src/pgp/pgphandler.cc:1364
  15 retroshare AuthGPG::decryptTextFromFile(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) /Users/rex/RetroShare/libretroshare/src/pqi/authgpg.cc:59
  16 retroshare RsLoginHandler::getSSLPasswdFromGPGFile(t_RsGenericIdType<16u, false, (RsGenericIdType)0> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) /Users/rex/RetroShare/libretroshare/src/rsserver/rsloginhandler.cc:92
  17 retroshare RsLoginHandler::getSSLPassword(t_RsGenericIdType<16u, false, (RsGenericIdType)0> const&, bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) /Users/rex/RetroShare/libretroshare/src/rsserver/rsloginhandler.cc:46
  18 retroshare RsInit::LoadCertificates(bool) /Users/rex/RetroShare/libretroshare/src/rsserver/rsinit.cc:570
  19 retroshare RsInit::LockAndLoadCertificates(bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) /Users/rex/RetroShare/libretroshare/src/rsserver/rsinit.cc:520
  20 retroshare Rshare::loadCertificate(t_RsGenericIdType<16u, false, (RsGenericIdType)0> const&, bool) /Users/rex/RetroShare/retroshare-gui/src/rshare.cpp:948
  21 retroshare StartDialog::loadPerson() /Users/rex/RetroShare/retroshare-gui/src/gui/StartDialog.cpp:121
  22 retroshare StartDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) /Users/rex/RetroShare/retroshare-gui/src/temp/moc/moc_StartDialog.cpp:80
  23 QtCore 0x112580ff3
  24 QtWidgets QAbstractButton::clicked(bool)
  25 QtWidgets 0x10fadc392
  26 QtWidgets QAbstractButton::click()
  27 QtWidgets QDialog::keyPressEvent(QKeyEvent*)
  28 QtWidgets QWidget::event(QEvent*)
  29 QtWidgets QApplicationPrivate::notify_helper(QObject*, QEvent*)
  30 QtWidgets QApplication::notify(QObject*, QEvent*)
  31 QtCore QCoreApplication::notifyInternal2(QObject*, QEvent*)
  32 QtWidgets 0x10fa7647a
  33 QtWidgets QApplicationPrivate::notify_helper(QObject*, QEvent*)
  34 QtWidgets QApplication::notify(QObject*, QEvent*)
  35 QtCore QCoreApplication::notifyInternal2(QObject*, QEvent*)
  36 QtGui QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*)
  37 QtGui QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
  38 QtGui QWindowSystemInterface::flushWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
  39 libqcocoa.dylib 0x11818c866
  40 libqcocoa.dylib 0x11818cdd5
  41 AppKit -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:]
  42 AppKit -[NSWindow(NSEventRouting) sendEvent:]
  43 libqcocoa.dylib 0x118190899
  44 AppKit -[NSApplication(NSEvent) sendEvent:]
  45 libqcocoa.dylib 0x118194d25
  46 AppKit -[NSApplication _doModalLoop:peek:]
  47 AppKit __33-[NSApplication runModalSession:]_block_invoke_2
  48 AppKit __33-[NSApplication runModalSession:]_block_invoke
  49 AppKit _NSTryRunModal
  50 AppKit -[NSApplication runModalSession:]
  51 libqcocoa.dylib 0x118191f1a
  52 QtCore QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
  53 QtWidgets QDialog::exec()
  54 retroshare main /Users/rex/RetroShare/retroshare-gui/src/main.cpp:340
  55 libdyld.dylib start
Malloc 64 Bytes 1   0x7fc7f0c7fa00  64 Bytes    retroshare  rsAutoProxyMonitor::getTicket()

   0 libsystem_malloc.dylib malloc_zone_malloc
   1 libsystem_malloc.dylib malloc
   2 libc++abi.dylib operator new(unsigned long)
   3 retroshare rsAutoProxyMonitor::getTicket() /Users/rex/RetroShare/libretroshare/src/services/autoproxy/rsautoproxymonitor.cc:274
   4 retroshare rsAutoProxyMonitor::startAll() /Users/rex/RetroShare/libretroshare/src/services/autoproxy/rsautoproxymonitor.cc:54
   5 retroshare RsServer::StartupRetroShare() /Users/rex/RetroShare/libretroshare/src/rsserver/rsinit.cc:1750
   6 retroshare main /Users/rex/RetroShare/retroshare-gui/src/main.cpp:451
   7 libdyld.dylib start
Malloc 48 Bytes 1   0x7fc7f4751c10  48 Bytes    retroshare  TokenQueue::TokenQueue(RsTokenService*, TokenResponse*)

   0 libsystem_malloc.dylib malloc_zone_malloc
   1 libsystem_malloc.dylib malloc
   2 libc++abi.dylib operator new(unsigned long)
   3 retroshare TokenQueue::TokenQueue(RsTokenService*, TokenResponse*) /Users/rex/RetroShare/retroshare-gui/src/util/TokenQueue.cpp:35
   4 retroshare TokenQueue::TokenQueue(RsTokenService*, TokenResponse*) /Users/rex/RetroShare/retroshare-gui/src/util/TokenQueue.cpp:34
   5 retroshare IdDialog::IdDialog(QWidget*) /Users/rex/RetroShare/retroshare-gui/src/gui/Identity/IdDialog.cpp:396
   6 retroshare IdDialog::IdDialog(QWidget*) /Users/rex/RetroShare/retroshare-gui/src/gui/Identity/IdDialog.cpp:148
   7 retroshare MainWindow::initStackedPage() /Users/rex/RetroShare/retroshare-gui/src/gui/MainWindow.cpp:408
   8 retroshare MainWindow::MainWindow(QWidget*, QFlags<Qt::WindowType>) /Users/rex/RetroShare/retroshare-gui/src/gui/MainWindow.cpp:227
   9 retroshare MainWindow::MainWindow(QWidget*, QFlags<Qt::WindowType>) /Users/rex/RetroShare/retroshare-gui/src/gui/MainWindow.cpp:175
  10 retroshare MainWindow::Create() /Users/rex/RetroShare/retroshare-gui/src/gui/MainWindow.cpp:161
  11 retroshare main /Users/rex/RetroShare/retroshare-gui/src/main.cpp:521
  12 libdyld.dylib start
Malloc 64 Bytes 1   0x7fc7f5010a20  64 Bytes    retroshare  IdDialog::IdDialog(QWidget*)

   0 libsystem_malloc.dylib malloc_zone_malloc
   1 libsystem_malloc.dylib malloc
   2 libc++abi.dylib operator new(unsigned long)
   3 retroshare IdDialog::IdDialog(QWidget*) /Users/rex/RetroShare/retroshare-gui/src/gui/Identity/IdDialog.cpp:171
   4 retroshare IdDialog::IdDialog(QWidget*) /Users/rex/RetroShare/retroshare-gui/src/gui/Identity/IdDialog.cpp:148
   5 retroshare MainWindow::initStackedPage() /Users/rex/RetroShare/retroshare-gui/src/gui/MainWindow.cpp:408
   6 retroshare MainWindow::MainWindow(QWidget*, QFlags<Qt::WindowType>) /Users/rex/RetroShare/retroshare-gui/src/gui/MainWindow.cpp:227
   7 retroshare MainWindow::MainWindow(QWidget*, QFlags<Qt::WindowType>) /Users/rex/RetroShare/retroshare-gui/src/gui/MainWindow.cpp:175
   8 retroshare MainWindow::Create() /Users/rex/RetroShare/retroshare-gui/src/gui/MainWindow.cpp:161
   9 retroshare main /Users/rex/RetroShare/retroshare-gui/src/main.cpp:521
  10 libdyld.dylib start
Malloc 32 Bytes 1   0x7fc7f71851c0  32 Bytes    retroshare  MessagesDialog::MessagesDialog(QWidget*)

   0 libsystem_malloc.dylib malloc_zone_malloc
   1 libsystem_malloc.dylib malloc
   2 libc++abi.dylib operator new(unsigned long)
   3 retroshare MessagesDialog::MessagesDialog(QWidget*) /Users/rex/RetroShare/retroshare-gui/src/gui/msgs/MessagesDialog.cpp:144
   4 retroshare MessagesDialog::MessagesDialog(QWidget*) /Users/rex/RetroShare/retroshare-gui/src/gui/msgs/MessagesDialog.cpp:112
   5 retroshare MainWindow::initStackedPage() /Users/rex/RetroShare/retroshare-gui/src/gui/MainWindow.cpp:410
   6 retroshare MainWindow::MainWindow(QWidget*, QFlags<Qt::WindowType>) /Users/rex/RetroShare/retroshare-gui/src/gui/MainWindow.cpp:227
   7 retroshare MainWindow::MainWindow(QWidget*, QFlags<Qt::WindowType>) /Users/rex/RetroShare/retroshare-gui/src/gui/MainWindow.cpp:175
   8 retroshare MainWindow::Create() /Users/rex/RetroShare/retroshare-gui/src/gui/MainWindow.cpp:161
   9 retroshare main /Users/rex/RetroShare/retroshare-gui/src/main.cpp:521
  10 libdyld.dylib start
Malloc 16 Bytes 1   0x7fc7f70f79e0  16 Bytes    retroshare  TransfersDialog::TransfersDialog(QWidget*)

   0 libsystem_malloc.dylib malloc_zone_malloc
   1 libsystem_malloc.dylib malloc
   2 libc++abi.dylib operator new(unsigned long)
   3 retroshare TransfersDialog::TransfersDialog(QWidget*) /Users/rex/RetroShare/retroshare-gui/src/gui/FileTransfer/TransfersDialog.cpp:822
   4 retroshare TransfersDialog::TransfersDialog(QWidget*) /Users/rex/RetroShare/retroshare-gui/src/gui/FileTransfer/TransfersDialog.cpp:805
   5 retroshare MainWindow::initStackedPage() /Users/rex/RetroShare/retroshare-gui/src/gui/MainWindow.cpp:411
   6 retroshare MainWindow::MainWindow(QWidget*, QFlags<Qt::WindowType>) /Users/rex/RetroShare/retroshare-gui/src/gui/MainWindow.cpp:227
   7 retroshare MainWindow::MainWindow(QWidget*, QFlags<Qt::WindowType>) /Users/rex/RetroShare/retroshare-gui/src/gui/MainWindow.cpp:175
   8 retroshare MainWindow::Create() /Users/rex/RetroShare/retroshare-gui/src/gui/MainWindow.cpp:161
   9 retroshare main /Users/rex/RetroShare/retroshare-gui/src/main.cpp:521
  10 libdyld.dylib start
Malloc 112 Bytes    1   0x7fc7ee0a7ce0  112 Bytes   retroshare  p3Peers::getShortInvite(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, t_RsGenericIdType<16u, false, (RsGenericIdType)0> const&, bool, bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)

   0 libsystem_malloc.dylib malloc_zone_malloc
   1 libsystem_malloc.dylib malloc
   2 retroshare p3Peers::getShortInvite(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, t_RsGenericIdType<16u, false, (RsGenericIdType)0> const&, bool, bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) /Users/rex/RetroShare/libretroshare/src/rsserver/p3peers.cc:1194
   3 retroshare HomePage::updateOwnId() /Users/rex/RetroShare/retroshare-gui/src/gui/HomePage.cpp:204
   4 retroshare HomePage::HomePage(QWidget*) /Users/rex/RetroShare/retroshare-gui/src/gui/HomePage.cpp:57
   5 retroshare HomePage::HomePage(QWidget*) /Users/rex/RetroShare/retroshare-gui/src/gui/HomePage.cpp:53
   6 retroshare MainWindow::initStackedPage() /Users/rex/RetroShare/retroshare-gui/src/gui/MainWindow.cpp:401
   7 retroshare MainWindow::MainWindow(QWidget*, QFlags<Qt::WindowType>) /Users/rex/RetroShare/retroshare-gui/src/gui/MainWindow.cpp:227
   8 retroshare MainWindow::MainWindow(QWidget*, QFlags<Qt::WindowType>) /Users/rex/RetroShare/retroshare-gui/src/gui/MainWindow.cpp:175
   9 retroshare MainWindow::Create() /Users/rex/RetroShare/retroshare-gui/src/gui/MainWindow.cpp:161
  10 retroshare main /Users/rex/RetroShare/retroshare-gui/src/main.cpp:521
  11 libdyld.dylib start
Malloc 16 Bytes 1   0x7fc7f96d4b20  16 Bytes    retroshare  GroupTreeWidget::GroupTreeWidget(QWidget*)

   0 libsystem_malloc.dylib malloc_zone_malloc
   1 libsystem_malloc.dylib malloc
   2 libc++abi.dylib operator new(unsigned long)
   3 retroshare GroupTreeWidget::GroupTreeWidget(QWidget*) /Users/rex/RetroShare/retroshare-gui/src/gui/common/GroupTreeWidget.cpp:86
   4 retroshare GroupTreeWidget::GroupTreeWidget(QWidget*) /Users/rex/RetroShare/retroshare-gui/src/gui/common/GroupTreeWidget.cpp:74
   5 retroshare Ui_GxsGroupFrameDialog::setupUi(QWidget*) /Users/rex/RetroShare/retroshare-gui/src/temp/ui/ui_GxsGroupFrameDialog.h:118
   6 retroshare GxsGroupFrameDialog::GxsGroupFrameDialog(RsGxsIfaceHelper*, QWidget*, bool) /Users/rex/RetroShare/retroshare-gui/src/gui/gxs/GxsGroupFrameDialog.cpp:75
   7 retroshare PostedDialog::PostedDialog(QWidget*) /Users/rex/RetroShare/retroshare-gui/src/gui/Posted/PostedDialog.cpp:45
   8 retroshare PostedDialog::PostedDialog(QWidget*) /Users/rex/RetroShare/retroshare-gui/src/gui/Posted/PostedDialog.cpp:46
   9 retroshare MainWindow::initStackedPage() /Users/rex/RetroShare/retroshare-gui/src/gui/MainWindow.cpp:414
  10 retroshare MainWindow::MainWindow(QWidget*, QFlags<Qt::WindowType>) /Users/rex/RetroShare/retroshare-gui/src/gui/MainWindow.cpp:227
  11 retroshare MainWindow::MainWindow(QWidget*, QFlags<Qt::WindowType>) /Users/rex/RetroShare/retroshare-gui/src/gui/MainWindow.cpp:175
  12 retroshare MainWindow::Create() /Users/rex/RetroShare/retroshare-gui/src/gui/MainWindow.cpp:161
  13 retroshare main /Users/rex/RetroShare/retroshare-gui/src/main.cpp:521
  14 libdyld.dylib start
Malloc 144 Bytes    1   0x7fc7ec408b70  144 Bytes   retroshare  cast5_init

   0 libsystem_malloc.dylib malloc_zone_malloc
   1 libsystem_malloc.dylib malloc
   2 retroshare cast5_init /Users/rex/RetroShare/openpgpsdk/src/openpgpsdk/symmetric.c:92
   3 retroshare ops_decrypt_init /Users/rex/RetroShare/openpgpsdk/src/openpgpsdk/symmetric.c:572
   4 retroshare ops_encrypt_init /Users/rex/RetroShare/openpgpsdk/src/openpgpsdk/symmetric.c:567
   5 retroshare parse_pk_session_key /Users/rex/RetroShare/openpgpsdk/src/openpgpsdk/packet-parse.c:2827
   6 retroshare ops_parse_one_packet /Users/rex/RetroShare/openpgpsdk/src/openpgpsdk/packet-parse.c:3120
   7 retroshare ops_parse /Users/rex/RetroShare/openpgpsdk/src/openpgpsdk/packet-parse.c:3240
   8 retroshare ops_parse_and_print_errors /Users/rex/RetroShare/openpgpsdk/src/openpgpsdk/packet-parse.c:3264
   9 retroshare ops_decrypt_memory /Users/rex/RetroShare/openpgpsdk/src/openpgpsdk/crypto.c:353
  10 retroshare PGPHandler::decryptTextFromFile(t_RsGenericIdType<8u, true, (RsGenericIdType)1> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) /Users/rex/RetroShare/libretroshare/src/pgp/pgphandler.cc:1364
  11 retroshare AuthGPG::decryptTextFromFile(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) /Users/rex/RetroShare/libretroshare/src/pqi/authgpg.cc:59
  12 retroshare RsLoginHandler::getSSLPasswdFromGPGFile(t_RsGenericIdType<16u, false, (RsGenericIdType)0> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) /Users/rex/RetroShare/libretroshare/src/rsserver/rsloginhandler.cc:92
  13 retroshare RsLoginHandler::getSSLPassword(t_RsGenericIdType<16u, false, (RsGenericIdType)0> const&, bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) /Users/rex/RetroShare/libretroshare/src/rsserver/rsloginhandler.cc:46
  14 retroshare RsInit::LoadCertificates(bool) /Users/rex/RetroShare/libretroshare/src/rsserver/rsinit.cc:570
  15 retroshare RsInit::LockAndLoadCertificates(bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) /Users/rex/RetroShare/libretroshare/src/rsserver/rsinit.cc:520
  16 retroshare Rshare::loadCertificate(t_RsGenericIdType<16u, false, (RsGenericIdType)0> const&, bool) /Users/rex/RetroShare/retroshare-gui/src/rshare.cpp:948
  17 retroshare StartDialog::loadPerson() /Users/rex/RetroShare/retroshare-gui/src/gui/StartDialog.cpp:121
  18 retroshare StartDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) /Users/rex/RetroShare/retroshare-gui/src/temp/moc/moc_StartDialog.cpp:80
  19 QtCore 0x112580ff3
  20 QtWidgets QAbstractButton::clicked(bool)
  21 QtWidgets 0x10fadc392
  22 QtWidgets QAbstractButton::click()
  23 QtWidgets QDialog::keyPressEvent(QKeyEvent*)
  24 QtWidgets QWidget::event(QEvent*)
  25 QtWidgets QApplicationPrivate::notify_helper(QObject*, QEvent*)
  26 QtWidgets QApplication::notify(QObject*, QEvent*)
  27 QtCore QCoreApplication::notifyInternal2(QObject*, QEvent*)
  28 QtWidgets 0x10fa7647a
  29 QtWidgets QApplicationPrivate::notify_helper(QObject*, QEvent*)
  30 QtWidgets QApplication::notify(QObject*, QEvent*)
  31 QtCore QCoreApplication::notifyInternal2(QObject*, QEvent*)
  32 QtGui QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*)
  33 QtGui QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
  34 QtGui QWindowSystemInterface::flushWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
  35 libqcocoa.dylib 0x11818c866
  36 libqcocoa.dylib 0x11818cdd5
  37 AppKit -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:]
  38 AppKit -[NSWindow(NSEventRouting) sendEvent:]
  39 libqcocoa.dylib 0x118190899
  40 AppKit -[NSApplication(NSEvent) sendEvent:]
  41 libqcocoa.dylib 0x118194d25
  42 AppKit -[NSApplication _doModalLoop:peek:]
  43 AppKit __33-[NSApplication runModalSession:]_block_invoke_2
  44 AppKit __33-[NSApplication runModalSession:]_block_invoke
  45 AppKit _NSTryRunModal
  46 AppKit -[NSApplication runModalSession:]
  47 libqcocoa.dylib 0x118191f1a
  48 QtCore QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
  49 QtWidgets QDialog::exec()
  50 retroshare main /Users/rex/RetroShare/retroshare-gui/src/main.cpp:340
  51 libdyld.dylib start
Malloc 432 Bytes    1   0x7fc7f7434d60  432 Bytes   retroshare  RemoteSharedFilesDialog::RemoteSharedFilesDialog(QWidget*)

   0 libsystem_malloc.dylib malloc_zone_malloc
   1 libsystem_malloc.dylib malloc
   2 libc++abi.dylib operator new(unsigned long)
   3 retroshare RemoteSharedFilesDialog::RemoteSharedFilesDialog(QWidget*) /Users/rex/RetroShare/retroshare-gui/src/gui/FileTransfer/SharedFilesDialog.cpp:272
   4 retroshare RemoteSharedFilesDialog::RemoteSharedFilesDialog(QWidget*) /Users/rex/RetroShare/retroshare-gui/src/gui/FileTransfer/SharedFilesDialog.cpp:273
   5 retroshare TransfersDialog::TransfersDialog(QWidget*) /Users/rex/RetroShare/retroshare-gui/src/gui/FileTransfer/TransfersDialog.cpp:923
   6 retroshare TransfersDialog::TransfersDialog(QWidget*) /Users/rex/RetroShare/retroshare-gui/src/gui/FileTransfer/TransfersDialog.cpp:805
   7 retroshare MainWindow::initStackedPage() /Users/rex/RetroShare/retroshare-gui/src/gui/MainWindow.cpp:411
   8 retroshare MainWindow::MainWindow(QWidget*, QFlags<Qt::WindowType>) /Users/rex/RetroShare/retroshare-gui/src/gui/MainWindow.cpp:227
   9 retroshare MainWindow::MainWindow(QWidget*, QFlags<Qt::WindowType>) /Users/rex/RetroShare/retroshare-gui/src/gui/MainWindow.cpp:175
  10 retroshare MainWindow::Create() /Users/rex/RetroShare/retroshare-gui/src/gui/MainWindow.cpp:161
  11 retroshare main /Users/rex/RetroShare/retroshare-gui/src/main.cpp:521
  12 libdyld.dylib start
Malloc 96 Bytes 1   0x7fc7ec408c00  96 Bytes    retroshare  sha1_init

   0 libsystem_malloc.dylib malloc_zone_malloc
   1 libsystem_malloc.dylib malloc
   2 retroshare sha1_init /Users/rex/RetroShare/openpgpsdk/src/openpgpsdk/openssl_crypto.c:108
   3 retroshare se_ip_data_reader /Users/rex/RetroShare/openpgpsdk/src/openpgpsdk/reader_encrypted_seip.c:105
   4 retroshare sub_base_read /Users/rex/RetroShare/openpgpsdk/src/openpgpsdk/packet-parse.c:197
   5 retroshare base_read /Users/rex/RetroShare/openpgpsdk/src/openpgpsdk/packet-parse.c:256
   6 retroshare ops_parse_one_packet /Users/rex/RetroShare/openpgpsdk/src/openpgpsdk/packet-parse.c:3013
   7 retroshare ops_parse /Users/rex/RetroShare/openpgpsdk/src/openpgpsdk/packet-parse.c:3240
   8 retroshare ops_decrypt_se_ip_data /Users/rex/RetroShare/openpgpsdk/src/openpgpsdk/packet-parse.c:2907
   9 retroshare parse_se_ip_data /Users/rex/RetroShare/openpgpsdk/src/openpgpsdk/packet-parse.c:2972
  10 retroshare ops_parse_one_packet /Users/rex/RetroShare/openpgpsdk/src/openpgpsdk/packet-parse.c:3128
  11 retroshare ops_parse /Users/rex/RetroShare/openpgpsdk/src/openpgpsdk/packet-parse.c:3240
  12 retroshare ops_parse_and_print_errors /Users/rex/RetroShare/openpgpsdk/src/openpgpsdk/packet-parse.c:3264
  13 retroshare ops_decrypt_memory /Users/rex/RetroShare/openpgpsdk/src/openpgpsdk/crypto.c:353
  14 retroshare PGPHandler::decryptTextFromFile(t_RsGenericIdType<8u, true, (RsGenericIdType)1> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) /Users/rex/RetroShare/libretroshare/src/pgp/pgphandler.cc:1364
  15 retroshare AuthGPG::decryptTextFromFile(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) /Users/rex/RetroShare/libretroshare/src/pqi/authgpg.cc:59
  16 retroshare RsLoginHandler::getSSLPasswdFromGPGFile(t_RsGenericIdType<16u, false, (RsGenericIdType)0> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) /Users/rex/RetroShare/libretroshare/src/rsserver/rsloginhandler.cc:92
  17 retroshare RsLoginHandler::getSSLPassword(t_RsGenericIdType<16u, false, (RsGenericIdType)0> const&, bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) /Users/rex/RetroShare/libretroshare/src/rsserver/rsloginhandler.cc:46
  18 retroshare RsInit::LoadCertificates(bool) /Users/rex/RetroShare/libretroshare/src/rsserver/rsinit.cc:570
  19 retroshare RsInit::LockAndLoadCertificates(bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) /Users/rex/RetroShare/libretroshare/src/rsserver/rsinit.cc:520
  20 retroshare Rshare::loadCertificate(t_RsGenericIdType<16u, false, (RsGenericIdType)0> const&, bool) /Users/rex/RetroShare/retroshare-gui/src/rshare.cpp:948
  21 retroshare StartDialog::loadPerson() /Users/rex/RetroShare/retroshare-gui/src/gui/StartDialog.cpp:121
  22 retroshare StartDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) /Users/rex/RetroShare/retroshare-gui/src/temp/moc/moc_StartDialog.cpp:80
  23 QtCore 0x112580ff3
  24 QtWidgets QAbstractButton::clicked(bool)
  25 QtWidgets 0x10fadc392
  26 QtWidgets QAbstractButton::click()
  27 QtWidgets QDialog::keyPressEvent(QKeyEvent*)
  28 QtWidgets QWidget::event(QEvent*)
  29 QtWidgets QApplicationPrivate::notify_helper(QObject*, QEvent*)
  30 QtWidgets QApplication::notify(QObject*, QEvent*)
  31 QtCore QCoreApplication::notifyInternal2(QObject*, QEvent*)
  32 QtWidgets 0x10fa7647a
  33 QtWidgets QApplicationPrivate::notify_helper(QObject*, QEvent*)
  34 QtWidgets QApplication::notify(QObject*, QEvent*)
  35 QtCore QCoreApplication::notifyInternal2(QObject*, QEvent*)
  36 QtGui QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*)
  37 QtGui QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
  38 QtGui QWindowSystemInterface::flushWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
  39 libqcocoa.dylib 0x11818c866
  40 libqcocoa.dylib 0x11818cdd5
  41 AppKit -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:]
  42 AppKit -[NSWindow(NSEventRouting) sendEvent:]
  43 libqcocoa.dylib 0x118190899
  44 AppKit -[NSApplication(NSEvent) sendEvent:]
  45 libqcocoa.dylib 0x118194d25
  46 AppKit -[NSApplication _doModalLoop:peek:]
  47 AppKit __33-[NSApplication runModalSession:]_block_invoke_2
  48 AppKit __33-[NSApplication runModalSession:]_block_invoke
  49 AppKit _NSTryRunModal
  50 AppKit -[NSApplication runModalSession:]
  51 libqcocoa.dylib 0x118191f1a
  52 QtCore QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
  53 QtWidgets QDialog::exec()
  54 retroshare main /Users/rex/RetroShare/retroshare-gui/src/main.cpp:340
  55 libdyld.dylib start
Malloc 48 Bytes 1   0x7fc7f979be50  48 Bytes    retroshare  PostedPage::PostedPage(QWidget*, QFlags<Qt::WindowType>)

   0 libsystem_malloc.dylib malloc_zone_malloc
   1 libsystem_malloc.dylib malloc
   2 libc++abi.dylib operator new(unsigned long)
   3 retroshare PostedPage::PostedPage(QWidget*, QFlags<Qt::WindowType>) /Users/rex/RetroShare/retroshare-gui/src/gui/settings/PostedPage.cpp:27
   4 retroshare PostedPage::PostedPage(QWidget*, QFlags<Qt::WindowType>) /Users/rex/RetroShare/retroshare-gui/src/gui/settings/PostedPage.cpp:28
   5 retroshare SettingsPage::initStackedWidget() /Users/rex/RetroShare/retroshare-gui/src/gui/settings/rsettingswin.cpp:161
   6 retroshare SettingsPage::SettingsPage(QWidget*) /Users/rex/RetroShare/retroshare-gui/src/gui/settings/rsettingswin.cpp:78
   7 retroshare SettingsPage::SettingsPage(QWidget*) /Users/rex/RetroShare/retroshare-gui/src/gui/settings/rsettingswin.cpp:66
   8 retroshare MainWindow::initStackedPage() /Users/rex/RetroShare/retroshare-gui/src/gui/MainWindow.cpp:480
   9 retroshare MainWindow::MainWindow(QWidget*, QFlags<Qt::WindowType>) /Users/rex/RetroShare/retroshare-gui/src/gui/MainWindow.cpp:227
  10 retroshare MainWindow::MainWindow(QWidget*, QFlags<Qt::WindowType>) /Users/rex/RetroShare/retroshare-gui/src/gui/MainWindow.cpp:175
  11 retroshare MainWindow::Create() /Users/rex/RetroShare/retroshare-gui/src/gui/MainWindow.cpp:161
  12 retroshare main /Users/rex/RetroShare/retroshare-gui/src/main.cpp:521
  13 libdyld.dylib start
csoler commented 4 years ago

thx a lot for this. These are actually very small leaks. We will take care of some of them.