{"action":"created","issue":{"url":"https://api.github.com/repos/chrsmith/hedgewars/issues/228","labels_url":"https://api.github.com/repos/chrsmith/hedgewars/issues/228/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/hedgewars/issues/228/comments","events_url":"https://api.github.com/repos/chrsmith/hedgewars/issues/228/events","html_url":"https://github.com/chrsmith/hedgewars/issues/228","id":59191342,"number":228,"title":"Gentoo hedgewars crash, probably related to -O3 in system libs, causes hwengine crash possibly in sound initialization","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chrsmith/hedgewars/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/hedgewars/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/hedgewars/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-02-27T05:16:03Z","updated_at":"2015-02-27T05:16:05Z","closed_at":"2015-02-27T05:16:03Z","body":"```\nWhat steps will reproduce the problem?\n1. Start or start replaying a game with in-game sound turned on.\n\nWhat is the expected output? What do you see instead?\n\nUsing a recorded demo and hwengine (to get the most debugging info) I run\n\nhwengine /usr/local/share/hedgewars/Data/ \n.hedgewars/Demos/2011-05-31_20-43.37.hwd --set-audio 100 0 1 --set-video 640 \n480 24\n\nand I get the following output:\n\nHedgewars 0.9.15 engine (network protocol: 37)\nInit SDL... ok\nInit SDL_ttf... ok\nInit SDL_image... ok\nLoading /usr/local/share/hedgewars/Data//Graphics/hwengine.png [flags: 8] ok \n(32x32)\nLoading progress sprite: Loading \n/usr/local/share/hedgewars/Data//Graphics/Progress.png [flags: 6] ok (324x972)\nNumber of game controllers: 0\nNot using any game controller\nGetting game config...\nInit sound...An unhandled exception occurred at $B7484F5A :\nEAccessViolation : Access violation\n  $B7484F5A\n\nWithout sound I run\n\nhwengine /usr/local/share/hedgewars/Data/ \n.hedgewars/Demos/2011-05-31_20-43.37.hwd --set-audio 100 0 0 --set-video 640 \n480 24\n\nand I get (the game replay starts normally)\n\nHedgewars 0.9.15 engine (network protocol: 37)\nInit SDL... ok\nInit SDL_ttf... ok\nInit SDL_image... ok\nLoading /usr/local/share/hedgewars/Data//Graphics/hwengine.png [flags: 8] ok \n(32x32)\nLoading progress sprite: Loading \n/usr/local/share/hedgewars/Data//Graphics/Progress.png [flags: 6] ok (324x972)\nNumber of game controllers: 0\nNot using any game controller\nGetting game config...\nReading objects info...\n\netc.\n\nWhat version of the product are you using? On what operating system?\n\nHedgewars 0.9.15 on Gentoo Linux (not compiled using the Hedgewars ebuild but \nusing the ordinary cmake/make scripts only).\n\nPlease provide any additional information below.\n\nAdditional system information (partly Gentoo specific):\n\nSystem uname: \nLinux-2.6.36-gentoo-i686-Intel-R-_Pentium-R-_Dual_CPU_T2370_@_1.73GHz-with-gento\no-2.0.2\nTimestamp of tree: Sun, 22 May 2011 07:15:01 +0000\napp-shells/bash:          4.2_p10\ndev-java/java-config:     2.1.11-r3\ndev-lang/python:          2.7.1-r1, 3.2\ndev-util/cmake:           2.8.4-r1\nsys-apps/baselayout:      2.0.2\nsys-apps/openrc:          0.8.2-r1\nsys-apps/sandbox:         2.5\nsys-devel/autoconf:       2.13, 2.68\nsys-devel/automake:       1.10.3, 1.11.1-r1\nsys-devel/binutils:       2.21\nsys-devel/gcc:            4.5.2\nsys-devel/gcc-config:     1.4.1-r1\nsys-devel/libtool:        2.4-r1\nsys-devel/make:           3.82\nsys-kernel/linux-headers: 2.6.38 (virtual/os-headers)\nsys-libs/glibc:           2.13-r2\n\nThese are the sound modules loaded:\n$ lsmod | grep snd\nsnd_seq_oss            23626  0 \nsnd_seq_midi_event      4320  1 snd_seq_oss\nsnd_seq                39947  4 snd_seq_oss,snd_seq_midi_event\nsnd_seq_device          4149  2 snd_seq_oss,snd_seq\nsnd_pcm_oss            32477  0 \nsnd_mixer_oss          12525  1 snd_pcm_oss\nsnd_hda_codec_realtek   196303  1 \nsnd_hda_intel          17533  0 \nsnd_hda_codec          54466  2 snd_hda_codec_realtek,snd_hda_intel\nsnd_pcm                56347  3 snd_pcm_oss,snd_hda_intel,snd_hda_codec\nsnd_timer              14943  2 snd_seq,snd_pcm\nsnd                    39102  10 \nsnd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_codec_realt\nek,snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer\nsoundcore               4079  1 snd\nsnd_page_alloc          5485  2 snd_hda_intel,snd_pcm\n\nThese are the versions of SDL and SDL-Mixer I'm using:\nmedia-libs/libsdl-1.2.14-r6  USE=\"X alsa audio joystick opengl video xv -aalib \n-custom-cflags -dga -directfb -fbcon -ggi -libcaca -nas -oss (-ps3) -pulseaudio \n-static-libs -svga -tslib -xinerama\"\nmedia-libs/sdl-mixer-1.2.11-r1  USE=\"flac mad midi mikmod mp3 timidity vorbis \nwav -static-libs\"\n\nI get sound output from pretty much everything besides Hedgewars.\n```\n\nOriginal issue reported on code.google.com by `psyill....@gmail.com` on 31 May 2011 at 8:31"},"comment":{"url":"https://api.github.com/repos/chrsmith/hedgewars/issues/comments/76335951","html_url":"https://github.com/chrsmith/hedgewars/issues/228#issuecomment-76335951","issue_url":"https://api.github.com/repos/chrsmith/hedgewars/issues/228","id":76335951,"user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"created_at":"2015-02-27T05:16:04Z","updated_at":"2015-02-27T05:16:04Z","body":"```\nOh. I get it. \"unpack the sources\" :)\n\nYes, you said you'd used an ordinary build, but the complete lack of debug info \nmade me think you'd gotten a build from someone else, since it seemed odd to \nlist a detailed report w/o a useful stack trace :)\n\n```\n\nOriginal comment by `kyberneticist@gmail.com` on 2 Jun 2011 at 2:43"}}