![]() |
Etch/Feisty Segmentation fault - Printable Version +- Forums (https://www.vdrift.net/Forum) +-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3) +--- Forum: Bugs (https://www.vdrift.net/Forum/forumdisplay.php?fid=7) +--- Thread: Etch/Feisty Segmentation fault (/showthread.php?tid=566) |
Etch/Feisty Segmentation fault - Blazeix - 03-24-2007 Hi, I'm running Ubuntu 7.04 Beta, and I just installed the full version of VDrift 2007-03-23. When I try to click 'practice race,' 'single game,' or 'network game' I get a segmentation fault. This apparently also happens under Debian Etch. Here are the last few lines of the verbose output Code: widget-07: value source not found, default to manual. Hardware Info: Dell Precision M70 Laptop Pentium M 1 Gb RAM Nvidia Quadro FX Go1400 with 1.0-9631 Driver - Nigo - 03-24-2007 same here on a Debian Etch (NVidia 9755) - rookie1 - 03-24-2007 I can confirm this. Just downloaded the minimal package from sourceforge and get the same segfault error. Since the executable does not contain any debug symbol, I can't get a backtrace. Funny thing is, if I replace the executable with the one I've compiled from svn, there is no error. This is with the same dataset (minimal), same ~/.vdrift config files (created afresh). Seems to me the problem is with the executable file. I'm running Feisty as well. - thelusiv - 03-25-2007 rookie1, since you have both access to both the working and broken versions, can you tell me the output of the following command on the one you compiled? Code: objdump -x /path/to/vdrift/binary/vdrift | grep NEEDED I'm imagining that this is due to the OpenGL library having a different filename. It could be issues with the compiler version used to build the package (3.3 and 3.4). I wish we could have caught these problems with the testing packages before the release. I'll have a new package up to test soon... - thelusiv - 03-25-2007 Here's an attempt at a fix. http://clemsonlinux.org/~thelusiv/VDrift-2007-03-23-minimal-2.package This package was compiled with g++-3.4 and g++-4.1, instead of 3.3 and 3.4. The idea is that hopefully we'll have less users whose systems were built with gcc 3.2/3.3 than those whose systems were built with 4.0/4.1. I'm not sure if this will even fix the problem, but I seem to remember rookie1 reporting that previous packages worked which were compiled with only g++-4.1. If this works for those of you running Etch/Feisty, and doesn't break things for Joe or anyone else, I will replace the packages in the 2007-03-23 release with some that have these fixes. So please test this package at your earliest convenience and let me know how it goes ![]() Fixed - kyrlian - 03-25-2007 Had the coredump on ubuntu edgy, this fix solved it. Cheers ! - Nigo - 03-25-2007 the gtk-installer is now telling me I need libc 2.4 while on Etch, the last libc is 2.3.6 - rookie1 - 03-25-2007 I get this when running objdump on the executable compiled from svn, NEEDED libSDL-1.2.so.0 NEEDED libopenal.so.0 NEEDED libGL.so.1 NEEDED libGLU.so.1 NEEDED libSDL_image-1.2.so.0 NEEDED libSDL_net-1.2.so.0 NEEDED libSDL_gfx.so.4 NEEDED libalut.so.0 NEEDED libstdc++.so.6 NEEDED libm.so.6 NEEDED libgcc_s.so.1 NEEDED libc.so.6 For comparison, following is the result of objdump on the release binary, NEEDED libSDL-1.2.so.0 NEEDED libpthread.so.0 NEEDED libGL.so.1 NEEDED libGLU.so.1 NEEDED libSDL_image-1.2.so.0 NEEDED libSDL_net-1.2.so.0 NEEDED libstdc++.so.5 NEEDED libm.so.6 NEEDED libc.so.6 NEEDED libdl.so.2 I'll download the new package and try it again. - thelusiv - 03-25-2007 Nigo I'm not sure why that is, I haven't changed any of the library checks. I believe the C library check is automatically added by autopackage. I'll see what I can do about that... rookie1, thanks for that output, I guess it's not just a matter of different filenames. - Nigo - 03-25-2007 it's saying exactly "your copy of 'glibc' is too old for this packet. You need at least the following symbols in 'glibc' : GLIBC_2.4" while the old packet was installing flawlessly - rookie1 - 03-25-2007 ok the new package works now. Out of curiosity, I did a objdump on the new binary as well, NEEDED libSDL-1.2.so.0 NEEDED libpthread.so.0 NEEDED libGL.so.1 NEEDED libGLU.so.1 NEEDED libSDL_image-1.2.so.0 NEEDED libSDL_net-1.2.so.0 NEEDED libstdc++.so.6 NEEDED libm.so.6 NEEDED libc.so.6 NEEDED libdl.so.2 The only difference from the last release binary is libstdc++.so.6. - thelusiv - 03-25-2007 rookie1, that's good news from the Feisty end of things. Nigo, can you tell me what your default compiler is on Etch? Is it gcc-3.4? For instance on my Ubuntu Edgy machine: Code: $ ls -l /usr/bin/gcc - Nigo - 03-25-2007 I do have libstdc++6 Quote:$ ls -l /usr/bin/gcc - thelusiv - 03-25-2007 Nigo & rookie1, please test the package at the same location again, http://clemsonlinux.org/~thelusiv/VDrift-2007-03-23-minimal-2.package I have updated it. This one is back to 3.3/3.4. Let me know how it works for you. - Nigo - 03-25-2007 it does install but I still got the seg fault :cry: |