You are not logged in.

#1 2009-11-12 13:04:58

quarkup
Member
From: Portugal
Registered: 2008-09-07
Posts: 497
Website

[SOLVED] glibc problem (opengl apps do not work)

Hi

After upgrading the system, pacman has upgraded the kernel-libs, kernel, glibc, gcc and gcc-libs as you can see
in these lines of the pacman.log : http://dpaste.com/119549/

Actually I cannot launch for example the google-earth application on my kde4 environment.

when I launch it from the terminal, I get this: http://dpaste.com/119544/
also I'm doing a small app 3d with c++ & opengl and this is it's output: http://dpaste.com/hold/119550/


And I am running the i686 arch.


~ $ pacman -Qs glibc
local/glibc 2.11-1 [31,59 MB] (base)
    GNU C Library

This is a weird thing. Should I report a bug for glibc ?


edit:

also the kernel I am running is the latest (i have rebooted meanwhile)

~ $ uname -a
Linux supernova 2.6.31-ARCH #1 SMP PREEMPT Tue Nov 10 19:48:17 CET 2009 i686 Intel(R) Pentium(R) M processor 1.73GHz GenuineIntel GNU/Linux
~ $ gcc --version
gcc (GCC) 4.4.2
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

help would be apreciated.

Last edited by quarkup (2009-11-14 12:19:27)


If people do not believe that mathematics is simple, it is only because they do not realize how complicated life is.
Simplicity is the ultimate sophistication.

Offline

#2 2009-11-12 13:50:27

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: [SOLVED] glibc problem (opengl apps do not work)

Hi

Try to run both programs with MALLOC_CHECK_=0

example:

MALLOC_CHECK_=0 googleearth

Offline

#3 2009-11-12 14:27:46

quarkup
Member
From: Portugal
Registered: 2008-09-07
Posts: 497
Website

Re: [SOLVED] glibc problem (opengl apps do not work)

~ $ MALLOC_CHECK_=0 googleearth
googleearth-bin: malloc.c:3096: sYSMALLOc: Assertion `(old_top == (((mbinptr) (((char *) &((av)->bins[((1) - 1) * 2])) - __builtin_offsetof (struct malloc_chunk, fd)))) && old_size == 0) || ((unsigned long) (old_size) >= (unsigned long)((((__builtin_offsetof (struct malloc_chunk, fd_nextsize))+((2 * (sizeof(size_t))) - 1)) & ~((2 * (sizeof(size_t))) - 1))) && ((old_top)->size & 0x1) && ((unsigned long)old_end & pagemask) == 0)' failed.
Aborted

for the 3d asteroids (my c++/opengl app)

asteroids $ MALLOC_CHECK_=0 ./asteroids.out
freeglut (./asteroids.out):  ERROR:  Internal error <Visual with necessary capabilities not found> in function fgOpenWindow
Segmentation fault

at least the google earth was working before.. its a long time i dont code or test the asteroids app so im not really sure if it had any bug.


If people do not believe that mathematics is simple, it is only because they do not realize how complicated life is.
Simplicity is the ultimate sophistication.

Offline

#4 2009-11-12 21:46:50

quarkup
Member
From: Portugal
Registered: 2008-09-07
Posts: 497
Website

Re: [SOLVED] glibc problem (opengl apps do not work)

this topic is not solved. just for you to know..


If people do not believe that mathematics is simple, it is only because they do not realize how complicated life is.
Simplicity is the ultimate sophistication.

Offline

#5 2009-11-12 22:53:31

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,400
Website

Re: [SOLVED] glibc problem (opengl apps do not work)

http://wiki.archlinux.org/index.php/For … te#Bumping

Both look like errors in the actual program that are exposed by the newer glibc to me...

Offline

#6 2009-11-12 23:00:31

quarkup
Member
From: Portugal
Registered: 2008-09-07
Posts: 497
Website

Re: [SOLVED] glibc problem (opengl apps do not work)

okay thanks for your reply.

i just bumpd to know if im the only one having this issues.

there is at least one more arch user having this issue.
http://aur.archlinux.org/packages.php?ID=15270


and im not wanting to disturbe you devs, sorry for bumping.


If people do not believe that mathematics is simple, it is only because they do not realize how complicated life is.
Simplicity is the ultimate sophistication.

Offline

#7 2009-11-12 23:26:48

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: [SOLVED] glibc problem (opengl apps do not work)

for google-earth, report to google, and for your C++ programsource: track all memory allocations, free and how is used but maybe the problem is on some library. Check with gdb and/or valgrind.

Offline

#8 2009-11-13 12:17:24

quarkup
Member
From: Portugal
Registered: 2008-09-07
Posts: 497
Website

Re: [SOLVED] glibc problem (opengl apps do not work)

well I posted the issue on the google-earth, linux problem's forum.

actually my program was working before and there is another program/game over the net (http://code.google.com/p/roids/) which was working also before.

now it segfaults too.

im going to downgrade the glibc version if possible.


If people do not believe that mathematics is simple, it is only because they do not realize how complicated life is.
Simplicity is the ultimate sophistication.

Offline

#9 2009-11-13 23:53:54

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: [SOLVED] glibc problem (opengl apps do not work)

I tested google-earth and works fine here. (but I have an nvidia card using nvidia driver/) -> libgl is provided by nvidia.

Maybe the issue is with libgl

Offline

#10 2009-11-14 00:14:50

quarkup
Member
From: Portugal
Registered: 2008-09-07
Posts: 497
Website

Re: [SOLVED] glibc problem (opengl apps do not work)

well my version of the nvidia driver is

~ $ pacman -Qs nvidia
local/nvidia 190.42-1 [9,17 MB]
    NVIDIA drivers for kernel26.
local/nvidia-utils 190.42-1 [31,56 MB]
    NVIDIA drivers utilities and libraries.

I'm using a nvidia geforce 6800 go..
never had this kind of problem since install of arch (up to 1 year+)


If people do not believe that mathematics is simple, it is only because they do not realize how complicated life is.
Simplicity is the ultimate sophistication.

Offline

#11 2009-11-14 05:20:27

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: [SOLVED] glibc problem (opengl apps do not work)

hey!, this is not good.... you have a mix of library version loaded!

b6132000-b6133000 r-xp 00000000 08:02 157035     /usr/lib/tls/libnvidia-tls.so.185.18.14                                 
b6133000-b6134000 rwxp 00000000 08:02 157035     /usr/lib/tls/libnvidia-tls.so.185.18.14                                 
b6134000-b714e000 r-xp 00000000 08:02 108613     /usr/lib/libGLcore.so.190.42                                            
b714e000-b7194000 rwxp 01019000 08:02 108613     /usr/lib/libGLcore.so.190.42

The file /usr/lib/tls/libnvidia-tls.so.185.18.14 is not in nvidia-utils package! delete it.

Offline

#12 2009-11-14 12:16:27

quarkup
Member
From: Portugal
Registered: 2008-09-07
Posts: 497
Website

Re: [SOLVED] glibc problem (opengl apps do not work)

hey thanks !!!


it's working now. thanks for your help wink


If people do not believe that mathematics is simple, it is only because they do not realize how complicated life is.
Simplicity is the ultimate sophistication.

Offline

#13 2009-11-14 15:56:23

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: [SOLVED] glibc problem (opengl apps do not work)

¡Excelente!

não há de quê smile

Offline

Board footer

Powered by FluxBB