|
From: | zouhair Soussi |
Subject: | Re: [Linphone-users] linphone-1.0.0pre5 crash on start ! |
Date: | Sat, 18 Dec 2004 15:01:53 +0100 |
hi, Thanx Samuel Mimram :) but, same problem with your patch ):
From: Samuel Mimram <address@hidden> To: zouhair Soussi <address@hidden> CC: address@hidden Subject: Re: [Linphone-users] linphone-1.0.0pre5 crash on start ! Date: Sat, 18 Dec 2004 10:54:51 +0100 Hello,I have already faced this bug while packaging linphone for debian. Here is my patch. I hope it will work for you.Cheers, Samuel. zouhair Soussi wrote:address@hidden:~$ gdb /usr/local/bin/linphone GNU gdb 6.1.1 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 "i486-slackware-linux"...(no debugging symbols found)...U sing host libthread_db library "/lib/libthread_db.so.1".(gdb) handle SIGPIPE nostop Signal Stop Print Pass to program Description SIGPIPE No Yes Yes Broken pipe (gdb) run Starting program: /usr/local/bin/linphone(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...[Thread debugging using libthread_db enabled][New Thread 16384 (LWP 13458)](no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols foun d)...(no debugging symbols found)...(no debugging symbols found)...(no debugging sym bols found)...(no debugging symbols found)...(no debugging symbols found)...(no debu gging symbols found)...(no debugging symbols found)...(no debugging symbols found).. .(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debuggin g symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols fou nd)...(no debugging symbols found)...(no debugging symbols found)...(no debugging sy mbols found)...(no debugging symbols found)...(no debugging symbols found)...(no deb ugging symbols found)...(no debugging symbols found)...(no debugging symbols found). ..(no debugging symbols found)...(no debugging symbols found)...(no debugging symbol s found)...(no debugging symbols found)...(no debugging symbols found)...(no debuggi ng symbols found)...(no debugging symbols found)...(no debugging symbols found)...(n o debugging symbols found)...(no debugging symbols found)...(no debugging symbols fo
und)...(no debugging symbols found)...(no debugging symbols found)...(no debugging s ymbols found)...(no debugging symbols found)...(no debugging symbols found)...(no de bugging symbols found)...(no debugging symbols found)...(no debugging symbols found) ...MediaStreamer-Message: Found /dev/dsp.MediaStreamer-Message: Found ALSA device: VIA 8235LinphoneCore-Message: Choosing alsa device /dev/dsp (Open Sound System) by default.[New Thread 32769 (LWP 13462)] [New Thread 16386 (LWP 13463)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 16384 (LWP 13458)] 0x409cf984 in strcmp () from /lib/libc.so.6 (gdb) bt #0 0x409cf984 in strcmp () from /lib/libc.so.6#1 0x40926480 in ms_audio_codec_info_get () from /usr/local/lib/liblinphone.so.1#2 0x4091e716 in linphone_core_setup_local_rtp_profile () from /usr/local/lib/liblinphone.so.1#3 0x4091a920 in codecs_config_read () from /usr/local/lib/liblinphone.so.1 #4 0x4091ac6c in linphone_core_init () from /usr/local/lib/liblinphone.so.1#5 0x0805062b in linphone_gnome_init () #6 0x0804fe65 in main () (gdb) quit The program is running. Exit anyway? (y or n) y thanx for answer :)From: Simon Morlat <address@hidden> To: address@hidden CC: "zouhair Soussi" <address@hidden> Subject: Re: [Linphone-users] linphone-1.0.0pre5 crash on start ! Date: Fri, 17 Dec 2004 14:52:28 +0100 Hello, Can you execute it from gdb ? Thanks Simon Le Jeudi 9 Décembre 2004 20:21, zouhair Soussi a écrit : > hi, > > linphone-1.0.0pre4, linphone-1.0.0pre5 build ok, crash on start up ! > this bug, is not fixed ? > > Crash message: > "L'application « linphone » a quitté inopinément.> Vous pouvez informer les développeurs de ce qui vient d'arriver pour les> aider à résoudre le problème. Ou vous pouvez redémarrer l'application > maintenant." > > :~$ /usr/local/bin/linphone > > MediaStreamer-Message: Found /dev/dsp. > MediaStreamer-Message: Found ALSA device: VIA 8235> LinphoneCore-Message: Choosing alsa device /dev/dsp (Open Sound System) by> default. >> | INFO1 | <eXosip.c: 273> eXosip: Reseting timer to 15s before waking up!> > is buil with: gcc-3.3.4 > sound driver: alsa-1.0.6 > gtk :gtk+2-2.4.10 > gnome :libgnome-2.6.1.1 > > Simon Morlat, any idea ? > > thanx. > > _________________________________________________________________ > MSN Messenger : dialoguez en temps réel avec vos amis ! > http://g.msn.fr/FR1001/866 > > > > _______________________________________________ > Linphone-users mailing list > address@hidden > http://lists.nongnu.org/mailman/listinfo/linphone-users_________________________________________________________________MSN Messenger : dialoguez en temps réel avec vos amis ! http://g.msn.fr/FR1001/866_______________________________________________ Linphone-users mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/linphone-users#! /bin/sh /usr/share/dpatch/dpatch-run ## mscodec_null_name.dpatch by Samuel Mimram <address@hidden> ## ## All lines beginning with `## DP:' are a description of the patch.## DP: Check if the name arguments are NULL (if it's the case, we should return NULL).@DPATCH@diff -urNad linphone-1.0.0pre4/mediastreamer/mscodec.c /tmp/dpep.w47mIR/linphone-1.0.0pre4/mediastreamer/mscodec.c --- linphone-1.0.0pre4/mediastreamer/mscodec.c 2003-06-08 08:17:54.000000000 +0200 +++ /tmp/dpep.w47mIR/linphone-1.0.0pre4/mediastreamer/mscodec.c 2004-10-31 16:51:30.000000000 +0100@@ -69,7 +69,7 @@ { GList *elem=filter_list; MSFilterInfo *info; - while (elem!=NULL) + while (elem!=NULL && name!=NULL) { info=(MSFilterInfo *)elem->data; if ( (info->type==MS_FILTER_AUDIO_CODEC) ){ @@ -87,7 +87,7 @@ { GList *elem=filter_list; MSFilterInfo *info; - while (elem!=NULL) + while (elem!=NULL && name!=NULL) { info=(MSFilterInfo *)elem->data; if ( (info->type==MS_FILTER_VIDEO_CODEC) ){ @@ -122,7 +122,7 @@ { GList *elem=filter_list; MSFilterInfo *info; - while (elem!=NULL) + while (elem!=NULL && name!=NULL) { info=(MSFilterInfo *)elem->data;if ((info->type==MS_FILTER_AUDIO_CODEC) || (info->type==MS_FILTER_VIDEO_CODEC)){@@ -140,7 +140,7 @@ { GList *elem=filter_list; MSFilterInfo *info; - while (elem!=NULL) + while (elem!=NULL && name!=NULL) { info=(MSFilterInfo *)elem->data;if ((info->type==MS_FILTER_AUDIO_CODEC) || (info->type==MS_FILTER_VIDEO_CODEC)){
_________________________________________________________________Nouveau MSN Hotmail : choisissez votre adresse @hotmail.fr ! http://www.msn.fr/newmsnhotmail
mscodec.c
Description: Binary data
[Prev in Thread] | Current Thread | [Next in Thread] |