{"action":"created","issue":{"url":"https://api.github.com/repos/haiwen/seafile-client/issues/561","labels_url":"https://api.github.com/repos/haiwen/seafile-client/issues/561/labels{/name}","comments_url":"https://api.github.com/repos/haiwen/seafile-client/issues/561/comments","events_url":"https://api.github.com/repos/haiwen/seafile-client/issues/561/events","html_url":"https://github.com/haiwen/seafile-client/issues/561","id":74968438,"number":561,"title":"Crash on Startup on OSX 10.10.3 - Assertion Failed ripc_GetColor ","user":{"login":"fiid","id":196009,"avatar_url":"https://avatars.githubusercontent.com/u/196009?v=3","gravatar_id":"","url":"https://api.github.com/users/fiid","html_url":"https://github.com/fiid","followers_url":"https://api.github.com/users/fiid/followers","following_url":"https://api.github.com/users/fiid/following{/other_user}","gists_url":"https://api.github.com/users/fiid/gists{/gist_id}","starred_url":"https://api.github.com/users/fiid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fiid/subscriptions","organizations_url":"https://api.github.com/users/fiid/orgs","repos_url":"https://api.github.com/users/fiid/repos","events_url":"https://api.github.com/users/fiid/events{/privacy}","received_events_url":"https://api.github.com/users/fiid/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/haiwen/seafile-client/labels/platform-macosx","name":"platform-macosx","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-05-10T18:02:25Z","updated_at":"2015-05-15T15:56:19Z","closed_at":null,"body":"I try to start Seafile client as downloaded from the site, and it crashes on startup.  You can see it start to render the login window small in the center of the screen (presumably to animate it into the foreground), and then it crashes and exits.\r\n\r\nI think this might be caused by a bug in an underlying library, some other projects seem to have the same problem.  It also works on one of my Macs and fails on the other.  :(  Same crash with 4.1.6 and 4.2.0.\r\n\r\n```\r\nProcess:               seafile-applet [22760]\r\nPath:                  /Applications/Seafile Client.app/Contents/MacOS/seafile-applet\r\nIdentifier:            com.seafile.seafile-client\r\nVersion:               4.1.6 (???)\r\nCode Type:             X86-64 (Native)\r\nParent Process:        ??? [1]\r\nResponsible:           seafile-applet [22760]\r\nUser ID:               506\r\n\r\nDate/Time:             2015-05-10 10:55:52.538 -0700\r\nOS Version:            Mac OS X 10.10.3 (14D136)\r\nReport Version:        11\r\nAnonymous UUID:        3DAB37D2-4F81-B219-B96A-C738CF0A6684\r\n\r\nSleep/Wake UUID:       77B1C3B0-9A57-4DDB-B5BB-2A7F013B672F\r\n\r\nTime Awake Since Boot: 5300 seconds\r\nTime Since Wake:       1700 seconds\r\n\r\nCrashed Thread:        0  Dispatch queue: com.apple.main-thread\r\n\r\nException Type:        EXC_CRASH (SIGABRT)\r\nException Codes:       0x0000000000000000, 0x0000000000000000\r\n\r\nApplication Specific Information:\r\nAssertion failed: (alpha >= 0 && alpha <= 1), function ripc_GetPattern, file RIP/RIPColor.c, line 662.\r\n \r\n\r\nThread 0 Crashed:: Dispatch queue: com.apple.main-thread\r\n0   libsystem_kernel.dylib        \t0x00007fff8f7bd286 __pthread_kill + 10\r\n1   libsystem_c.dylib             \t0x00007fff90813b53 abort + 129\r\n2   libsystem_c.dylib             \t0x00007fff907dbc39 __assert_rtn + 321\r\n3   libRIP.A.dylib                \t0x00007fff8f9dbcf0 ripc_GetColor + 5793\r\n4   libRIP.A.dylib                \t0x00007fff8f9d9c46 ripc_Render + 163\r\n5   libRIP.A.dylib                \t0x00007fff8f9d6b32 ripc_DrawRects + 372\r\n6   com.apple.CoreGraphics        \t0x00007fff961c3cfd CGContextFillRects + 96\r\n7   com.apple.HIToolbox           \t0x00007fff939cc16b TilePixMapListCG + 854\r\n8   com.apple.HIToolbox           \t0x00007fff939ce0d7 _ThemeImageTile + 191\r\n9   com.apple.HIToolbox           \t0x00007fff939cdefe _ThemeImageDrawMultiple + 1968\r\n10  com.apple.HIToolbox           \t0x00007fff939b6a01 _HIThemeDrawButtonPulsed(CGRect const*, ThemeImageDrawInfo*, unsigned int, HIThemeButtonDrawInfo const*, CGContext*) + 169\r\n11  com.apple.HIToolbox           \t0x00007fff939b5d16 _HIThemeDrawButtonInternal(CGRect const*, HIThemeButtonDrawInfo const*, HIThemeButtonDrawInfo const*, ThemeEraseXUPP*, ThemeButtonDrawXUPP*, void*, CGContext*, unsigned int, CGRect*) + 16048\r\n12  com.apple.HIToolbox           \t0x00007fff939b1e60 HIThemeDrawButton + 26\r\n13  org.qt-project.QtWidgets      \t0x0000000106259457 0x106240000 + 103511\r\n14  com.seafile.seafile-client    \t0x00000001058dba46 SeafileProxyStyle::drawControl(QStyle::ControlElement, QStyleOption const*, QPainter*, QWidget const*) const + 198\r\n15  org.qt-project.QtWidgets      \t0x00000001062e5632 QCommonStyle::drawControl(QStyle::ControlElement, QStyleOption const*, QPainter*, QWidget const*) const + 1074\r\n16  org.qt-project.QtWidgets      \t0x00000001062529f3 0x106240000 + 76275\r\n17  com.seafile.seafile-client    \t0x00000001058dba46 SeafileProxyStyle::drawControl(QStyle::ControlElement, QStyleOption const*, QPainter*, QWidget const*) const + 198\r\n18  org.qt-project.QtWidgets      \t0x0000000106314167 0x106240000 + 868711\r\n19  org.qt-project.QtWidgets      \t0x00000001063ea888 QPushButton::paintEvent(QPaintEvent*) + 120\r\n20  org.qt-project.QtWidgets      \t0x00000001062b0c0b QWidget::event(QEvent*) + 2123\r\n21  org.qt-project.QtWidgets      \t0x0000000106356a03 QAbstractButton::event(QEvent*) + 179\r\n22  org.qt-project.QtWidgets      \t0x000000010627132b QApplicationPrivate::notify_helper(QObject*, QEvent*) + 251\r\n23  org.qt-project.QtWidgets      \t0x0000000106274648 QApplication::notify(QObject*, QEvent*) + 8136\r\n24  org.qt-project.QtCore         \t0x0000000107173d83 QCoreApplication::notifyInternal(QObject*, QEvent*) + 115\r\n25  org.qt-project.QtWidgets      \t0x00000001062aa370 QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 3152\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/haiwen/seafile-client/issues/comments/102445069","html_url":"https://github.com/haiwen/seafile-client/issues/561#issuecomment-102445069","issue_url":"https://api.github.com/repos/haiwen/seafile-client/issues/561","id":102445069,"user":{"login":"fiid","id":196009,"avatar_url":"https://avatars.githubusercontent.com/u/196009?v=3","gravatar_id":"","url":"https://api.github.com/users/fiid","html_url":"https://github.com/fiid","followers_url":"https://api.github.com/users/fiid/followers","following_url":"https://api.github.com/users/fiid/following{/other_user}","gists_url":"https://api.github.com/users/fiid/gists{/gist_id}","starred_url":"https://api.github.com/users/fiid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fiid/subscriptions","organizations_url":"https://api.github.com/users/fiid/orgs","repos_url":"https://api.github.com/users/fiid/repos","events_url":"https://api.github.com/users/fiid/events{/privacy}","received_events_url":"https://api.github.com/users/fiid/received_events","type":"User","site_admin":false},"created_at":"2015-05-15T15:56:19Z","updated_at":"2015-05-15T15:56:19Z","body":"I think the release client may be working better since I've done a macport dance to de and re-install QT in order to get the compilation working.  It was pretty unstable when I first tried, but now seems to be working better (!!??).  Really not sure what's going on.  I can mess with the compiled version more if there are suggestions as to what to change, but if it's not impacting a lot of people it might be a wild goose chase.  More as the experiment progresses :)"}}