Bug 732438

Summary: game supertux2 is not able to start
Product: [openSUSE] openSUSE 12.1 Reporter: melchiaros melchiaros <melchiaros>
Component: OtherAssignee: Forgotten User Q_jroExIGN <forgotten_Q_jroExIGN>
Status: VERIFIED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Critical    
Priority: P5 - None CC: ctrippe, forgotten_RlY9P8aaaD, forgotten_zOWss6Gs9u, joop.boonen, lj06095, sbrabec, stefan
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: SUSE Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: logs - kdm, messages, xorg, ... much more
Debuginfo by gdb with supertux 2

Description melchiaros melchiaros 2011-11-23 19:29:43 UTC
Created attachment 463776 [details]
logs -  kdm, messages, xorg, ... much more

User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20100101 Firefox/8.0

The game supertux2 is not able to start on openSUSE12.1 final KDE4.7.2 on radeon HD3000.

Package:

supertux2-0.3.3-3.3.x86_64


Reproducible: Always

Steps to Reproduce:
1.Install supertux2
2.try to start on KDE4.7.2
3.see that it so not start
Actual Results:  
A not starting game supertux2.

Expected Results:  
supertux2 should start normally.

I´am on open Source drivers which ships with openSUSE12.1:

xorg-x11-driver-video-radeonhd-1.3.0_20100512_80ba041-5.1.2.x86_64
Comment 1 Christian Trippe 2011-11-26 15:34:33 UTC
Assigning to maintainer according to osc.
Comment 2 Len Jejer 2011-12-04 03:24:57 UTC
I dont know if this is the same bug as the original posters, but I am having the same problem.

Supertux2 will not start for me.  I am using ATI prop drivers on one machine and whatever drivers are being used for my laptops Intel.  I also have read of a person with prop NVIDIA drivers having the same problem.  All three are using Opensuse 12.1

Here's my gdb info:
--- paste

