Activity for Haddayn

  • Haddayn Haddayn posted a comment on discussion Development

    Could someone please file a ticket? Or is there already a ticket for this?

  • Haddayn Haddayn modified a comment on discussion Development

    Managed to trim it a little bit more: struct ListItem { int value; }; void clamp() { auto range = v.value<QPair<int, int>>(); } Reduced parameters to the following: cppcheck --enable=unusedFunction crash.cpp

  • Haddayn Haddayn modified a comment on discussion Development

    Managed to trim it a little bit more: struct ListItem { int value; }; void clamp() { auto range = v.value<QPair<int, int>>(); } Reduced parameters to the following: cppcheck --enable=all crash.cpp

  • Haddayn Haddayn modified a comment on discussion Development

    Managed to trim it a little bit more: struct ListItem { int value; }; void clamp() { auto range = v.value<QPair<int, int>>(); } I ran it with following parameters: cppcheck --enable=all crash.cpp

  • Haddayn Haddayn posted a comment on discussion Development

    Managed to trim it a little bit more: struct ListItem { int value; }; void clamp() { auto range = v.value<QPair<int, int>>(); }

  • Haddayn Haddayn modified a comment on discussion Development

    Hey there. Cppcheck 2.6 crashes where cppcheck 2.5 does not By removing as much lines as possible, I ended up with this: class List { public: struct ListItem { int value; }; }; int clamp(int i, QVariant v) { QPair<int, int> range = v.value<QPair<int, int>>(); return i; } # gdb cppcheck (gdb) r --enable=all --std=c++11 --library=qt crash.cpp Starting program: /usr/bin/cppcheck --enable=all --std=c++11 --library=qt crash.cpp [Thread debugging using libthread_db enabled] Using host libthread_db library...

  • Haddayn Haddayn modified a comment on discussion Development

    Hey there. Cppcheck 2.6 crashes where cppcheck 2.5 does not By removing as much lines as possible, I ended up with this: class List { public: struct ListItem { int value; }; }; int clamp(int i, QVariant v) { QPair<int, int> range = v.value<QPair<int, int>>(); return i; } # gdb cppcheck (gdb) r --enable=all --std=c++11 --library=qt crash.cpp Starting program: /usr/bin/cppcheck --enable=all --std=c++11 --library=qt crash.cpp [Thread debugging using libthread_db enabled] Using host libthread_db library...

  • Haddayn Haddayn posted a comment on discussion Development

    Hey there. Cppcheck 2.6 crashes where cppcheck 2.5 does not By removing as much lines as possible, I ended up with this: class List { public: struct ListItem { int value; }; }; int clamp(int i, QVariant v) const { QPair<int, int> range = v.value<QPair<int, int>>(); return i; } # gdb cppcheck (gdb) r --enable=all --std=c++11 --library=qt crash.cpp Starting program: /usr/bin/cppcheck --enable=all --std=c++11 --library=qt crash.cpp [Thread debugging using libthread_db enabled] Using host libthread_db...

  • Haddayn Haddayn posted a comment on discussion General Discussion

    On the trac page https://trac.cppcheck.net/

  • Haddayn Haddayn posted a comment on discussion Development

    Found a false positive when a template class is passed as a template parameter to its friend. Checking cppcheck.cpp ... cppcheck.cpp:14:7: style: Unused private function: 'operations::get' [unusedPrivateFunction] void get() {} template<typename Operator> struct accessor { void get() { Operator::get(); } } template<typename T> class operations { friend accessor<operations<T>>; void get() {} };

  • Haddayn Haddayn posted a comment on discussion General Discussion

    Managed to reduce it even further: namespace mystd { template <typename T> struct remove_cvref { using type = T }; template <typename T> using remove_cvref_t = typename remove_cvref<T>::type; class any; template <typename T> T any_cast(any& any) { any_cast<remove_cvref_t<T>>(&any); } } int main() { mystd::any a(4); mystd::any_cast<int&>(a) = 5; } Changing anything at this point breaks the infinite loop.

  • Haddayn Haddayn modified a comment on discussion General Discussion

    You probably should update the info on your website, since the freenode channel is dead. Cppcheck (version 2.5) got stuck in an infinite loop when parsing a template alias. Or at least it has been running for an hour. I've managed to condense the code into the following snippet: namespace mystd { template <typename T> using remove_reference_t = typename std::remove_reference<T>::type; template <typename T> struct remove_cvref { using type = typename std::remove_cv<remove_reference_t<T>>::type; };...

  • Haddayn Haddayn modified a comment on discussion General Discussion

    I tried to figure out what's gone wrong, but it is hard without diving deeper into the code which I don't have time for. I hope this information is helpful: I inserted a breakpoint at the line Token *tok2 = tok->next()->findClosingBracket(); And it seems it keeps adding same token over and over, when printing tok2->mPrevious->mPrevious, tok2->mPrevious->mPrevious->mPrevious->mPrevious etc, all point to the token "remove_cvref_t". All of these have diffrent addresses, so it is not a cyclic reference....

  • Haddayn Haddayn modified a comment on discussion General Discussion

    I tried to figure out what's gone wrong, but it is hard without diving deeper into the code which I don't have time for. I hope this information is helpful: I inserted breakpoint at the line Token *tok2 = tok->next()->findClosingBracket(); And it seems it keeps adding same token over and over, when printing tok2->mPrevious->mPrevious, tok2->mPrevious->mPrevious->mPrevious->mPrevious etc, all point to the token "remove_cvref_t". All of these have diffrent addresses, so it is not a cyclic reference....

  • Haddayn Haddayn modified a comment on discussion General Discussion

    I tried to figure out what's gone wrong, but it is hard without diving deeper into the code which I don't have time for. I inserted breakpoint at the line Token *tok2 = tok->next()->findClosingBracket(); And it seems it keeps adding same token over and over, when printing tok2->mPrevious->mPrevious, tok2->mPrevious->mPrevious->mPrevious->mPrevious etc, all point to the token "remove_cvref_t". All of these have diffrent addresses, so it is not a cyclic reference. mTemplateInstantiations kept growing...

  • Haddayn Haddayn posted a comment on discussion General Discussion

    I tried to figure out what's gone wrong, but it is hard without diving deeper into the code which I don't have time for. I inserted breakpoint at the line Token *tok2 = tok->next()->findClosingBracket(); And it seems it keeps adding same token over and over, when printing tok2->mPrevious->mPrevious, tok2->mPrevious->mPrevious->mPrevious->mPrevious etc, all point to the token "remove_cvref_t". All of these have diffrent addresses, so it is not a cyclic reference. mTemplateInstantiations keeps growing...

  • Haddayn Haddayn modified a comment on discussion General Discussion

    You probably should update the info on your website, since the freenode channel is dead. Cppcheck (version 2.5) got stuck in an infinite loop when parsing a template alias. Or at least it has been running for an hour. I've managed to condense the code into the following snippet: namespace mystd { template <typename T> using remove_reference_t = typename std::remove_reference<T>::type; template <typename T> struct remove_cvref { using type = typename std::remove_cv<remove_reference_t<T>>::type; };...

  • Haddayn Haddayn modified a comment on discussion General Discussion

    You probably should update the info on your website, since the freenode channel is dead. Cppcheck got stuck in an infinite loop when parsing a template alias. Or at least it has been running for an hour. I've managed to condense the code into the following snippet: #include <type_traits> namespace mystd { template <typename T> using remove_reference_t = typename std::remove_reference<T>::type; template <typename T> struct remove_cvref { using type = typename std::remove_cv<remove_reference_t<T>>::type;...

  • Haddayn Haddayn modified a comment on discussion General Discussion

    You probably should update the info on your website, since the freenode channel is dead. Cppcheck got stuck in an infinite loop when parsing a template alias. Or at least it has been running for an hour. I've managed to condense the code into the following snippet: #include <type_traits> namespace mystd { template <typename T> using remove_reference_t = typename std::remove_reference<T>::type; template <typename T> struct remove_cvref { using type = typename std::remove_cv<remove_reference_t<T>>::type;...

  • Haddayn Haddayn modified a comment on discussion General Discussion

    You probably should update the info on your website, since the freenode channel is dead. Cppcheck got stuck in an infinite loop when parsing a template alias. Or at least it has been running for an hour. I've managed to condense the code into the following snippet: #include <type_traits> namespace mystd { template <typename T> using remove_reference_t = typename std::remove_reference<T>::type; template <typename T> struct remove_cvref { using type = typename std::remove_cv<remove_reference_t<T>>::type;...

  • Haddayn Haddayn modified a comment on discussion General Discussion

    You probably should update the info on your website, since the freenode channel is dead. Cppcheck got stuck in an infinite loop when parsing a template alias. Or at least it has been running for an hour. I've managed to condense the code into the following snippet: #include <type_traits> namespace mystd { template <typename T> using remove_reference_t = typename std::remove_reference<T>::type; template <typename T> struct remove_cvref { using type = typename std::remove_cv<remove_reference_t<T>>::type;...

  • Haddayn Haddayn posted a comment on discussion General Discussion

    You probably should update the info on your website, since freenode channel is dead. Cppcheck got stuck in an infinite loop when parsing a template alias. Or at least it has been running for an hour. I've managed to condense the code into the following snippet: #include <type_traits> namespace mystd { template <typename T> using remove_reference_t = typename std::remove_reference<T>::type; template <typename T> struct remove_cvref { using type = typename std::remove_cv<remove_reference_t<T>>::type;...

  • Haddayn Haddayn created ticket #88

    Crash when drag&dropping files onto Xfce desktop

  • Haddayn Haddayn posted a comment on ticket #84

    I tried to add from Xarchiver itself as you told, and I also tried using Xarchiver...

  • Haddayn Haddayn posted a comment on ticket #84

    Ok, I forgot to mention that I'm also using Thunar Archive Plugin. I navigate to...

  • Haddayn Haddayn posted a comment on ticket #84

    Hmm, rebuilt package from sources, issue still present.

  • Haddayn Haddayn created ticket #84

    Xorg terminates on action cancel

  • Haddayn Haddayn posted a comment on discussion Vote

    VOTE: conemu

1