{"action":"created","issue":{"url":"https://api.github.com/repos/dhlab-basel/Sipi/issues/250","repository_url":"https://api.github.com/repos/dhlab-basel/Sipi","labels_url":"https://api.github.com/repos/dhlab-basel/Sipi/issues/250/labels{/name}","comments_url":"https://api.github.com/repos/dhlab-basel/Sipi/issues/250/comments","events_url":"https://api.github.com/repos/dhlab-basel/Sipi/issues/250/events","html_url":"https://github.com/dhlab-basel/Sipi/issues/250","id":342408141,"node_id":"MDU6SXNzdWUzNDI0MDgxNDE=","number":250,"title":"segmentation fault after cleaning the generated output files ","user":{"login":"SepidehAlassi","id":8567642,"node_id":"MDQ6VXNlcjg1Njc2NDI=","avatar_url":"https://avatars1.githubusercontent.com/u/8567642?v=4","gravatar_id":"","url":"https://api.github.com/users/SepidehAlassi","html_url":"https://github.com/SepidehAlassi","followers_url":"https://api.github.com/users/SepidehAlassi/followers","following_url":"https://api.github.com/users/SepidehAlassi/following{/other_user}","gists_url":"https://api.github.com/users/SepidehAlassi/gists{/gist_id}","starred_url":"https://api.github.com/users/SepidehAlassi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SepidehAlassi/subscriptions","organizations_url":"https://api.github.com/users/SepidehAlassi/orgs","repos_url":"https://api.github.com/users/SepidehAlassi/repos","events_url":"https://api.github.com/users/SepidehAlassi/events{/privacy}","received_events_url":"https://api.github.com/users/SepidehAlassi/received_events","type":"User","site_admin":false},"labels":[{"id":343710711,"node_id":"MDU6TGFiZWwzNDM3MTA3MTE=","url":"https://api.github.com/repos/dhlab-basel/Sipi/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":{"login":"lrosenth","id":5471692,"node_id":"MDQ6VXNlcjU0NzE2OTI=","avatar_url":"https://avatars2.githubusercontent.com/u/5471692?v=4","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,"node_id":"MDQ6VXNlcjU0NzE2OTI=","avatar_url":"https://avatars2.githubusercontent.com/u/5471692?v=4","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}],"milestone":null,"comments":1,"created_at":"2018-07-18T16:43:54Z","updated_at":"2018-07-23T14:42:23Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"> Jul 18 18:35:51  Sipi[34917] <Error>: Kakadu-library: Error in Kakadu File Format Support:\r\n> \tUnable to open output file, \"../../Sipi/images/knora/S/FoDwzFYC4mG-Dx02rsoU0yk.jpx\".\r\n> [1]    34917 segmentation fault  ../../Sipi/local/bin/sipi --config config/sipi.knora-local-config.lua\r\n\r\nI just cleaned the output files generated by Sipi in images/knora, in first try afterwards to import the data sipi fails with segmentation fault, in immediate second try it works.\r\n\r\nIt seams like a heap corruption!"},"comment":{"url":"https://api.github.com/repos/dhlab-basel/Sipi/issues/comments/407082273","html_url":"https://github.com/dhlab-basel/Sipi/issues/250#issuecomment-407082273","issue_url":"https://api.github.com/repos/dhlab-basel/Sipi/issues/250","id":407082273,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNzA4MjI3Mw==","user":{"login":"SepidehAlassi","id":8567642,"node_id":"MDQ6VXNlcjg1Njc2NDI=","avatar_url":"https://avatars1.githubusercontent.com/u/8567642?v=4","gravatar_id":"","url":"https://api.github.com/users/SepidehAlassi","html_url":"https://github.com/SepidehAlassi","followers_url":"https://api.github.com/users/SepidehAlassi/followers","following_url":"https://api.github.com/users/SepidehAlassi/following{/other_user}","gists_url":"https://api.github.com/users/SepidehAlassi/gists{/gist_id}","starred_url":"https://api.github.com/users/SepidehAlassi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SepidehAlassi/subscriptions","organizations_url":"https://api.github.com/users/SepidehAlassi/orgs","repos_url":"https://api.github.com/users/SepidehAlassi/repos","events_url":"https://api.github.com/users/SepidehAlassi/events{/privacy}","received_events_url":"https://api.github.com/users/SepidehAlassi/received_events","type":"User","site_admin":false},"created_at":"2018-07-23T14:42:22Z","updated_at":"2018-07-23T14:42:22Z","author_association":"CONTRIBUTOR","body":"@lrosenth, it is not a problem in context of knora. It should be reproducible just with sipi. \r\n\r\nSipi process is allowed to write to the location and  directory exists. \r\nTo reproduce the issue:\r\n\r\n1. let subdir_levels = 1, in a lua config file. \r\n2. run sipi as server with the config file\r\n3. send conversion request to sipi with image files,  so that sipi creates subdirectories 'A-Z' and saves the output images in them\r\n3. delete the subdirectories 'A-Z'\r\n4. send the conversion request with image files again to sipi (it should fail here with segmentation fault!)\r\n5. send the request immediately again, it will create subdirectories 'A-Z' and will save the output images.\r\n"}}
{"actor":{"display_login":"SepidehAlassi"}}