Help - Search - Members - Calendar
Full Version: segfault on startup
Skype Community > English > Linux
andreas_baumann_
CODE


shell> skype

Segmentation fault

shell> file core.22954

core.22954: ELF 32-bit LSB core file Intel 80386, version 1 (SYSV), SVR4-style, SVR4-style, from 'skype'

shell> gdb /usr/local/bin/skype core.22954

GNU gdb 6.3

Copyright 2004 Free Software Foundation, Inc.

GDB is free software, covered by the GNU General Public License, and you are

welcome to change it and/or distribute copies of it under certain conditions.

Type "show copying" to see the conditions.

There is absolutely no warranty for GDB. Type "show warranty" for details.

This GDB was configured as "i686-pc-linux-gnu"...(no debugging symbols found)

Using host libthread_db library "/lib/libthread_db.so.1".



Core was generated by `/usr/local/skype/skype'.

Program terminated with signal 11, Segmentation fault.

Reading symbols from /usr/KDE/lib/libartsdsp.so.0...done.

Loaded symbols for /usr/KDE/lib/libartsdsp.so.0

Reading symbols from /usr/KDE/lib/libartsc.so.0...done.

Loaded symbols for /usr/KDE/lib/libartsc.so.0

Reading symbols from /lib/libdl.so.2...done.

Loaded symbols for /lib/libdl.so.2

Reading symbols from /usr/lib/qt-3.3/lib/libqt-mt.so.3...done.

Loaded symbols for /usr/lib/qt-3.3/lib/libqt-mt.so.3

Reading symbols from /usr/X11R6/lib/libXext.so.6...done.

Loaded symbols for /usr/X11R6/lib/libXext.so.6

Reading symbols from /usr/X11R6/lib/libX11.so.6...done.

Loaded symbols for /usr/X11R6/lib/libX11.so.6

Reading symbols from /lib/libpthread.so.0...done.

Loaded symbols for /lib/libpthread.so.0

Reading symbols from /usr/lib/libstdc++.so.5...done.

Loaded symbols for /usr/lib/libstdc++.so.5

Reading symbols from /lib/libm.so.6...done.

Loaded symbols for /lib/libm.so.6

Reading symbols from /lib/libgcc_s.so.1...done.

Loaded symbols for /lib/libgcc_s.so.1

Reading symbols from /lib/libc.so.6...done.

Loaded symbols for /lib/libc.so.6

Reading symbols from /lib/ld-linux.so.2...done.

Loaded symbols for /lib/ld-linux.so.2

Reading symbols from /usr/lib/libpng.so.3...done.

Loaded symbols for /usr/lib/libpng.so.3

Reading symbols from /lib/libz.so.1...done.

Loaded symbols for /lib/libz.so.1

Reading symbols from /usr/X11R6/lib/libGL.so.1...done.

Loaded symbols for /usr/X11R6/lib/libGL.so.1

Reading symbols from /usr/X11R6/lib/libXmu.so.6...done.

Loaded symbols for /usr/X11R6/lib/libXmu.so.6

Reading symbols from /usr/X11R6/lib/libXrender.so.1...done.

Loaded symbols for /usr/X11R6/lib/libXrender.so.1

Reading symbols from /usr/X11R6/lib/libXrandr.so.2...done.

Loaded symbols for /usr/X11R6/lib/libXrandr.so.2

Reading symbols from /usr/X11R6/lib/libXcursor.so.1...done.

Loaded symbols for /usr/X11R6/lib/libXcursor.so.1

Reading symbols from /usr/X11R6/lib/libXinerama.so.1...done.

Loaded symbols for /usr/X11R6/lib/libXinerama.so.1

Reading symbols from /usr/X11R6/lib/libXft.so.2...done.

Loaded symbols for /usr/X11R6/lib/libXft.so.2

Reading symbols from /usr/lib/libfreetype.so.6...done.

Loaded symbols for /usr/lib/libfreetype.so.6

Reading symbols from /usr/lib/libfontconfig.so.1...done.

Loaded symbols for /usr/lib/libfontconfig.so.1

Reading symbols from /usr/X11R6/lib/libSM.so.6...done.

Loaded symbols for /usr/X11R6/lib/libSM.so.6

Reading symbols from /usr/X11R6/lib/libICE.so.6...done.

Loaded symbols for /usr/X11R6/lib/libICE.so.6

Reading symbols from /usr/X11R6/lib/libXxf86vm.so.1...done.

Loaded symbols for /usr/X11R6/lib/libXxf86vm.so.1

Reading symbols from /usr/X11R6/lib/libXt.so.6...done.

Loaded symbols for /usr/X11R6/lib/libXt.so.6

Reading symbols from /usr/lib/libexpat.so.0...done.

Loaded symbols for /usr/lib/libexpat.so.0

Reading symbols from /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2...done.

Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2

Reading symbols from /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2...done.

Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2

Reading symbols from /usr/KDE/lib/kde3/plugins/styles/keramik.so...done.

Loaded symbols for /usr/KDE/lib/kde3/plugins/styles/keramik.so

Reading symbols from /usr/KDE/lib/libkdefx.so.4...done.

Loaded symbols for /usr/KDE/lib/libkdefx.so.4

Reading symbols from /usr/lib/qt-3.3/plugins/imageformats/libqjpeg.so...done.

Loaded symbols for /usr/lib/qt-3.3/plugins/imageformats/libqjpeg.so

Reading symbols from /usr/lib/libjpeg.so.62...done.

Loaded symbols for /usr/lib/libjpeg.so.62

Reading symbols from /usr/X11R6/lib/libGLU.so.1...done.

Loaded symbols for /usr/X11R6/lib/libGLU.so.1

Reading symbols from /usr/lib/qt-3.3/plugins/imageformats/libqmng.so...done.

Loaded symbols for /usr/lib/qt-3.3/plugins/imageformats/libqmng.so

Reading symbols from /usr/lib/libmng.so.1...done.

Loaded symbols for /usr/lib/libmng.so.1

Reading symbols from /usr/lib/liblcms.so.1...done.

Loaded symbols for /usr/lib/liblcms.so.1

Reading symbols from /lib/libnss_compat.so.2...done.

Loaded symbols for /lib/libnss_compat.so.2

Reading symbols from /lib/libnsl.so.1...done.

Loaded symbols for /lib/libnsl.so.1

Reading symbols from /lib/libnss_nisplus.so.2...done.

Loaded symbols for /lib/libnss_nisplus.so.2

#0 0x00911843 in __pthread_sigsuspend (set=0x9171b0)

at ../linuxthreads/sysdeps/unix/sysv/linux/pt-sigsuspend.c:44

44 ../linuxthreads/sysdeps/unix/sysv/linux/pt-sigsuspend.c: No such file or directory.

in ../linuxthreads/sysdeps/unix/sysv/linux/pt-sigsuspend.c

(gdb) bt

#0 0x00911843 in __pthread_sigsuspend (set=0x9171b0)

at ../linuxthreads/sysdeps/unix/sysv/linux/pt-sigsuspend.c:44

#1 0x00911348 in __pthread_wait_for_restart_signal (self=0xbf3ffbe0)

at pthread.c:1203

#2 0x0090de78 in __pthread_cond_wait (cond=0x0, mutex=0x8959208)

at restart.h:36

#3 0x081f3130 in QListView::removeItem ()

#4 0x082269c9 in QListView::removeItem ()

#5 0x081f21de in QListView::removeItem ()

#6 0x0090ede4 in pthread_start_thread (arg=0xbf3ffbe0) at manager.c:309

#7 0x00b198ca in clone () from /lib/libc.so.6

(gdb)



Happened with version 1.1.0.13 (tried dynamic and static Qt tarfiles).
berkus_
[quote=andreas_baumann][code]
shell> skype
Segmentation fault
Happened with version 1.1.0.13 (tried dynamic and static Qt tarfiles).[/quote]

This is strange. Can you elaborate on your hardware configuration?
andreas_baumann_
There is also a kernel Oups when Skype is segfaulting:
[quote]
Jun 1 16:01:06 hyakutake Unable to handle kernel NULL pointer dereference at virtual address 00000001
Jun 1 16:01:06 hyakutake printing eip:
Jun 1 16:01:06 hyakutake c01380b8
Jun 1 16:01:06 hyakutake *pde = 30ad7067
Jun 1 16:01:06 hyakutake *pte = 00000000
Jun 1 16:01:06 hyakutake Oops: 0000
Jun 1 16:01:06 hyakutake CPU: 0
Jun 1 16:01:06 hyakutake EIP: 0010:[<c01380b8>] Not tainted
Jun 1 16:01:06 hyakutake EFLAGS: 00210002
Jun 1 16:01:06 hyakutake eax: 00000000 ebx: 00000001 ecx: 20202020 edx: c1000020
Jun 1 16:01:06 hyakutake esi: c22060b0 edi: 00200202 ebp: 20202020 esp: f68adf40
Jun 1 16:01:06 hyakutake ds: 0018 es: 0018 ss: 0018
Jun 1 16:01:06 hyakutake Process skype (pid: 29233, stackpage=f68ad000)
Jun 1 16:01:06 hyakutake Stack: c0544f20 c053dc04 000000e0 20202020 00000000 d7620a00 00000001 c016091f
Jun 1 16:01:06 hyakutake 20202020 00000001 00000000 d7620a18 00000000 00000003 00000022 00000000
Jun 1 16:01:06 hyakutake 00000000 00000000 f5b85200 ffffffea 00001000 c0142b03 f5b85200 0074d000
Jun 1 16:01:06 hyakutake Call Trace: [<c016091f>] [<c0142b03>] [<c014ba09>] [<c01071db>]
Jun 1 16:01:06 hyakutake
Jun 1 16:01:06 hyakutake Code: 8b 13 3b 53 04 73 18 89 4c 93 08 ff 03 57 9d 8b 5c 24 10 8b
[/quote]

Maybe the code is sensitive to the existince of the sound devices and
that the functions actually return something. Maybe a function like
[quote]
int soundDevice = open_sound_device( ... )
[/quote]
has soundDevice == NULL, which is then passed to the kernel in the
next function.

Maybe ALSA sound devices are not installed really properly on the
Linux I am using.

CODE


shell> aplay /usr/KDE/share/sounds/KDE_Error.wav

ALSA lib confmisc.c:550:(snd_determine_driver) could not open control for card 0

ALSA lib conf.c:3463:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory

ALSA lib confmisc.c:387:(snd_func_concat) error evaluating strings

ALSA lib conf.c:3463:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory

ALSA lib confmisc.c:945:(snd_func_refer) error evaluating name

ALSA lib conf.c:3463:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory

ALSA lib conf.c:3932:(snd_config_expand) Evaluate error: No such file or directory

ALSA lib pcm.c:2068:(snd_pcm_open_noupdate) Unknown PCM default

aplay: main:508: audio open error: No such file or directory



I hope this helps. I don't think it has something todo with the hardware
itself...

Many thanks in advance...
berkus_
[quote=andreas_baumann]
Maybe ALSA sound devices are not installed really properly on the
Linux I am using.

CODE


shell> aplay /usr/KDE/share/sounds/KDE_Error.wav

ALSA lib confmisc.c:550:(snd_determine_driver) could not open control for card 0

ALSA lib conf.c:3463:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory

ALSA lib confmisc.c:387:(snd_func_concat) error evaluating strings

ALSA lib conf.c:3463:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory

ALSA lib confmisc.c:945:(snd_func_refer) error evaluating name

ALSA lib conf.c:3463:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory

ALSA lib conf.c:3932:(snd_config_expand) Evaluate error: No such file or directory

ALSA lib pcm.c:2068:(snd_pcm_open_noupdate) Unknown PCM default

aplay: main:508: audio open error: No such file or directory


[/quote]

Mind you, skype does not have a native alsa driver (see the sticky posts on top of Skype for Linux forum for a Sound FAQ).
And there's apparently something weird going on with your audio device, please consult your distribution local support/ml/irc first.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.