len@mothra:~> gdb supertux2
GNU gdb (GDB) SUSE (7.3-41.1.2)
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-suse-linux".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/games/supertux2...Reading symbols from /usr/lib/debug/usr/games/supertux2.debug...done.
done.
(gdb) run
Starting program: /usr/games/supertux2
Missing separate debuginfo for /lib64/ld-linux-x86-64.so.2
Try: zypper install -C "debuginfo(build-id)=f20c99249f5a5776e1377d3bd728502e3f455a3f"
Missing separate debuginfo for /usr/lib64/libSDL-1.2.so.0
Try: zypper install -C "debuginfo(build-id)=8bc46b14f0895acec67c6e9a1a1eaddb5928650e"
Missing separate debuginfo for /lib64/libpthread.so.0
Try: zypper install -C "debuginfo(build-id)=1f368f83b776815033caab6e389d7030bba4593e"
[Thread debugging using libthread_db enabled]
Missing separate debuginfo for /usr/lib64/libSDL_image-1.2.so.0
Try: zypper install -C "debuginfo(build-id)=c50f02eb92189c5bc5af693c22b855a1e844cb3a"
Missing separate debuginfo for /usr/lib64/libopenal.so.1
Try: zypper install -C "debuginfo(build-id)=0b083b6b4e7d88c28446ece009b5f5d5d4f39b31"
Missing separate debuginfo for /usr/lib64/libvorbisfile.so.3
Try: zypper install -C "debuginfo(build-id)=c6fe7625731e5937075be46d124ec34b44291520"
Missing separate debuginfo for /usr/lib64/libphysfs.so.1
Try: zypper install -C "debuginfo(build-id)=0ea7923af1a280431c62e2c26623fe3f5a1f6038"
Missing separate debuginfo for /usr/lib64/libGLEW.so.1.7
Try: zypper install -C "debuginfo(build-id)=4e3a7f07e1534238dcdb8002d2cb6369f5701775"
Missing separate debuginfo for /usr/lib64/libstdc++.so.6
Try: zypper install -C "debuginfo(build-id)=9642fa8658fd6cc04fd33d55ad2d95658bb7360b"
Missing separate debuginfo for /lib64/libm.so.6
Try: zypper install -C "debuginfo(build-id)=8ee6418257efac9e7fbadc657c30c62e0a002d57"
Missing separate debuginfo for /lib64/libgcc_s.so.1
Try: zypper install -C "debuginfo(build-id)=04626951231c50274a41cb283a3a41208ac47efe"
Missing separate debuginfo for /lib64/libc.so.6
Try: zypper install -C "debuginfo(build-id)=edf27158f11a5be0dec014af4bd219d9f38add32"
Missing separate debuginfo for /usr/lib64/libasound.so.2
Try: zypper install -C "debuginfo(build-id)=80755bb8ef1d7dbc40a3c47de868c17c0f36b371"
Missing separate debuginfo for /lib64/libdl.so.2
Try: zypper install -C "debuginfo(build-id)=8d32fdb9682242cc2ebc1d9e6d717c6eaa51714e"
Missing separate debuginfo for /lib64/librt.so.1
Try: zypper install -C "debuginfo(build-id)=de7bcefe77d0faa0337a900e8a1cb620a36bda7d"
Missing separate debuginfo for /usr/lib64/libvorbis.so.0
Try: zypper install -C "debuginfo(build-id)=6f1f138c5b26bd5c1d1a66f09f86bec2c65b3f10"
Missing separate debuginfo for /usr/lib64/libogg.so.0
Try: zypper install -C "debuginfo(build-id)=6635d7578e17cd99d2a7d048e73d085402f19a0c"
Missing separate debuginfo for /lib64/libz.so.1
Try: zypper install -C "debuginfo(build-id)=f5011618a4da73cd48cd503403ef6c6bc6b16fc8"
Missing separate debuginfo for /usr/lib64/libXext.so.6
Try: zypper install -C "debuginfo(build-id)=4044aa655824cfa839cacf99d438f26eb34bdcd0"
Missing separate debuginfo for /usr/lib64/libX11.so.6
Try: zypper install -C "debuginfo(build-id)=6e2a3fff65b38afb37e54abcc7db50e4a0bbc4f1"
Missing separate debuginfo for /usr/lib64/libxcb.so.1
Try: zypper install -C "debuginfo(build-id)=e3769ffa477a916dce6e9d536ad334b5b652badc"
Missing separate debuginfo for /usr/lib64/libXau.so.6
Try: zypper install -C "debuginfo(build-id)=46ceb8560aee0ebd280c1618271aa86bfc2d752a"
[INFO] /home/abuild/rpmbuild/BUILD/supertux2-0.3.3/src/supertux/main.cpp:223 [/home/len/.supertux2] is in the search path
[INFO] /home/abuild/rpmbuild/BUILD/supertux2-0.3.3/src/supertux/main.cpp:223 [/usr//share/games/supertux2] is in the search path
Missing separate debuginfo for /usr/lib64/libXrender.so.1
Try: zypper install -C "debuginfo(build-id)=9e32e39beece8d995519eabc05474d3ed3c9f71c"
Missing separate debuginfo for /usr/lib64/libXrandr.so.2
Try: zypper install -C "debuginfo(build-id)=ddb66c86a35a3d2955d9c81c5a42ec7ce8adaab2"
Missing separate debuginfo for /usr/lib64/libXcursor.so.1
Try: zypper install -C "debuginfo(build-id)=6559ef9b185b57bf9ff42f138e28ee06edc6318d"
Missing separate debuginfo for /usr/lib64/libXfixes.so.3
Try: zypper install -C "debuginfo(build-id)=c8877d033a79996c6dd7e3e7dec988bf27940fa8"
[New Thread 0x7ffff41fd700 (LWP 30566)]
[INFO] /home/abuild/rpmbuild/BUILD/supertux2-0.3.3/src/supertux/main.cpp:539 Component 'controller' finished after 0.2 seconds
[INFO] /home/abuild/rpmbuild/BUILD/supertux2-0.3.3/src/supertux/main.cpp:62 Couldn't load config file: Couldn't open file 'config': No such file or directory, using default settings
[INFO] /home/abuild/rpmbuild/BUILD/supertux2-0.3.3/src/supertux/main.cpp:539 Component 'config' finished after 0 seconds
[INFO] /home/abuild/rpmbuild/BUILD/supertux2-0.3.3/src/supertux/main.cpp:539 Component 'addons' finished after 0 seconds
[INFO] /home/abuild/rpmbuild/BUILD/supertux2-0.3.3/src/supertux/main.cpp:539 Component 'tinygettext' finished after 0 seconds
[INFO] /home/abuild/rpmbuild/BUILD/supertux2-0.3.3/src/supertux/main.cpp:539 Component 'commandline' finished after 0 seconds
Missing separate debuginfo for /usr/lib64/libpulse.so.0
Try: zypper install -C "debuginfo(build-id)=602ca9eb712e6c7a432f4722b37b18dd6ecb7f2a"
Missing separate debuginfo for /usr/lib64/libjson.so.0
Try: zypper install -C "debuginfo(build-id)=6e1f587f11a6842064abce251e1347d70d4f4295"
Missing separate debuginfo for /usr/lib64/libpulsecommon-1.1.so
Try: zypper install -C "debuginfo(build-id)=a91bbe6a8f298411bbfd010fdeabe0a40b90e729"
Missing separate debuginfo for /lib64/libdbus-1.so.3
Try: zypper install -C "debuginfo(build-id)=d25f733acc88f9d4ff2dd39fdaa294216eb5c67d"
Missing separate debuginfo for /usr/lib64/libX11-xcb.so.1
Try: zypper install -C "debuginfo(build-id)=34fb254c11eba7d3bf1e31c5090e26ccbd08d523"
Missing separate debuginfo for /usr/lib64/libSM.so.6
Try: zypper install -C "debuginfo(build-id)=095cdcbe468397c2edb5cde28d20889725405cb0"
Missing separate debuginfo for /usr/lib64/libICE.so.6
Try: zypper install -C "debuginfo(build-id)=9df2261adc6432c3bf9047d060eceb95f10d8cfd"
Missing separate debuginfo for /usr/lib64/libXtst.so.6
Try: zypper install -C "debuginfo(build-id)=41bb4cb9fb0c90f514bd1aacf283daf26366a0dc"
Missing separate debuginfo for /lib64/libwrap.so.0
Try: zypper install -C "debuginfo(build-id)=9703c01146d8de2bd8d44ffacfd9ae55229cc5ee"
Missing separate debuginfo for /usr/lib64/libsndfile.so.1
Try: zypper install -C "debuginfo(build-id)=05c3483a9d7953a60e7c43000caa2ecb6ac02f2e"
Missing separate debuginfo for /lib64/libuuid.so.1
Try: zypper install -C "debuginfo(build-id)=24ae727f9cd5fb29f81b0f965859d3cf4668bf17"
Missing separate debuginfo for /usr/lib64/libFLAC.so.8
Try: zypper install -C "debuginfo(build-id)=323f7f9fdff9903c27a6e37d2897bf250e405af4"
Missing separate debuginfo for /usr/lib64/libvorbisenc.so.2
Try: zypper install -C "debuginfo(build-id)=fbc7961d601aeedbb4430f7939e5e4ca40408aaa"
Missing separate debuginfo for /usr/lib64/libspeex.so.1
Try: zypper install -C "debuginfo(build-id)=b9a6725ad18d7b5e7c1d700e1af27a4e122373d7"
[New Thread 0x7ffff1925700 (LWP 30567)]
[Thread 0x7ffff1925700 (LWP 30567) exited]
[New Thread 0x7ffff1925700 (LWP 30568)]
[New Thread 0x7fffed123700 (LWP 30569)]
[INFO] /home/abuild/rpmbuild/BUILD/supertux2-0.3.3/src/supertux/main.cpp:539 Component 'audio' finished after 0.033 seconds
Missing separate debuginfo for /usr/lib64/libXinerama.so.1
Try: zypper install -C "debuginfo(build-id)=ecf2883d4ea14ed9b35ab3b70aa9391435ed92b3"

Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) bt
#0 0x0000000000000000 in ?? ()
#1 0x00000000006214db in GLRenderer::apply_config() ()
#2 0x000000000061f3aa in GLRenderer::GLRenderer() ()
#3 0x000000000055cd92 in VideoSystem::new_renderer() ()
#4 0x00000000005560aa in DrawingContext::init_renderer() ()
#5 0x00000000005cd8de in Main::init_video() ()
#6 0x00000000005ce01a in Main::run(int, char**) ()
#7 0x0000000000502eb0 in main ()
(gdb) quit 

