Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
*** glibc detected *** free() con gtksee
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Ciccio Bueo
l33t
l33t


Joined: 19 Oct 2004
Posts: 834
Location: Treviso

PostPosted: Tue Oct 18, 2005 12:08 pm    Post subject: *** glibc detected *** free() con gtksee Reply with quote

sul forum si trovano molte risposte, tra cui anche quella di cambiare versione delli glib, oppure di passare a al gcc 3.4, qualcuno ha già avuto questa esperienza?

visto che questo problema è sul pc che mi fa da server casalingo, e anche sul client (che quindi aggiorno in sintonia visto che il server mi fa lìrsync locale), potrebbe essere un errore che ho commesso su entrambe le macchine? ma cosa?

ecco l'errore:

avvio da riga di comando gtksee, poi seleziono un file di immagine, e li si chiude...

Code:
 # gtksee
*** glibc detected *** free(): invalid pointer: 0x0809bc32 ***
Aborted



qualche info:

Code:
 # gcc-config -l
 [1] i686-pc-linux-gnu-3.3.6 *
 [2] i686-pc-linux-gnu-3.3.6-hardened
 [3] i686-pc-linux-gnu-3.3.6-hardenednopie
 [4] i686-pc-linux-gnu-3.3.6-hardenednopiessp
 [5] i686-pc-linux-gnu-3.3.6-hardenednossp


Code:
# ls -la /etc/make.*
-rw-r--r--  1 root root   453 Oct 18 10:11 /etc/make.conf
-rw-r--r--  1 root root 16178 Oct  6 18:59 /etc/make.conf.example
-rw-r--r--  1 root root  2282 Oct  6 18:59 /etc/make.globals
lrwxrwxrwx  1 root root    48 Sep  5 15:35 /etc/make.profile -> ../usr/portage/profiles/default-linux/x86/2005.1


Code:
*  media-gfx/gtksee
      Latest version available: 0.5.6
      Latest version installed: 0.5.6
      Size of downloaded files: 314 kB
      Homepage:    http://gtksee.berlios.de/
      Description: A simple but functional image viewer/browser - ACD See alike.      License:     GPL-2


Code:
*  sys-libs/glibc
      Latest version available: 2.3.5-r2
      Latest version installed: 2.3.5-r2
      Size of downloaded files: 15,628 kB
      Homepage:    http://www.gnu.org/software/libc/libc.html
      Description: GNU libc6 (also called glibc2) C library
      License:     LGPL-2


Code:
# cat /etc/make.conf
CFLAGS="-march=pentium2 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
USE="gtk gtk2 -gnome -qt -kde -arts -dvd -alsa -cdr -oss -kerberos -xml -mysql -acl -ldap -oav -apm acpi  readline cups pam  mmx bluetooth gimp-print dbus foomaticdb ppds usb udev hal howl"



grazie
Back to top
View user's profile Send private message
Ciccio Bueo
l33t
l33t


Joined: 19 Oct 2004
Posts: 834
Location: Treviso

PostPosted: Wed Oct 19, 2005 5:43 pm    Post subject: Reply with quote

up
Back to top
View user's profile Send private message
GhePeU
Guru
Guru


Joined: 12 Aug 2003
Posts: 549
Location: Mestre, Italy

PostPosted: Wed Oct 19, 2005 8:41 pm    Post subject: Reply with quote

c'è poco da fare, anzi niente

le nuove glibc hanno controlli più severi sull'allocazione della memoria, e se un programma compie operazioni sbagliate lo bloccano e segnalano l'errore
c'era una USE 'nomalloccheck' o qualcosa di simile che disabilitava i controlli aggiuntivi ma è sparita in un momento imprecisato
_________________
That is not dead which can eternal lie,
and with strange aeons even death may die.
Back to top
View user's profile Send private message
Ciccio Bueo
l33t
l33t


Joined: 19 Oct 2004
Posts: 834
Location: Treviso

PostPosted: Thu Oct 20, 2005 6:16 am    Post subject: Reply with quote

che peccato... insomma devo cambiare programma... :(

grazie
Back to top
View user's profile Send private message
GhePeU
Guru
Guru


Joined: 12 Aug 2003
Posts: 549
Location: Mestre, Italy

PostPosted: Fri Oct 21, 2005 5:55 pm    Post subject: Reply with quote

prova gqview
_________________
That is not dead which can eternal lie,
and with strange aeons even death may die.
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Fri Oct 21, 2005 6:04 pm    Post subject: Re: *** glibc detected *** free() con gtksee Reply with quote

immagino tu abbia già provato a ricompilare il programma...
Back to top
View user's profile Send private message
Ciccio Bueo
l33t
l33t


Joined: 19 Oct 2004
Posts: 834
Location: Treviso

PostPosted: Fri Oct 21, 2005 6:08 pm    Post subject: Reply with quote

sto usando gimageview http://gtkmmviewer.sourceforge.net/ e devo dire che è veramente bellino, mi sa che lo sostituisco a gthumb sugli altri pc.

su questo pc non volevo mettere gthumb per le dipendenze (qui uso xfce)

*si ho provato a ricompilarlo.

grazie :wink:
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Fri Oct 21, 2005 6:12 pm    Post subject: Reply with quote

io non ho mai visto un errore del genere... quindi non saprei bene cosa consigliarti.
al tuo posto proverei a vedere le cosa mi butta fuori strace, e cercherei di interpretare quello che trovo... si sa mai che se ne cavi qualcosa di buono
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Sat Oct 22, 2005 2:10 pm    Post subject: Reply with quote

k.gothmog wrote:
io non ho mai visto un errore del genere... quindi non saprei bene cosa consigliarti.
al tuo posto proverei a vedere le cosa mi butta fuori strace, e cercherei di interpretare quello che trovo... si sa mai che se ne cavi qualcosa di buono


Considerando quello che ha detto GhePeU:

GhePeU wrote:
le nuove glibc hanno controlli più severi sull'allocazione della memoria, e se un programma compie operazioni sbagliate lo bloccano e segnalano l'errore


anche strace non ti puó aiutare molto... Al limite potrebbe provare con valgrind e gdb. E dopo che ha sistemato il codice invia la patch agli autori del programma.
Ma non é una soluzione alla portata di tutti.
_________________
Ciao da me!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum