{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/client/issues/3672","labels_url":"https://api.github.com/repos/owncloud/client/issues/3672/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/client/issues/3672/comments","events_url":"https://api.github.com/repos/owncloud/client/issues/3672/events","html_url":"https://github.com/owncloud/client/issues/3672","id":102766495,"number":3672,"title":"[1.8.4] segfault at application startup","user":{"login":"Wenzel","id":964610,"avatar_url":"https://avatars.githubusercontent.com/u/964610?v=3","gravatar_id":"","url":"https://api.github.com/users/Wenzel","html_url":"https://github.com/Wenzel","followers_url":"https://api.github.com/users/Wenzel/followers","following_url":"https://api.github.com/users/Wenzel/following{/other_user}","gists_url":"https://api.github.com/users/Wenzel/gists{/gist_id}","starred_url":"https://api.github.com/users/Wenzel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wenzel/subscriptions","organizations_url":"https://api.github.com/users/Wenzel/orgs","repos_url":"https://api.github.com/users/Wenzel/repos","events_url":"https://api.github.com/users/Wenzel/events{/privacy}","received_events_url":"https://api.github.com/users/Wenzel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/client/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"ckamm","id":833306,"avatar_url":"https://avatars.githubusercontent.com/u/833306?v=3","gravatar_id":"","url":"https://api.github.com/users/ckamm","html_url":"https://github.com/ckamm","followers_url":"https://api.github.com/users/ckamm/followers","following_url":"https://api.github.com/users/ckamm/following{/other_user}","gists_url":"https://api.github.com/users/ckamm/gists{/gist_id}","starred_url":"https://api.github.com/users/ckamm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ckamm/subscriptions","organizations_url":"https://api.github.com/users/ckamm/orgs","repos_url":"https://api.github.com/users/ckamm/repos","events_url":"https://api.github.com/users/ckamm/events{/privacy}","received_events_url":"https://api.github.com/users/ckamm/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/owncloud/client/milestones/26","html_url":"https://github.com/owncloud/client/milestones/2.0.2-next","labels_url":"https://api.github.com/repos/owncloud/client/milestones/26/labels","id":1170969,"number":26,"title":"2.0.2-next","description":"","creator":{"login":"cmonteroluque","id":879976,"avatar_url":"https://avatars.githubusercontent.com/u/879976?v=3","gravatar_id":"","url":"https://api.github.com/users/cmonteroluque","html_url":"https://github.com/cmonteroluque","followers_url":"https://api.github.com/users/cmonteroluque/followers","following_url":"https://api.github.com/users/cmonteroluque/following{/other_user}","gists_url":"https://api.github.com/users/cmonteroluque/gists{/gist_id}","starred_url":"https://api.github.com/users/cmonteroluque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmonteroluque/subscriptions","organizations_url":"https://api.github.com/users/cmonteroluque/orgs","repos_url":"https://api.github.com/users/cmonteroluque/repos","events_url":"https://api.github.com/users/cmonteroluque/events{/privacy}","received_events_url":"https://api.github.com/users/cmonteroluque/received_events","type":"User","site_admin":false},"open_issues":43,"closed_issues":41,"state":"open","created_at":"2015-06-18T15:58:15Z","updated_at":"2015-09-03T08:25:05Z","due_on":null,"closed_at":null},"comments":27,"created_at":"2015-08-24T10:57:17Z","updated_at":"2015-09-03T08:33:06Z","closed_at":null,"body":"Hi !\r\n\r\nI have a segfault at application startup :\r\n\r\n~~~\r\nStarting program: /usr/bin/owncloud \r\n[Thread debugging using libthread_db enabled]\r\nUsing host libthread_db library \"/lib64/libthread_db.so.1\".\r\nDetaching after fork from child process 20390.\r\n[New Thread 0x7fffcd25e700 (LWP 20389)]\r\n[New Thread 0x7fffda7f1700 (LWP 20388)]\r\n\r\nProgram received signal SIGSEGV, Segmentation fault.\r\n0x0000000000000000 in ?? ()\r\n\r\nThread 3 (Thread 0x7fffda7f1700 (LWP 20388)):\r\n#0  0x00007ffff0ddf2fd in poll () at ../sysdeps/unix/syscall-template.S:81\r\n#1  0x00007fffe86c8182 in _xcb_conn_wait (__timeout=-1, __nfds=1, __fds=0x7fffda7f0c40) at /usr/include/bits/poll2.h:46\r\n#2  0x00007fffe86c8182 in _xcb_conn_wait (c=c@entry=0x7d07a0, cond=cond@entry=0x7d07e0, vector=vector@entry=0x0, count=count@entry=0x0) at xcb_conn.c:459\r\n#3  0x00007fffe86c9c77 in xcb_wait_for_event (c=0x7d07a0) at xcb_in.c:648\r\n#4  0x00007fffddc25999 in QXcbEventReader::run() (this=0x7dae70) at qxcbconnection.cpp:1198\r\n#5  0x00007ffff2f9c54e in QThreadPrivate::start(void*) (arg=0x7dae70) at thread/qthread_unix.cpp:331\r\n#6  0x00007ffff0ad3555 in start_thread (arg=0x7fffda7f1700) at pthread_create.c:333\r\n#7  0x00007ffff0deab9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109\r\n\r\nThread 2 (Thread 0x7fffcd25e700 (LWP 20389)):\r\n#0  0x00007ffff0ddf2fd in poll () at ../sysdeps/unix/syscall-template.S:81\r\n#1  0x00007ffff0589dbc in g_main_context_iterate (priority=2147483647, n_fds=1, fds=0x7fffc8003070, timeout=<optimized out>, context=0x7fffc8000990) at gmain.c:4103\r\n#2  0x00007ffff0589dbc in g_main_context_iterate (context=context@entry=0x7fffc8000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)\r\n    at gmain.c:3803\r\n#3  0x00007ffff0589ecc in g_main_context_iteration (context=0x7fffc8000990, may_block=may_block@entry=1) at gmain.c:3869\r\n#4  0x00007ffff31d3d8f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fffc80008c0, flags=...)\r\n    at kernel/qeventdispatcher_glib.cpp:418\r\n#5  0x00007ffff317adaa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffcd25dd40, flags=..., flags@entry=...)\r\n    at kernel/qeventloop.cpp:204\r\n#6  0x00007ffff2f975a4 in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:503\r\n#7  0x00007ffff2f9c54e in QThreadPrivate::start(void*) (arg=0xb083d0) at thread/qthread_unix.cpp:331\r\n#8  0x00007ffff0ad3555 in start_thread (arg=0x7fffcd25e700) at pthread_create.c:333\r\n#9  0x00007ffff0deab9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109\r\n\r\nThread 1 (Thread 0x7ffff7fa1880 (LWP 20384)):\r\n#0  0x0000000000000000 in  ()\r\n#1  0x00007ffff782bfc6 in QMenu::actionEvent(QActionEvent*) (this=0xd38120, e=0x7fffffffd4d0) at widgets/qmenu.cpp:3186\r\n#2  0x00007ffff76ef5d8 in QWidget::event(QEvent*) (this=this@entry=0xd38120, event=event@entry=0x7fffffffd4d0) at kernel/qwidget.cpp:9034\r\n#3  0x00007ffff7832023 in QMenu::event(QEvent*) (this=0xd38120, e=0x7fffffffd4d0) at widgets/qmenu.cpp:2650\r\n#4  0x00007ffff76ac4ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=0x7bf700, receiver=0xd38120, e=0x7fffffffd4d0) at kernel/qapplication.cpp:3717\r\n#5  0x00007ffff76b1976 in QApplication::notify(QObject*, QEvent*) (this=0x7fffffffd910, receiver=0xd38120, e=0x7fffffffd4d0) at kernel/qapplication.cpp:3500\r\n#6  0x00007ffff317d61b in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7fffffffd910, receiver=receiver@entry=0xd38120, event=event@entry=0x7fffffffd4d0)\r\n    at kernel/qcoreapplication.cpp:965\r\n#7  0x00007ffff76e6855 in QWidget::insertAction(QAction*, QAction*) (event=0x7fffffffd4d0, receiver=0xd38120) at ../../src/corelib/kernel/qcoreapplication.h:224\r\n#8  0x00007ffff76e6855 in QWidget::insertAction(QAction*, QAction*) (this=0xd38120, before=before@entry=0x0, action=0xd42440) at kernel/qwidget.cpp:3277\r\n#9  0x00007ffff76e69aa in QWidget::addAction(QAction*) (this=<optimized out>, action=<optimized out>) at kernel/qwidget.cpp:3228\r\n#10 0x00000000004986f3 in OCC::ownCloudGui::setupContextMenu() (this=this@entry=0xb7fd70) at /usr/src/debug/owncloudclient-1.8.4/src/gui/owncloudgui.cpp:305\r\n#11 0x0000000000499897 in OCC::ownCloudGui::ownCloudGui(OCC::Application*) (this=0xb7fd70, parent=<optimized out>)\r\n    at /usr/src/debug/owncloudclient-1.8.4/src/gui/owncloudgui.cpp:70\r\n#12 0x00000000004604d7 in OCC::Application::Application(int&, char**) (this=0x7fffffffd910, argc=<optimized out>, argv=<optimized out>)\r\n    at /usr/src/debug/owncloudclient-1.8.4/src/gui/application.cpp:157\r\n#13 0x00000000004501b8 in main(int, char**) (argc=1, argv=0x7fffffffdae8) at /usr/src/debug/owncloudclient-1.8.4/src/gui/main.cpp:53\r\n~~~\r\n\r\nOwncloud version : `1.8.4`\r\nQt version : `5.5.0`\r\nOS : Fedora `22`\r\n\r\nThe segfault appears after this call\r\n~~~\r\n#1  0x00007ffff782bfc6 in QMenu::actionEvent(QActionEvent*) (this=0xd38120, e=0x7fffffffd4d0) at widgets/qmenu.cpp:3186\r\n~~~\r\nCan you tell me if this bug is related to a bad pointer sent from Owncloud code, or a if it's an implementation bug related to Qt code ?\r\n\r\nThanks !"},"comment":{"url":"https://api.github.com/repos/owncloud/client/issues/comments/137378475","html_url":"https://github.com/owncloud/client/issues/3672#issuecomment-137378475","issue_url":"https://api.github.com/repos/owncloud/client/issues/3672","id":137378475,"user":{"login":"ckamm","id":833306,"avatar_url":"https://avatars.githubusercontent.com/u/833306?v=3","gravatar_id":"","url":"https://api.github.com/users/ckamm","html_url":"https://github.com/ckamm","followers_url":"https://api.github.com/users/ckamm/followers","following_url":"https://api.github.com/users/ckamm/following{/other_user}","gists_url":"https://api.github.com/users/ckamm/gists{/gist_id}","starred_url":"https://api.github.com/users/ckamm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ckamm/subscriptions","organizations_url":"https://api.github.com/users/ckamm/orgs","repos_url":"https://api.github.com/users/ckamm/repos","events_url":"https://api.github.com/users/ckamm/events{/privacy}","received_events_url":"https://api.github.com/users/ckamm/received_events","type":"User","site_admin":false},"created_at":"2015-09-03T08:33:06Z","updated_at":"2015-09-03T08:33:06Z","body":"@rasusmilch @AndyTapster For me running with `XDG_CURRENT_DESKTOP=xfce` is a workaround. Can you confirm?"}}