lt-vlc-cache-gen segfault on AMD CPU (Build on Ubuntu 14.04
when building my disto on AMD 64 (there is no bug on Intel Core i3), lt-vlc-cache-gen segfaults
here is the bt :
(gdb) run ../modules
Starting program: /home/yann/dibab/src/vlc-2.1.5/bin/.libs/lt-vlc-cache-gen ../modules
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
__strcmp_sse2 () at ../sysdeps/x86_64/multiarch/../strcmp.S:209
209 ../sysdeps/x86_64/multiarch/../strcmp.S: Aucun fichier ou dossier de ce type.
(gdb)
(gdb) bt
[#0](https://code.videolan.org/videolan/vlc/-/issues/0) __strcmp_sse2 () at ../sysdeps/x86_64/multiarch/../strcmp.S:209
[#1](https://code.videolan.org/videolan/vlc/-/issues/1) 0x00007ffff29e71f9 in g_str_equal (v1=<optimized out>, v2=<optimized out>) at ghash.c:1776
[#2](https://code.videolan.org/videolan/vlc/-/issues/2) 0x00007ffff29e6820 in g_hash_table_lookup_node (hash_return=<synthetic pointer>, key=0x7fffef809a1c, hash_table=0x676c00) at ghash.c:389
[#3](https://code.videolan.org/videolan/vlc/-/issues/3) g_hash_table_lookup (hash_table=0x676c00, key=key@entry=0x7fffef809a1c) at ghash.c:1092
[#4](https://code.videolan.org/videolan/vlc/-/issues/4) 0x00007ffff2a06370 in quark_from_string (duplicate=0, string=0x7fffef809a1c "-g-type-private--GTypeFlags") at gquark.c:173
[#5](https://code.videolan.org/videolan/vlc/-/issues/5) g_quark_from_static_string (string=string@entry=0x7fffef809a1c "-g-type-private--GTypeFlags") at gquark.c:237
[#6](https://code.videolan.org/videolan/vlc/-/issues/6) 0x00007fffef7d302c in gobject_init_ctor () at gtype.c:4336
[#7](https://code.videolan.org/videolan/vlc/-/issues/7) 0x00007ffff7dea13a in call_init (l=<optimized out>, argc=argc@entry=2, argv=argv@entry=0x7fffffffe5a8, env=env@entry=0x603010) at dl-init.c:78
[#8](https://code.videolan.org/videolan/vlc/-/issues/8) 0x00007ffff7dea223 in call_init (env=<optimized out>, argv=<optimized out>, argc=<optimized out>, l=<optimized out>) at dl-init.c:36
[#9](https://code.videolan.org/videolan/vlc/-/issues/9) _dl_init (main_map=main_map@entry=0x70e970, argc=2, argv=0x7fffffffe5a8, env=0x603010) at dl-init.c:126
[#10](https://code.videolan.org/videolan/vlc/-/issues/10) 0x00007ffff7deec70 in dl_open_worker (a=a@entry=0x7fffffffdc98) at dl-open.c:577
[#11](https://code.videolan.org/videolan/vlc/-/issues/11) 0x00007ffff7de9ff4 in _dl_catch_error (objname=objname@entry=0x7fffffffdc88, errstring=errstring@entry=0x7fffffffdc90, mallocedp=mallocedp@entry=0x7fffffffdc80,
operate=operate@entry=0x7ffff7dee9a0 <dl_open_worker>, args=args@entry=0x7fffffffdc98) at dl-error.c:187
[#12](https://code.videolan.org/videolan/vlc/-/issues/12) 0x00007ffff7dee3bb in _dl_open (file=0x70f4b0 "../modules/notify/.libs/libnotify_plugin.so", mode=-2147483647, caller_dlopen=<optimized out>, nsid=-2, argc=2, argv=0x7fffffffe5a8,
env=0x603010) at dl-open.c:661
[#13](https://code.videolan.org/videolan/vlc/-/issues/13) 0x00007ffff6cb602b in dlopen_doit (a=a@entry=0x7fffffffdeb0) at dlopen.c:66
[#14](https://code.videolan.org/videolan/vlc/-/issues/14) 0x00007ffff7de9ff4 in _dl_catch_error (objname=0x617ed0, errstring=0x617ed8, mallocedp=0x617ec8, operate=0x7ffff6cb5fd0 <dlopen_doit>, args=0x7fffffffdeb0) at dl-error.c:187
[#15](https://code.videolan.org/videolan/vlc/-/issues/15) 0x00007ffff6cb662d in _dlerror_run (operate=operate@entry=0x7ffff6cb5fd0 <dlopen_doit>, args=args@entry=0x7fffffffdeb0) at dlerror.c:163
[#16](https://code.videolan.org/videolan/vlc/-/issues/16) 0x00007ffff6cb60c1 in __dlopen (file=<optimized out>, mode=<optimized out>) at dlopen.c:87
[#17](https://code.videolan.org/videolan/vlc/-/issues/17) 0x00007ffff75a4fff in module_Load () from /home/yann/dibab/src/vlc-2.1.5/src/.libs/libvlccore.so.7
[#18](https://code.videolan.org/videolan/vlc/-/issues/18) 0x00007ffff758e79d in module_InitDynamic () from /home/yann/dibab/src/vlc-2.1.5/src/.libs/libvlccore.so.7
[#19](https://code.videolan.org/videolan/vlc/-/issues/19) 0x00007ffff758ea97 in AllocatePluginDir () from /home/yann/dibab/src/vlc-2.1.5/src/.libs/libvlccore.so.7
[#20](https://code.videolan.org/videolan/vlc/-/issues/20) 0x00007ffff758ed09 in AllocatePluginDir () from /home/yann/dibab/src/vlc-2.1.5/src/.libs/libvlccore.so.7
[#21](https://code.videolan.org/videolan/vlc/-/issues/21) 0x00007ffff758ed09 in AllocatePluginDir () from /home/yann/dibab/src/vlc-2.1.5/src/.libs/libvlccore.so.7
[#22](https://code.videolan.org/videolan/vlc/-/issues/22) 0x00007ffff758ef74 in AllocatePluginPath () from /home/yann/dibab/src/vlc-2.1.5/src/.libs/libvlccore.so.7
[#23](https://code.videolan.org/videolan/vlc/-/issues/23) 0x00007ffff758f57b in module_LoadPlugins () from /home/yann/dibab/src/vlc-2.1.5/src/.libs/libvlccore.so.7
[#24](https://code.videolan.org/videolan/vlc/-/issues/24) 0x00007ffff7526e8d in libvlc_InternalInit () from /home/yann/dibab/src/vlc-2.1.5/src/.libs/libvlccore.so.7
[#25](https://code.videolan.org/videolan/vlc/-/issues/25) 0x00007ffff7bc62d3 in libvlc_new () from /home/yann/dibab/src/vlc-2.1.5/lib/.libs/libvlc.so.5
[#26](https://code.videolan.org/videolan/vlc/-/issues/26) 0x000000000040091e in main ()
(gdb)
CPUINFO :
yann@yann-M720-US3:~/dibab/src/vlc-2.1.5/bin$ cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 16
model : 6
model name : AMD Athlon(tm) II X2 240 Processor
stepping : 2
microcode : 0x1000098
cpu MHz : 2800.000
cache size : 1024 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt hw_pstate npt lbrv svm_lock nrip_save
bogomips : 5600.31
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate
processor : 1
vendor_id : AuthenticAMD
cpu family : 16
model : 6
model name : AMD Athlon(tm) II X2 240 Processor
stepping : 2
microcode : 0x1000098
cpu MHz : 800.000
cache size : 1024 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
apicid : 1
initial apicid : 1
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt hw_pstate npt lbrv svm_lock nrip_save
bogomips : 5600.31
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate