Jump to content

Valgrind .......


abarbarian

Recommended Posts

─><(((“>$ yin valgrind																	 14/07/14
Password:
resolving dependencies...
looking for inter-conflicts...

Packages (1): valgrind-3.9.0-4

Total Download Size: 6.06 MiB
Total Installed Size: 54.77 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages ...
valgrind-3.9.0-4-x86_64			 6.1 MiB 57.8K/s 01:47 [--------------------------------] 100%
(1/1) checking keys in keyring							 [--------------------------------] 100%
(1/1) checking package integrity							 [--------------------------------] 100%
(1/1) loading package files								 [--------------------------------] 100%
error: error while reading package /var/cache/pacman/pkg/valgrind-3.9.0-4-x86_64.pkg.tar.xz: Truncated input file (needed 14336 bytes, only 0 available)
error: failed to commit transaction (libarchive error

 

FF keeps crashing on me and several other programs too. I recon it is a X11 problem so I tried to install valgrind and it will not. I have /var on a separate partition and it has 5 GB free space so space is not a problem. Can anyone tell me what the message means ?? :'(

Edited by abarbarian
Link to comment
Share on other sites

Second attempt at install with a different message.

 

╰─><(((“>$ yin valgrind																	 14/07/14
Password:
resolving dependencies...
looking for inter-conflicts...

Packages (1): valgrind-3.9.0-4

Total Installed Size:   54.77 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring							   [--------------------------------] 100%
(1/1) checking package integrity							 [--------------------------------] 100%
(1/1) loading package files								  [--------------------------------] 100%
(1/1) checking for file conflicts						    [--------------------------------] 100%
(1/1) checking available disk space						  [--------------------------------] 100%
(1/1) installing valgrind								    [--------------------------------] 100%
error: could not extract usr/include/valgrind/vki/vki-xen-domctl.h (Lzma library error: Corrupted input data)
error: problem occurred while installing valgrind
Optional dependencies for valgrind
   openmpi: MPI support
error: could not commit transaction
error: failed to commit transaction (transaction aborted)
Errors occurred, no packages were upgraded.

 

What is going on ?????????? :'(

Link to comment
Share on other sites

Ok now I am worried. Third attempt.Looks like valgrind was hidding or having a smoke as it seems to be already installed.

 

╰─><(((“>$ yin valgrind																	 14/07/14
Password:
warning: valgrind-3.9.0-4 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Packages (1): valgrind-3.9.0-4

Total Installed Size:   54.77 MiB
Net Upgrade Size:	   0.00 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring							   [--------------------------------] 100%
(1/1) checking package integrity							 [--------------------------------] 100%
(1/1) loading package files								  [--------------------------------] 100%
(1/1) checking for file conflicts						    [--------------------------------] 100%
(1/1) checking available disk space						  [--------------------------------] 100%
(1/1) reinstalling valgrind		   

 

So what is going on ????? :angry2:

Link to comment
Share on other sites

╰─><(((“>$ valgrind firefox 14/07/14

==2916== Memcheck, a memory error detector

==2916== Copyright © 2002-2013, and GNU GPL'd, by Julian Seward et al.

==2916== Using Valgrind-3.9.0 and LibVEX; rerun with -h for copyright info

==2916== Command: firefox

==2916==

 

(process:2916): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed

==2916==

==2916== HEAP SUMMARY:

==2916== in use at exit: 1,002 bytes in 33 blocks

==2916== total heap usage: 38 allocs, 5 frees, 1,193 bytes allocated

==2916==

==2916== LEAK SUMMARY:

==2916== definitely lost: 0 bytes in 0 blocks

==2916== indirectly lost: 0 bytes in 0 blocks

==2916== possibly lost: 858 bytes in 29 blocks

==2916== still reachable: 144 bytes in 4 blocks

==2916== suppressed: 0 bytes in 0 blocks

==2916== Rerun with --leak-check=full to see details of leaked memory

==2916==

==2916== For counts of detected and suppressed errors, rerun with: -v

==2916== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 1 from 1)

 

This is the valgrind output,may as well be written in klingon as I have no idea what it means. :whistling:

Link to comment
Share on other sites

More Klingon. I ran with the "-v" option.

 

Below is just the start of the output, followed by pages of Klingon which I have not posted, but I did post the results below.

 

╰─><(((“>$ valgrind -v firefox															  14/07/14
==2948== Memcheck, a memory error detector
==2948== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==2948== Using Valgrind-3.9.0 and LibVEX; rerun with -h for copyright info
==2948== Command: firefox
==2948==
--2948-- Valgrind options:
--2948--    -v
--2948-- Contents of /proc/version:
--2948--   Linux version 3.15.5-1-ARCH (nobody@var-lib-archbuild-testing-x86_64-tobias) (gcc version 4.9.0 20140604 (prerelease) (GCC) ) #1 SMP PREEMPT Thu Jul 10 07:08:50 CEST 2014
--2948-- Arch and hwcaps: AMD64, amd64-cx16-lzcnt-rdtscp-sse3
--2948-- Page sizes: currently 4096, max supported 4096
--2948-- Valgrind library directory: /usr/lib/valgrind
--2948-- Reading syms from /usr/lib/firefox/firefox
--2948--    object doesn't have a symbol table
--2948-- Reading syms from /usr/lib/ld-2.19.so
--2948-- Reading syms from /usr/lib/valgrind/memcheck-amd64-linux
--2948--    object doesn't have a symbol table
--2948--    object doesn't have a dynamic symbol table
--2948-- Scheduler: using generic scheduler lock implementation.
--2948-- Reading suppressions file: /usr/lib/valgrind/default.supp
==2948== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-2948-by-bloodaxe-on-???
==2948== embedded gdbserver: writing to   /tmp/vgdb-pipe-to-vgdb-from-2948-by-bloodaxe-on-???
==2948== embedded gdbserver: shared mem   /tmp/vgdb-pipe-shared-mem-vgdb-2948-by-bloodaxe-on-???

 

This is the summary,

 

╰─><(((“>$ --2950-- WARNING: Serious error when reading debug info						  14/07/14
--2950-- When reading debug info from /tmp/.glFgxjfK (deleted):
--2950-- failed to stat64/stat this file
--2950-- WARNING: Serious error when reading debug info
--2950-- When reading debug info from /tmp/.glFgxjfK (deleted):
--2950-- failed to stat64/stat this file
--2950-- Discarding syms at 0x195c86d0-0x195ca01d in /usr/lib/gconv/UTF-16.so due to munmap()
==2950==
==2950== HEAP SUMMARY:
==2950==	 in use at exit: 841 bytes in 30 blocks
==2950==   total heap usage: 35 allocs, 5 frees, 1,032 bytes allocated
==2950==
==2950== Searching for pointers to 30 not-freed blocks
==2950== Checked 20,466,912 bytes
==2950==
==2950== LEAK SUMMARY:
==2950==    definitely lost: 0 bytes in 0 blocks
==2950==    indirectly lost: 0 bytes in 0 blocks
==2950==	  possibly lost: 809 bytes in 28 blocks
==2950==    still reachable: 32 bytes in 2 blocks
==2950==		 suppressed: 0 bytes in 0 blocks
==2950== Rerun with --leak-check=full to see details of leaked memory
==2950==
==2950== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 1 from 1)
--2950--
--2950-- used_suppression:	  1 dl-hack3-cond-1 /usr/lib/valgrind/default.supp:1196
==2950==
==2950== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 1 from 1)

 

:whistling:

Link to comment
Share on other sites

securitybreach

Firefox has been buggy lately but I'll look into it further when I get home from the doctors office. BTW what is yin

Link to comment
Share on other sites

The opposite of yang :Laughing:

 

My alias "for yaourt -S".

 

It is not just FF it seems to be any program that needs a lot of graphicals. Sometimes programs will crash and leave me with a desktop. Sometimes X closes down and I am left in tty1 (the console before you startx).

Link to comment
Share on other sites

securitybreach

Well first off, the reason pacman was giving errors was due to the mirror having issue. As far as pacman, I generally use the debug flag to get more output:

pacman --debug -Syu

 

I tried running valgrind -v firefox and I got thousands of errors... :hysterical:

==32492== 1094 errors in context 996 of 1000:

Link to comment
Share on other sites

Thanks for taking the time, problem solved by a Eric solution,

 

desktop62.png

 

an a clean install.Well I think it is solved.

Edited by abarbarian
Link to comment
Share on other sites

securitybreach

an a clean install.Well I think it is solved.

 

So you reinstalled Arch? I do not think that was needed to fix your issue but whatever works B)

Link to comment
Share on other sites

Well before I reinstalled when I ran the following command I had no output ie:SLI was not enabled. I followed all the steps and did some troubleshooting after wards but no joy.After the install I now seem to have SLI enabled correctly.So the install was worth it. Also I have fiddled so much that a clean start was really much quicker than trying to decrud manually. Gave me a chance to try out the new install procedure too.

 

]$ nvidia-settings -q all | grep SLIMode
 Attribute 'SLIMode' (longship:0.0): AA
   'SLIMode' is a string attribute.
   'SLIMode' is a read-only attribute.
   'SLIMode' can use the following target types: X Screen, GPU.
 Attribute 'SLIMode' (longship:0[gpu:0]): AA
   'SLIMode' is a string attribute.
   'SLIMode' is a read-only attribute.
   'SLIMode' can use the following target types: X Screen, GPU.
 Attribute 'SLIMode' (longship:0[gpu:1]): AA
   'SLIMode' is a string attribute.
   'SLIMode' is a read-only attribute.
   'SLIMode' can use the following target types: X Screen, GPU.

 

:breakfast:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...