Re: Nelze spustit gmsh na určitém stroji - sigsegv


To Debian CZ/SK project discussion list <czdebian-l zavinac debian bod cz>
From Lukáš Oliva <plhu zavinac seznam bod cz>
Date Fri, 16 Dec 2005 12:22:54 +0100
User-agent Debian Thunderbird 1.0.7 (X11/20051017)

Petr Kubanek wrote:

>strace je na nic.
>
>ulimit -c unlimited (jako root)
>pustit ten program, gdb <program> ./core
>
>  
>
V řádkovém rozhraní gdb se bohužel nevyznám.

>pripadne by mohl pomoci valgrind.
>
>  
>
Ten trochu znám, takže jsem ho zkusil. Nějak se mi to ale nezdá.
Připojuji výpis s -v.

>IMHO tohle neni v kernelu, kdyby to bylo v kernelu, nehodi to SIGSEV,
>ale kernel zpanikari. Tohle je nejaky leak v knihovne pripadne v gsh.
>
>Petr
>
>Fri, Dec 16, 2005 at 10:27:22AM +0100 - Lukáš Oliva:
>  
>
>>Petr Kubanek wrote:
>>
>>    
>>
>>>Co takhle prejit na sarge, tedy stable?
>>>
>>>Problem muze byt v nejake knihovne, tezko rici. Od toho to je unstable,
>>>aby to padalo..
>>> 
>>>
>>>      
>>>
>>To je sice fakt, jenže podivný je, že to nejede jen an jednom stroji.
>>Všechny knihovny mám v poslední verzi a pokud vím ten kámoš taky. Dá se
>>tohle objevit nějak prakticky?
>>
>>Kámoš mi doporučil zkusit strace, ale neumím to interpretovat.
>>
>>    
>>
>>>Petr
>>>
>>>Fri, Dec 16, 2005 at 09:52:43AM +0100 - Lukáš Oliva:
>>> 
>>>
>>>      
>>>
>>>> Ahoj všem,
>>>>instaloval jsem si gmsh a mám zajímavý problém. Při jeho spuštění
>>>>dostávám sigsegv v práci, ale doma bez problémů jede. Poprosil jsem
>>>>kámoše se stejnou architekturou (i386) stejně jako já na unstable, aby
>>>>to zkusil instalovat a zorběhnout a jede mu to bez problémů (stejná
>>>>verze). Zkusil jsem i stáhnutí binárky ze stránek projektu se stejným
>>>>efektem.
>>>> Měli byste někdo nápad co s tím?
>>>>
>>>>
>>>>Dík Lukáš
>>>>   
>>>>
>>>>        
>>>>
>>>________________________________________________
>>>CZdebian-l maillist  -  CZdebian-l zavinac debian bod cz
>>>http://www.debian.cz/mailman/listinfo/czdebian-l
>>>E-mail (un)subscriptions: czdebian-l-request zavinac debian bod cz
>>>
>>> 
>>>
>>>      
>>>
valgrind -v gmsh
==32365== Memcheck, a memory error detector.
==32365== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al.
==32365== Using LibVEX rev 1471, a library for dynamic binary translation.
==32365== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP.
==32365== Using valgrind-3.1.0-Debian, a dynamic binary instrumentation
framework.
==32365== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al.
==32365==
--32365-- Command line
--32365--    gmsh
--32365-- Startup, with flags:
--32365--    --suppressions=/usr/lib/valgrind/debian-libc6-dbg.supp
--32365--    -v
--32365-- Contents of /proc/version:
--32365--   Linux version 2.6.12.6 (root zavinac pc-162) (gcc version 4.0.2
(Debian 4.0.2-2)) #1 Fri Oct 7 16:55:43 CEST 2005
--32365-- Arch and subarch: X86, x86-sse1
--32365-- Valgrind library directory: /usr/lib/valgrind
--32365-- Reading syms from /lib/ld-2.3.5.so (0x4000000)
--32365-- Reading debug info from /lib/ld-2.3.5.so...
--32365-- ... CRC mismatch (computed C73F2C26 wanted 73AAE445)
--32365--    object doesn't have a symbol table
--32365-- Reading syms from /usr/local/bin/gmsh (0x8048000)
--32365-- Reading syms from /usr/lib/valgrind/x86-linux/memcheck (0xA000000)
--32365--    object doesn't have a dynamic symbol table
--32365-- Reading suppressions file: /usr/lib/valgrind/debian-libc6-dbg.supp
--32365-- Reading suppressions file: /usr/lib/valgrind/default.supp
--32365-- Reading syms from
/usr/lib/valgrind/x86-linux/vgpreload_core.so (0x4017000)
--32365-- Reading syms from
/usr/lib/valgrind/x86-linux/vgpreload_memcheck.so (0x401A000)
--32365-- Reading syms from /usr/lib/libfltk_images.so.1.1 (0x4031000)
--32365-- Reading debug info from /usr/lib/libfltk_images.so.1.1...
--32365-- ... CRC mismatch (computed F3183E73 wanted 357AF627)
--32365-- Reading debug info from
/usr/lib/debug/usr/lib/libfltk_images.so.1.1...
--32365--    object doesn't have a symbol table
--32365-- Reading syms from /usr/lib/libpng12.so.0.1.2.8 (0x4040000)
--32365--    object doesn't have a symbol table
--32365-- Reading syms from /usr/lib/libz.so.1.2.3 (0x4065000)
--32365--    object doesn't have a symbol table
--32365-- Reading syms from /usr/lib/libjpeg.so.62.0.0 (0x4079000)
--32365--    object doesn't have a symbol table
--32365-- Reading syms from /usr/lib/libfltk_gl.so.1.1 (0x4097000)
--32365-- Reading debug info from /usr/lib/libfltk_gl.so.1.1...
--32365-- ... CRC mismatch (computed 4FE58C71 wanted 569C910D)
--32365-- Reading debug info from
/usr/lib/debug/usr/lib/libfltk_gl.so.1.1...
--32365--    object doesn't have a symbol table
--32365-- Reading syms from /usr/X11R6/lib/libGLU.so.1.3 (0x40A1000)
--32365--    object doesn't have a symbol table
--32365-- Reading syms from /usr/lib/libGL.so.1.0.7676 (0x411F000)
--32365--    object doesn't have a symbol table
--32365-- Reading syms from /usr/lib/libfltk.so.1.1 (0x419E000)
--32365-- Reading debug info from /usr/lib/libfltk.so.1.1...
--32365-- ... CRC mismatch (computed ADC6C650 wanted 6CE8B615)
--32365-- Reading debug info from /usr/lib/debug/usr/lib/libfltk.so.1.1...
--32365--    object doesn't have a symbol table
--32365-- Reading syms from /usr/lib/libXft.so.2.1.2 (0x4236000)
--32365--    object doesn't have a symbol table
--32365-- Reading syms from /lib/tls/libpthread-2.3.5.so (0x4249000)
--32365-- Reading debug info from /lib/tls/libpthread-2.3.5.so...
--32365-- ... CRC mismatch (computed 3D047589 wanted F5C1399A)
--32365-- DWARF2 CFI reader: unhandled CFI instruction 0:50
--32365-- DWARF2 CFI reader: unhandled CFI instruction 0:50
--32365-- Reading syms from /usr/X11R6/lib/libXext.so.6.4 (0x425B000)
--32365--    object doesn't have a symbol table
--32365-- Reading syms from /usr/X11R6/lib/libX11.so.6.2 (0x426A000)
--32365--    object doesn't have a symbol table
--32365-- Reading syms from /usr/lib/libstdc++.so.6.0.7 (0x4335000)
--32365-- Reading debug info from /usr/lib/libstdc++.so.6.0.7...
--32365-- ... CRC mismatch (computed 14DA1A04 wanted DD00004C)
--32365--    object doesn't have a symbol table
--32365-- Reading syms from /usr/lib/libgsl.so.0.8.0 (0x4414000)
--32365--    object doesn't have a symbol table
--32365-- Reading syms from /usr/lib/libgslcblas.so.0.0.0 (0x458A000)
--32365--    object doesn't have a symbol table
--32365-- Reading syms from /lib/tls/libm-2.3.5.so (0x45B9000)
--32365-- Reading debug info from /lib/tls/libm-2.3.5.so...
--32365-- ... CRC mismatch (computed DD597860 wanted E335A8CD)
--32365--    object doesn't have a symbol table
--32365-- Reading syms from /lib/libgcc_s.so.1 (0x45DE000)
--32365--    object doesn't have a symbol table
--32365-- Reading syms from /lib/tls/libc-2.3.5.so (0x45EA000)
--32365-- Reading debug info from /lib/tls/libc-2.3.5.so...
--32365-- ... CRC mismatch (computed 7E4F46A9 wanted 160C53FB)
--32365--    object doesn't have a symbol table
--32365-- DWARF2 CFI reader: unhandled CFI instruction 0:50
--32365-- DWARF2 CFI reader: unhandled CFI instruction 0:50
--32365-- Reading syms from /lib/tls/libdl-2.3.5.so (0x4721000)
--32365-- Reading debug info from /lib/tls/libdl-2.3.5.so...
--32365-- ... CRC mismatch (computed A2F88C09 wanted 199E8F23)
--32365--    object doesn't have a symbol table
--32365-- Reading syms from /usr/lib/libGLcore.so.1.0.7676 (0x4725000)
--32365--    object doesn't have a symbol table
--32365-- Reading syms from /usr/lib/nvidia/libnvidia-tls.so.1.0.7174
(0x4E8E000)
--32365--    object doesn't have a symbol table
--32365-- Reading syms from /usr/lib/libfontconfig.so.1.0.4 (0x4E90000)
--32365-- Reading debug info from /usr/lib/libfontconfig.so.1.0.4...
--32365-- ... CRC mismatch (computed CFB69E66 wanted AE870FAC)
--32365--    object doesn't have a symbol table
--32365-- Reading syms from /usr/lib/libfreetype.so.6.3.8 (0x4EC0000)
--32365--    object doesn't have a symbol table
--32365-- Reading syms from /usr/lib/libXrender.so.1.3.0 (0x4F2D000)
--32365--    object doesn't have a symbol table
--32365-- Reading syms from /usr/lib/libexpat.so.1.0.0 (0x4F35000)
--32365--    object doesn't have a symbol table
--32365-- REDIR: 0x4658D00 (memset) redirected to 0x401D260 (memset)
--32365-- REDIR: 0x46591E0 (memcpy) redirected to 0x401D370 (memcpy)
--32365-- REDIR: 0x46580D0 (rindex) redirected to 0x401CCB0 (rindex)
==32365==
==32365== Process terminating with default action of signal 11 (SIGSEGV)
==32365==  Bad permissions for mapped region at address 0x416FBB0
==32365==    at 0x4E8E31A: (within
/usr/lib/nvidia/libnvidia-tls.so.1.0.7174)
==32365==    by 0x400B28D: (within /lib/ld-2.3.5.so)
==32365==    by 0x40007FE: (within /lib/ld-2.3.5.so)
--32365-- REDIR: 0x4650A80 (free) redirected to 0x401BEBA (free)
==32365==
==32365== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 63 from 1)
--32365--
--32365-- supp:   63 Debian libc6 2.3.5 stripped dynamic linker
==32365== malloc/free: in use at exit: 0 bytes in 0 blocks.
==32365== malloc/free: 0 allocs, 0 frees, 0 bytes allocated.
==32365==
==32365== No malloc'd blocks -- no leaks are possible.
--32365--  memcheck: sanity checks: 42 cheap, 2 expensive
--32365--  memcheck: auxmaps: 0 auxmap entries (0k, 0M) in use
--32365--  memcheck: auxmaps: 0 searches, 0 comparisons
--32365--  memcheck: secondaries: 144 issued (9216k, 9M)
--32365--  memcheck: secondaries: 167 accessible and distinguished
(10688k, 10M)--32365--     tt/tc: 3,724 tt lookups requiring 3,735 probes
--32365--     tt/tc: 3,724 fast-cache updates, 2 flushes
--32365-- translate: new        1,861 (38,746 -> 629,046; ratio 162:10)
[0 scs]
--32365-- translate: dumped     0 (0 -> ??)
--32365-- translate: discarded  0 (0 -> ??)
--32365-- scheduler: 2,140,726 jumps (bb entries).
--32365-- scheduler: 42/2,192 major/minor sched events.
--32365--    sanity: 43 cheap, 2 expensive checks.
--32365--    exectx: 30,011 lists, 8 contexts (avg 0 per list)
--32365--    exectx: 63 searches, 55 full compares (873 per 1000)
--32365--    exectx: 0 cmp2, 153 cmp4, 0 cmpAll
Neoprávněný přístup do paměti (SIGSEGV)



Partial thread listing: