Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gv Long Gone
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
pandora
Tux's lil' helper
Tux's lil' helper


Joined: 25 Sep 2002
Posts: 93
Location: UK

PostPosted: Tue Jan 13, 2009 6:29 pm    Post subject: gv Long Gone Reply with quote

It's been almost a year since I was able to use gv to view a postscript document. I've updated the program several times but it always throws a glibc error like this:

Code:
*** glibc detected *** gs: double free or corruption (!prev): 0x087a9f48 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7bf1a00]
/lib/libc.so.6(cfree+0x89)[0xb7bf36f9]
/lib/libc.so.6(fclose+0x152)[0xb7be1ed2]
gs[0x8112e75]
gs(file_close_disable+0x13)[0x80f3ad3]
gs(file_close_file+0x1a)[0x811346a]
gs(sclose+0x1b)[0x80f40fb]
gs(gs_gc_reclaim+0xb44)[0x810ef84]
gs[0x8179377]
gs[0x80ece10]
gs(interp_reclaim+0x42)[0x80e8ca2]
gs(gs_main_finit+0xf1)[0x80e0701]
gs(main+0xea)[0x8084bba]
/lib/libc.so.6(__libc_start_main+0xdc)[0xb7ba1fdc]
gs[0x8084a41]
======= Memory map: ========
08048000-08473000 r-xp 00000000 08:04 3441307    /usr/bin/gs
08473000-08474000 r--p 0042a000 08:04 3441307    /usr/bin/gs
08474000-08585000 rw-p 0042b000 08:04 3441307    /usr/bin/gs
08585000-08879000 rw-p 08585000 00:00 0          [heap]
b6c00000-b6c21000 rw-p b6c00000 00:00 0
b6c21000-b6d00000 ---p b6c21000 00:00 0
b6d71000-b792a000 rw-p b6d71000 00:00 0
b792a000-b7937000 r-xp 00000000 08:04 649010     /usr/lib/libXext.so.6.4.0
b7937000-b7938000 rw-p 0000c000 08:04 649010     /usr/lib/libXext.so.6.4.0
b7938000-b794d000 r-xp 00000000 08:04 648726     /usr/lib/libICE.so.6.3.0
b794d000-b794e000 rw-p 00014000 08:04 648726     /usr/lib/libICE.so.6.3.0
b794e000-b7950000 rw-p b794e000 00:00 0
b7950000-b799b000 r-xp 00000000 08:04 648737     /usr/lib/libXt.so.6.0.0
b799b000-b799e000 rw-p 0004b000 08:04 648737     /usr/lib/libXt.so.6.0.0
b799e000-b799f000 rw-p b799e000 00:00 0
b79bc000-b79be000 rw-p b79bc000 00:00 0
b79be000-b79c2000 r-xp 00000000 08:04 648105     /usr/lib/libXdmcp.so.6.0.0
b79c2000-b79c3000 rw-p 00003000 08:04 648105     /usr/lib/libXdmcp.so.6.0.0
b79c3000-b79c4000 rw-p b79c3000 00:00 0
b79c4000-b79c6000 r-xp 00000000 08:04 648091     /usr/lib/libXau.so.6.0.0
b79c6000-b79c7000 rw-p 00001000 08:04 648091     /usr/lib/libXau.so.6.0.0
b79c7000-b79e4000 r-xp 00000000 08:04 645449     /usr/lib/libexpat.so.0.5.0
b79e4000-b79e6000 rw-p 0001d000 08:04 645449     /usr/lib/libexpat.so.0.5.0
b79e6000-b79f0000 r-xp 00000000 08:04 13402918   /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1
b79f0000-b79f1000 r--p 00009000 08:04 13402918   /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1
b79f1000-b79f2000 rw-p 0000a000 08:04 13402918   /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1
b79f2000-b7a19000 r-xp 00000000 08:04 14370307   /usr/lib/libpixman-1.so.0.10.0
b7a19000-b7a1a000 r--p 00027000 08:04 14370307   /usr/lib/libpixman-1.so.0.10.0
b7a1a000-b7a1b000 rw-p 00028000 08:04 14370307   /usr/lib/libpixman-1.so.0.10.0
b7a1b000-b7aff000 r-xp 00000000 08:04 648110     /usr/lib/libX11.so.6.2.0
b7aff000-b7b03000 rw-p 000e4000 08:04 648110     /usr/lib/libX11.so.6.2.0
b7b03000-b7b04000 rw-p b7b03000 00:00 0
b7b04000-b7b0b000 r-xp 00000000 08:04 649072     /usr/lib/libXrender.so.1.3.0
b7b0b000-b7b0c000 rw-p 00006000 08:04 649072     /usr/lib/libXrender.so.1.3.0
b7b0c000-b7b87000 r-xp 00000000 08:04 3932484    /usr/lib/libfreetype.so.6.3.18
b7b87000-b7b8b000 r--p 0007a000 08:04 3932484    /usr/lib/libfreetype.so.6.3.18
b7b8b000-b7b8c000 rw-p 0007e000 08:04 3932484    /usr/lib/libfreetype.so.6.3.18
b7b8c000-b7cb6000 r-xp 00000000 08:04 17318002   /lib/libc-2.6.1.so
b7cb6000-b7cb8000 r--p 0012a000 08:04 17318002   /lib/libc-2.6.1.so
b7cb8000-b7cb9000 rw-p 0012c000 08:04 17318002   /lib/libc-2.6.1.so
b7cb9000-b7cbc000 rw-p b7cb9000 00:00 0
b7cbc000-b7ccf000 r-xp 00000000 08:04 17317976   /lib/libpthread-2.6.1.so
b7ccf000-b7cd0000 r--p 00013000 08:04 17317976   /lib/libpthread-2.6.1.so
b7cd0000-b7cd1000 rw-p 00014000 08:04 17317976   /lib/libpthread-2.6.1.so
b7cd1000-b7cd3000 rw-p b7cd1000 00:00 0
b7cd3000-b7cfc000 r-xp 00000000 08:04 4817352    /usr/lib/libfontconfig.so.1.3.0
b7cfc000-b7cfd000 r--p 00029000 08:04 4817352    /usr/lib/libfontconfig.so.1.3.0
b7cfd000-b7cfe000 rw-p 0002a000 08:04 4817352    /usr/lib/libfontconfig.so.1.3.0
b7cfe000-b7dda000 r-xp 00000000 08:04 13402902   /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.so.6.0.8
b7dda000-b7dde000 r--p 000dc000 08:04 13402902   /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.so.6.0.8
b7dde000-b7ddf000 rw-p 000e0000 08:04 13402902   /usr/lib/gcc/i686-pc-linux


Opening the same file with gs works fine, although it's very basic and not a lot of use for paging through large documents.

Anyone any ideas what might be the cause?
Back to top
View user's profile Send private message
richard77
Apprentice
Apprentice


Joined: 21 Apr 2004
Posts: 281

PostPosted: Tue Jan 13, 2009 6:41 pm    Post subject: Reply with quote

From what you have posted, the problem is in your ghostscript (to which /usr/bin/bs belongs).
Try reinstalling it.
_________________
Fletto i muscoli e sono nel vuoto
Back to top
View user's profile Send private message
pandora
Tux's lil' helper
Tux's lil' helper


Joined: 25 Sep 2002
Posts: 93
Location: UK

PostPosted: Tue Jan 13, 2009 7:03 pm    Post subject: Reply with quote

Well, that's the odd thing: gs has been updated several times and works fine, it even displays pages that gv chokes on. I haven't found a document that causes gs to throw up anything like this error dump.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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