Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update src/i2pd to i2pd commit 66d0b7aec4f7af23c48c45441eaff86ef801434b #96

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nonlin-lin-chaos-order-etc-etal
Copy link
Member

No description provided.

@nonlin-lin-chaos-order-etc-etal nonlin-lin-chaos-order-etc-etal marked this pull request as draft March 9, 2024 03:35
@nonlin-lin-chaos-order-etc-etal
Copy link
Member Author

nonlin-lin-chaos-order-etc-etal commented Mar 9, 2024

Bug: always crashes on startup on loading configs from non-existing files

terminate called after throwing an instance of 'boost::wrapexcept<boost::bad_any_cast>'
  what():  boost::bad_any_cast: failed conversion using boost::any_cast

Thread 1 "i2pd_qt" received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
50	../sysdeps/unix/sysv/linux/raise.c: Нет такого файла или каталога.
(gdb) bt full
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
        set = {__val = {0, 11584885709042533, 0, 0, 8463800222049042708, 8463800222054970708, 18175931007716739022, 15093800716496429941, 4589811391665874045, 0, 4598126415840447680, 0, 0, 0, 0, 0}}
        pid = <optimized out>
        tid = <optimized out>
#1  0x00007ffff643f859 in __GI_abort () at abort.c:79
        save_stage = 1
        act = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0}, sa_mask = {__val = {0 <repeats 15 times>, 93824998433512}}, sa_flags = -159234652, sa_restorer = 0x7ffff660a780 <stderr>}
        sigs = {__val = {32, 0 <repeats 15 times>}}
#2  0x00007ffff68198d1 in  () at /lib/x86_64-linux-gnu/libstdc++.so.6
#3  0x00007ffff682537c in  () at /lib/x86_64-linux-gnu/libstdc++.so.6
#4  0x00007ffff68253e7 in  () at /lib/x86_64-linux-gnu/libstdc++.so.6
#5  0x00007ffff6825699 in  () at /lib/x86_64-linux-gnu/libstdc++.so.6
#6  0x00005555555f144c in boost::throw_exception<boost::bad_any_cast>(boost::bad_any_cast const&) (e=...) at /usr/include/boost/throw_exception.hpp:70
#7  0x00005555555ec1d5 in boost::any_cast<unsigned short>(boost::any&) (operand=...) at /usr/include/boost/any.hpp:272
        result = 0x0
#8  0x00005555555c2463 in UInt16StringItem::toString() (this=0x5555576f7320) at src/mainwindow.h:381
#9  0x00005555555c0708 in BaseStringItem::loadFromConfigOption() (this=0x5555576f7320) at src/mainwindow.h:192
#10 0x00005555555b69b2 in MainWindow::loadAllConfigs(SaverImpl*) (this=0x7fffffffd8c0, saverPtr=0x555557497650) at src/mainwindow.cpp:773
        item = 0x5555576f7320
        it = {i = 0x555557593f48}
        config = "/home/user/.var/app/website.i2pd.i2pd/data/.i2pd/i2pd.conf"
        datadir = "/home/user/.var/app/website.i2pd.i2pd/data/.i2pd"
        service = false
        tunConf = "/home/user/.var/app/website.i2pd.i2pd/data/.i2pd/tunnels.conf"
#11 0x00005555555b1b11 in MainWindow::MainWindow(std::shared_ptr<std::iostream>, QWidget*)
    (this=0x7fffffffd8c0, logStream_=std::shared_ptr<class std::basic_iostream<char, std::char_traits<char> >> (empty) = {...}, parent=0x0) at src/mainwindow.cpp:358
        WINDOW_HEIGHT = 610
        w = 683
        h = 4550
        pal = 
            {static staticMetaObject = {d = {superdata = 0x0, stringdata = 0x7ffff7400860, data = 0x7ffff7400700, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}, d = 0x555557713810, {data = {current_group = 0, resolve_mask = 1024}, for_faster_swapping_dont_use = 16384}}
#12 0x00005555555a07f7 in i2p::qt::RunQT(int, char**) (argc=3, argv=0x7fffffffdba8) at src/DaemonQT.cpp:173
        logstreamptr = std::shared_ptr<class std::basic_iostream<char, std::char_traits<char> >> (empty) = {get() = 0x0}
        daemon = {mutex = 0x555556187490, m_IsRunning = false, m_RunningChangedCallback = 0x0}
        daemonInitSuccess = true
        w = Python Exception <class 'AttributeError'> 'NoneType' object has no attribute 'pointer': 
Python Exception <class 'AttributeError'> 'NoneType' object has no attribute 'pointer': 

          {<QMainWindow> = {<No data fields>}, static staticMetaObject = {d = {superdata = 0x7ffff7b2a4e0 <QMainWindow::staticMetaObject>, stringdata = 0x555555b91e40 <qt_meta_stringdata_MainWindow>, data = 0x555555b927a0 <qt_meta_data_MainWindow>, static_metacall = 0x5555556c9d14 <MainWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, currentLocalDestinationB32 = "", logStream = std::shared_ptr<class std::basic_iostream<char, std::char_traits<char> >> (empty) = {get() = 0x0}, delayedSaveManagerPtr = 0x555557496560, dataSerial = 0, statusPage = MainWindow::main_page, statusPageUpdateTimer = 0x555557689560, wasSelectingAtStatusMainPage = false, showHiddenInfoStatusMainPage = false, logViewerManagerPtr = 0x0, quitting = false, toggleWindowVisibleAction = 0x555557732e60, trayIcon = 0x55555763d920, trayIconMenu = 0x555557637f50, ui = 0x5555560f9030, statusButtonsUI = 0x5555574967e0, routerCommandsUI = 0x5555561a6020, uiSettings = 0x555557496840, settingsTitleLabelNominalHeight = 30, textBrowser = 0x55555763d510, routerCommandsParent = 0x5555574975d0, pageWithBackButton = 0x5555577599c0, childTextBrowser = 0x55555796ee40, widgetlocks = {_vptr.widgetlockregistry = 0x555555e4ab88 <vtable for widgetlockregistry+16>, locks = std::vector of length 4, capacity 4 = {0x5555574e3360, 0x5555574e3410, 0x5555574e3440, 0x5555576905e0}}, i2pController = 0x0, configItems = {<QListSpecialMethods<MainWindowItem*>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x555557593c80}, d = 0x555557593c80}}, daemonOption = 0x555557665b40, serviceOption = 0x5555575bab10, logFileNameOption = 0x5555575d4fc0, datadir = {static null = {<No data fields>}, d = 0x5555576f6650}, confpath = {static null = {<No data fields>}, d = 0x55555754cc30}, tunconfpath = {static null = {<No data fields>}, d = 0x55555772d4f0}, tunnelConfigs = std::map with 0 elements, tunnelPanes = empty std::__cxx11::list, tunnelsPageUpdateListener = {<TunnelsPageUpdateListener> = {_vptr.TunnelsPageUpdateListener = 0x555555e4a2f0 <vtable for MainWindow::TunnelsPageUpdateListenerMainWindowImpl+16>}, mainWindow = 0x7fffff--Type <RET> for more, q to quit, c to continue without paging--q
Quit
(gdb) quit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant