{"action":"created","issue":{"url":"https://api.github.com/repos/dhlab-basel/Sipi/issues/38","repository_url":"https://api.github.com/repos/dhlab-basel/Sipi","labels_url":"https://api.github.com/repos/dhlab-basel/Sipi/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/dhlab-basel/Sipi/issues/38/comments","events_url":"https://api.github.com/repos/dhlab-basel/Sipi/issues/38/events","html_url":"https://github.com/dhlab-basel/Sipi/issues/38","id":163100327,"number":38,"title":"Segmentation Fault when importing tif Images","user":{"login":"tobiasschweizer","id":6000023,"avatar_url":"https://avatars.githubusercontent.com/u/6000023?v=3","gravatar_id":"","url":"https://api.github.com/users/tobiasschweizer","html_url":"https://github.com/tobiasschweizer","followers_url":"https://api.github.com/users/tobiasschweizer/followers","following_url":"https://api.github.com/users/tobiasschweizer/following{/other_user}","gists_url":"https://api.github.com/users/tobiasschweizer/gists{/gist_id}","starred_url":"https://api.github.com/users/tobiasschweizer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobiasschweizer/subscriptions","organizations_url":"https://api.github.com/users/tobiasschweizer/orgs","repos_url":"https://api.github.com/users/tobiasschweizer/repos","events_url":"https://api.github.com/users/tobiasschweizer/events{/privacy}","received_events_url":"https://api.github.com/users/tobiasschweizer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dhlab-basel/Sipi/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"lrosenth","id":5471692,"avatar_url":"https://avatars.githubusercontent.com/u/5471692?v=3","gravatar_id":"","url":"https://api.github.com/users/lrosenth","html_url":"https://github.com/lrosenth","followers_url":"https://api.github.com/users/lrosenth/followers","following_url":"https://api.github.com/users/lrosenth/following{/other_user}","gists_url":"https://api.github.com/users/lrosenth/gists{/gist_id}","starred_url":"https://api.github.com/users/lrosenth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lrosenth/subscriptions","organizations_url":"https://api.github.com/users/lrosenth/orgs","repos_url":"https://api.github.com/users/lrosenth/repos","events_url":"https://api.github.com/users/lrosenth/events{/privacy}","received_events_url":"https://api.github.com/users/lrosenth/received_events","type":"User","site_admin":false},"assignees":[{"login":"lrosenth","id":5471692,"avatar_url":"https://avatars.githubusercontent.com/u/5471692?v=3","gravatar_id":"","url":"https://api.github.com/users/lrosenth","html_url":"https://github.com/lrosenth","followers_url":"https://api.github.com/users/lrosenth/followers","following_url":"https://api.github.com/users/lrosenth/following{/other_user}","gists_url":"https://api.github.com/users/lrosenth/gists{/gist_id}","starred_url":"https://api.github.com/users/lrosenth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lrosenth/subscriptions","organizations_url":"https://api.github.com/users/lrosenth/orgs","repos_url":"https://api.github.com/users/lrosenth/repos","events_url":"https://api.github.com/users/lrosenth/events{/privacy}","received_events_url":"https://api.github.com/users/lrosenth/received_events","type":"User","site_admin":false},{"login":"BiancoA","id":6458284,"avatar_url":"https://avatars.githubusercontent.com/u/6458284?v=3","gravatar_id":"","url":"https://api.github.com/users/BiancoA","html_url":"https://github.com/BiancoA","followers_url":"https://api.github.com/users/BiancoA/followers","following_url":"https://api.github.com/users/BiancoA/following{/other_user}","gists_url":"https://api.github.com/users/BiancoA/gists{/gist_id}","starred_url":"https://api.github.com/users/BiancoA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BiancoA/subscriptions","organizations_url":"https://api.github.com/users/BiancoA/orgs","repos_url":"https://api.github.com/users/BiancoA/repos","events_url":"https://api.github.com/users/BiancoA/events{/privacy}","received_events_url":"https://api.github.com/users/BiancoA/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/dhlab-basel/Sipi/milestones/1","html_url":"https://github.com/dhlab-basel/Sipi/milestones/On%20Deck","labels_url":"https://api.github.com/repos/dhlab-basel/Sipi/milestones/1/labels","id":1720128,"number":1,"title":"On Deck","description":null,"creator":{"login":"subotic","id":400790,"avatar_url":"https://avatars.githubusercontent.com/u/400790?v=3","gravatar_id":"","url":"https://api.github.com/users/subotic","html_url":"https://github.com/subotic","followers_url":"https://api.github.com/users/subotic/followers","following_url":"https://api.github.com/users/subotic/following{/other_user}","gists_url":"https://api.github.com/users/subotic/gists{/gist_id}","starred_url":"https://api.github.com/users/subotic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/subotic/subscriptions","organizations_url":"https://api.github.com/users/subotic/orgs","repos_url":"https://api.github.com/users/subotic/repos","events_url":"https://api.github.com/users/subotic/events{/privacy}","received_events_url":"https://api.github.com/users/subotic/received_events","type":"User","site_admin":false},"open_issues":14,"closed_issues":23,"state":"open","created_at":"2016-04-20T09:19:51Z","updated_at":"2016-10-19T23:29:37Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2016-06-30T07:37:27Z","updated_at":"2016-10-19T23:36:27Z","closed_at":null,"body":"This happens when tifs are imported through Knora.\r\n\r\n```\r\nStarting program: /home/tobi/gitreps/Sipi_github/local/bin/sipi -config config/sipi.knora-config.lua\r\n[Thread debugging using libthread_db enabled]\r\nUsing host libthread_db library \"/lib/x86_64-linux-gnu/libthread_db.so.1\".\r\n\r\nSipi Version 1.0 Beta (build 2016-06-30 09:08)\r\n[New Thread 0x7ffff2d6e700 (LWP 19824)]\r\n[New Thread 0x7ffff256d700 (LWP 19939)]\r\n\r\nProgram received signal SIGSEGV, Segmentation fault.\r\n[Switching to Thread 0x7ffff256d700 (LWP 19939)]\r\n0x0000000000632ac8 in Exiv2::getUShort(unsigned char const*, Exiv2::ByteOrder) ()\r\n(gdb) backtrace\r\n#0  0x0000000000632ac8 in Exiv2::getUShort(unsigned char const*, Exiv2::ByteOrder) ()\r\n#1  0x00000000005e754b in Exiv2::ValueType<unsigned short>::read(unsigned char const*, long, Exiv2::ByteOrder) ()\r\n#2  0x0000000000559e87 in Sipi::SipiExif::addKeyVal (this=0x7fffe4018150, tag=34855, groupName=\"Photo\", vals_p=0x7fffe40096d0, len=1095761921)\r\n    at /home/tobi/gitreps/Sipi_github/src/metadata/SipiExif.cpp:259\r\n#3  0x00000000005766fb in Sipi::SipiIOTiff::readExif (this=0xe2a970, img=0x7fffe4017790, tif=0x7fffe4017850, exif_offset=2644)\r\n    at /home/tobi/gitreps/Sipi_github/src/formats/SipiIOTiff.cpp:1117\r\n#4  0x0000000000572d96 in Sipi::SipiIOTiff::read (this=0xe2a970, img=0x7fffe4017790, filepath=\"/tmp/webapi_tmp/tmp_7753901786558647407.bin\", region=0x0, size=0x0, \r\n    force_bps_8=false) at /home/tobi/gitreps/Sipi_github/src/formats/SipiIOTiff.cpp:564\r\n#5  0x000000000056518f in Sipi::SipiImage::read (this=0x7fffe4017790, filepath=\"/tmp/webapi_tmp/tmp_7753901786558647407.bin\", region=0x0, size=0x0, force_bps_8=false)\r\n    at /home/tobi/gitreps/Sipi_github/src/SipiImage.cpp:222\r\n#6  0x00000000005ac923 in Sipi::SImage_new (L=0x7fffe40056c8) at /home/tobi/gitreps/Sipi_github/src/SipiLua.cpp:313\r\n#7  0x000000000092ada0 in luaD_precall ()\r\n#8  0x0000000000935d0d in luaV_execute ()\r\n#9  0x000000000092b157 in luaD_call ()\r\n#10 0x000000000092a71c in luaD_rawrunprotected ()\r\n#11 0x000000000092b40d in luaD_pcall ()\r\n#12 0x0000000000928bd1 in lua_pcallk ()\r\n#13 0x00000000008f44d8 in shttps::LuaServer::executeChunk (this=0x7ffff2569de0, \r\n    luastr=\"--\\n-- Copyright © 2016 Lukas Rosenthaler, Andrea Bianco, Benjamin Geer,\\n-- Ivan Subotic, Tobias Schweizer, André Kilchenmann, and André Fatton.\\n-- This file is part of Sipi.\\n-- Sipi is free softwar\"...) at /home/tobi/gitreps/Sipi_github/lib/shttps/LuaServer.cpp:2300\r\n#14 0x00000000008fa490 in shttps::ScriptHandler (conn=..., lua=..., user_data=0x7fffffffd2c0, hd=0xe5d868) at /home/tobi/gitreps/Sipi_github/lib/shttps/Server.cpp:131\r\n#15 0x00000000009001b9 in shttps::Server::processRequest (this=0x7fffffffd2c0, sock=5, ins=0x7ffff256cda0, os=0x7ffff256cc90, peer_ip=\"127.0.0.1\", peer_port=47346, \r\n    secure=false) at /home/tobi/gitreps/Sipi_github/lib/shttps/Server.cpp:855\r\n#16 0x00000000008fe580 in shttps::process_request (arg=0xe5e1a0) at /home/tobi/gitreps/Sipi_github/lib/shttps/Server.cpp:524\r\n#17 0x00007ffff79c0184 in start_thread (arg=0x7ffff256d700) at pthread_create.c:312\r\n#18 0x00007ffff666a37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/dhlab-basel/Sipi/issues/comments/254971021","html_url":"https://github.com/dhlab-basel/Sipi/issues/38#issuecomment-254971021","issue_url":"https://api.github.com/repos/dhlab-basel/Sipi/issues/38","id":254971021,"user":{"login":"lrosenth","id":5471692,"avatar_url":"https://avatars.githubusercontent.com/u/5471692?v=3","gravatar_id":"","url":"https://api.github.com/users/lrosenth","html_url":"https://github.com/lrosenth","followers_url":"https://api.github.com/users/lrosenth/followers","following_url":"https://api.github.com/users/lrosenth/following{/other_user}","gists_url":"https://api.github.com/users/lrosenth/gists{/gist_id}","starred_url":"https://api.github.com/users/lrosenth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lrosenth/subscriptions","organizations_url":"https://api.github.com/users/lrosenth/orgs","repos_url":"https://api.github.com/users/lrosenth/repos","events_url":"https://api.github.com/users/lrosenth/events{/privacy}","received_events_url":"https://api.github.com/users/lrosenth/received_events","type":"User","site_admin":false},"created_at":"2016-10-19T23:36:27Z","updated_at":"2016-10-19T23:36:27Z","body":"Can we have a look at this soon?"}}
{"actor":{"display_login":"lrosenth"}}