---- end paste

If there is any other info I can provide, please let me know.

O.
Comment 3 melchiaros melchiaros 2011-12-04 11:48:55 UTC
Two things are there:
1.Install the debuginfo packages,because of 

0x0000000000000000 in ?? ()

the problem is gdb can not say what ?? is, so to locate the zero pointer is not possible.

To install all debuginfo for your system:

YAST2 -> Install Software -> Extras -> Install all matching -debuginfo packages.

This will download several GB, so install only the packages you need(handwork - time consuming) will save your harddrive space.

2. When you see what ?? is use shell -> File -> Save to disk
You get an saved file that you can attach here(no stacktraces recommend in the comments section of a ticket).

Greetings melchiaros
Comment 4 Len Jejer 2011-12-04 12:51:12 UTC
I'm sorry, but I'm not putting that much stuff on my machine.  With it failing in three different scenarios, I think you have enough to replicate it.

O.
Comment 5 Stefan Hinz 2011-12-20 14:11:42 UTC
I get the exact same errors (verbatim) on a 64-bit box running openSuse 12.1 (kernel 3.0). I ran supertux2 through gdb, exact same errors here, too.

I installed the debug package for supertux2 via yast, as advised.

Now what am I supposed to do? After crashing (via gdb or standalone) I get the exact same output which Melchiaros says is not good enough for tracking down the error. What/how do I need to run instead?
Comment 6 Forgotten User RlY9P8aaaD 2011-12-21 11:38:06 UTC
(In reply to comment #5)
> I get the exact same errors (verbatim) on a 64-bit box running openSuse 12.1
> (kernel 3.0). I ran supertux2 through gdb, exact same errors here, too.
> 
> I installed the debug package for supertux2 via yast, as advised.
> 
> Now what am I supposed to do? After crashing (via gdb or standalone) I get the
> exact same output which Melchiaros says is not good enough for tracking down
> the error. What/how do I need to run instead?

Hello Mr. Hinz,

you start Supertux2 with command: gdb supertux2
then call command: run
and after that you inspect the crash with command: backtrace. Be sure to have installed the debuginfo packages supplied with the output from "(gdb) run"
That should it be
Comment 7 Forgotten User RlY9P8aaaD 2011-12-21 12:21:25 UTC
Created attachment 468486 [details]
Debuginfo by gdb with supertux 2

Hello Mr. Melchiaros,

i installed all necessary debuginfo packages but the output is not more detailed. Please have a look on my attachment.
Im open for new instructions.
Comment 8 Forgotten User RlY9P8aaaD 2011-12-21 12:24:29 UTC
(In reply to comment #7)
> Created an attachment (id=468486) [details]
> Debuginfo by gdb with supertux 2
> 
> Hello Mr. Melchiaros,
> 
> i installed all necessary debuginfo packages but the output is not more
> detailed. Please have a look on my attachment.
> Im open for new instructions.

I am sorry i attached 2 gdb sessions. First is without all debug packages, the second after quitting the first gdb session is the one with all debug packages installed.
Comment 9 melchiaros melchiaros 2011-12-21 13:16:32 UTC
@ Patrick Klatt

I´am sorry, I´am not the maintainer of this. I´am only a other user that original reported the bug.

The maintainer has not react on this until now and as far as I can see from obs it should be 

cmorve69@yahoo.es  

and cc

prusnak@suse.com
Comment 10 melchiaros melchiaros 2011-12-21 13:21:48 UTC
@ cmorve69 && prusnak:

obs points on your email adresses for package bugreporting for supertux2, so have a look.

joop.boonen@boonen.org who was assigned by Christian Trippe do not react and I can´t see him on the obs contact list.
Comment 11 melchiaros melchiaros 2011-12-21 13:46:56 UTC
It is a package failure.

When you use the supertux2 package from:

http://download.opensuse.org/repositories/home:/worldcitizen/openSUSE_12.1/

it works.I´ve just tried.

The key of the repository is expired, but known.

---------------------------------------------------------------------------------
@cmorve69 && prusnak && whoever is able to do this:

Would be fine when you rebuild supertux2 in the games repository with the .spec file from:

https://build.opensuse.org/project/show?project=home%3Aworldcitizen

That would allow to close this ticket here.
Comment 12 Joop Boonen 2011-12-21 13:57:37 UTC
I'm sorry for reacting so late. I'm quite busy with ARM.

About Comment #11. This is weird as all files should be the same.

I'll check it out.
Comment 13 Forgotten User zOWss6Gs9u 2011-12-21 14:59:54 UTC
The problem is with GLEW 1.7...
Comment 14 Forgotten User zOWss6Gs9u 2011-12-21 15:46:51 UTC
Stanislav, you are set as maintainer of GLEW. The game segfault in a call to glOrtho() that works with GLEW 1.6.
Since "you" (OK, jobermayr and platter did it) are packaging a GIT version of GLEW everything points to you. Would you mind looking into it?

Thanks.
Comment 15 Forgotten User zOWss6Gs9u 2011-12-21 17:16:19 UTC
I can confirm it works when compiled against an unpatched glew 1.7.
Comment 16 Joop Boonen 2011-12-21 23:18:37 UTC
I also tested this.
Used official source: https://sourceforge.net/projects/glew/files/glew/1.7.0/

Build without patch 0001-Add-glew.c-glewinfo.c-and-includes.patch.bz2 fails:
patch -p1 < ../../0001-Add-glew.c-glewinfo.c-and-includes.patch
patching file doc/glesew.html
patching file include/GL/eglew.h
patching file include/GL/glesew.h
The next patch would create the file include/GL/glew.h,
which already exists!  Assume -R? [n] 
Apply anyway? [n] 
Skipping patch.
1 out of 1 hunk ignored
The next patch would create the file include/GL/glxew.h,
which already exists!  Assume -R? [n] tty read: Bad file descriptor
Apply anyway? [n] 
Skipping patch.
1 out of 1 hunk ignored
The next patch would create the file include/GL/wglew.h,
which already exists!  Assume -R? [n] 
Apply anyway? [n] 
Skipping patch.
1 out of 1 hunk ignored
The next patch would create the file src/glew.c,
which already exists!  Assume -R? [n] 
Apply anyway? [n] 
Skipping patch.
1 out of 1 hunk ignored
The next patch would create the file src/glewinfo.c,
which already exists!  Assume -R? [n] 
Apply anyway? [n] 
Skipping patch.
1 out of 1 hunk ignored
Comment 17 Joop Boonen 2011-12-21 23:27:31 UTC
Hi Johannes,

Are you able to check this out? 
The latest version was build by you according to the changelog.
Comment 18 Joop Boonen 2011-12-21 23:34:53 UTC
I'm testing with your latest build: home:jobermayr > glew
Comment 19 Joop Boonen 2011-12-22 00:11:42 UTC
This version (1.7.0.git20111123.2145) has the same problem.
Comment 20 Joop Boonen 2011-12-24 00:10:57 UTC
Created a bug report for glew: Bug 738519
Comment 21 Forgotten User Q_jroExIGN 2011-12-24 00:31:39 UTC
Because the actual problem is in glew package this bug report has to be closed.

*** This bug has been marked as a duplicate of bug 738519 ***