Bug#694101: [Linphone-developers] Fwd: Bug#694101: linphone/3.5.2 immediate segfault without config file

2012-11-27 Thread Guillaume Beraudo
Hi Tomas,

> > Applying the commit referenced in this thread fix compilation errors and
> > fix the segfault: f586917ea4d66f9ba8910f0967a8830e54d50784
> >
> https://lists.gnu.org/archive/html/linphone-developers/2012-06/msg00021.html
> > 
> > I am puzzled and wonder how this could land in Wheezy.
> 
> Thanks a lot Guillame - did you test with the deb-multimedia libav*
> packages, or purely with the ones from Debian?

I am also using the libav from deb-multimedia and tested with it.

Anyway, I fear that most users are using this unofficial repository.

Guillaume


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#694101: [Linphone-developers] Fwd: Bug#694101: linphone/3.5.2 immediate segfault without config file

2012-11-27 Thread Tomas Pospisek
On Mon, 26 Nov 2012 16:36:19 +0100, Guillaume Beraudo wrote:

> I was able to reproduce the segfault by unloading the driver for my
camera.
> 
> Applying the commit referenced in this thread fix compilation errors and
> fix the segfault: f586917ea4d66f9ba8910f0967a8830e54d50784
>
https://lists.gnu.org/archive/html/linphone-developers/2012-06/msg00021.html
> 
> I am puzzled and wonder how this could land in Wheezy.

Thanks a lot Guillame - did you test with the deb-multimedia libav*
packages, or purely with the ones from Debian?
*t


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#694101: [Linphone-developers] Fwd: Bug#694101: linphone/3.5.2 immediate segfault without config file

2012-11-27 Thread Mark Purcell
On Tue, 27 Nov 2012 02:36:19 Guillaume Beraudo wrote:
> I am puzzled and wonder how this could land in Wheezy.

Guillaume,

We can still get major issue  (segfault) fixes included into the wheezy 
release.

I just need to confirm that this is not a consequence of using the dmo library 
packages.

Mark


signature.asc
Description: This is a digitally signed message part.


Bug#694101: [Linphone-developers] Fwd: Bug#694101: linphone/3.5.2 immediate segfault without config file

2012-11-27 Thread Mark Purcell
On Mon, 26 Nov 2012 21:45:39 Tomas Pospisek wrote:
> Seeing that it segfaults in libavutil it needs to be said,
> that I'm using Christian Marillat's libavutil from
> deb-multimedia.org

Tomas,

Please don't report segfaults with deb-multimedia packages, they are 
unsupported by Debian and in fact were not used to build the linphone package.

We have seen lots of segfaults in different packages by mixing and matching 
libraries from difference repos.

Can I ask you to install the libavutil from wheezy and report if you are still 
having this issue.

Mark


signature.asc
Description: This is a digitally signed message part.


Bug#694101: [Linphone-developers] Fwd: Bug#694101: linphone/3.5.2 immediate segfault without config file

2012-11-26 Thread Guillaume Beraudo
Hi Tomas,

I was able to reproduce the segfault by unloading the driver for my camera.

Applying the commit referenced in this thread fix compilation errors and
fix the segfault: f586917ea4d66f9ba8910f0967a8830e54d50784
https://lists.gnu.org/archive/html/linphone-developers/2012-06/msg00021.html

I am puzzled and wonder how this could land in Wheezy.


Guillaume


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#694101: [Linphone-developers] Fwd: Bug#694101: linphone/3.5.2 immediate segfault without config file

2012-11-26 Thread Tomas Pospisek
On Mon, 26 Nov 2012 11:43:06 +0100, Guillaume Beraudo
 wrote:
> Hi,
> 
>> I've installed the linphone-dbg package and started linphone through
>> gdb. The only additional info I get is this:
>> 
>>   Program received signal SIGSEGV, Segmentation fault.
>>   0x71d5b1f5 in av_log () from
>>   /usr/lib/x86_64-linux-gnu/libavutil.so.51
>> 
>> Seeing that it segfaults in libavutil it needs to be said, that I'm
>> using Christian Marillat's libavutil from deb-multimedia.org.
>> deb-multimedia.org/wheezy is in my apt sources, so whatever is
>> present there overrides Debian's own packages and gets installed
>> instead.
>> 
>> What I did next is to step through linphone in gdb. I can get to
>> line 1765 in main.c (the line number is what gdb is showing me). If
>> I say "step" at that line, the program segfaults.
>> *t
> 
> Is it the gtk_main() call?
> 
> Could you type "bt" in gdb after a segfault?

(gdb) bt
#0  0x71d5b1f5 in av_log () from
/usr/lib/x86_64-linux-gnu/libavutil.so.51
#1  0x722ba92e in ?? () from
/usr/lib/x86_64-linux-gnu/libavcodec.so.53
#2  0x723f0920 in avcodec_decode_video2 () from
/usr/lib/x86_64-linux-gnu/libavcodec.so.53
#3  0x77998b25 in jpeg2yuv (jpgbuf=jpgbuf@entry=0x7fffdc01a710
"\377\330\377", , bufsize=14247, 
reqsize=reqsize@entry=0x7fffdc004390) at nowebcam.c:80
#4  0x77998deb in ms_load_jpeg_as_yuv (jpgpath=0x7fffdc0043c0
"/usr/share/images/nowebcamCIF.jpg", reqsize=reqsize@entry=0x7fffdc004390)
at nowebcam.c:1751
#5  0x77998edc in static_image_preprocess (f=) at
nowebcam.c:1835
#6  0x7797558c in ms_ticker_attach (ticker=0x7fffdc003c40,
f=) at msticker.c:136
#7  0x7799a839 in video_preview_start (stream=0x7e97f0,
device=) at videostream.c:705
#8  0x777293b5 in toggle_video_preview (lc=lc@entry=0x7a65b0,
val=) at linphonecore.c:3318
#9  0x7772dccc in linphone_core_iterate (lc=0x7a65b0) at
linphonecore.c:1801
#10 0x00415340 in linphone_gtk_iterate (lc=) at
main.c:507
#11 linphone_gtk_iterate (lc=0x7a65b0) at main.c:497
#12 0x74d20eeb in ?? () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x74d20355 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x74d20688 in ?? () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x74d20a82 in g_main_loop_run () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x7720b797 in gtk_main () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#17 0x00412c85 in main (argc=1, argv=0x7fffe308) at
main.c:1765

> Could you also try running linphone in valgrind?

$ valgrind linphone
==28105== Memcheck, a memory error detector
==28105== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
==28105== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright
info
==28105== Command: linphone
==28105== 
ALSA lib conf.c:4687:(snd_config_expand) Unknown parameters 0
ALSA lib control.c:951:(snd_ctl_open_noupdate) Invalid CTL default:0
ALSA lib conf.c:4687:(snd_config_expand) Unknown parameters 1
ALSA lib control.c:951:(snd_ctl_open_noupdate) Invalid CTL default:1
==28110== Warning: invalid file descriptor 1024 in syscall close()
==28110== 
==28110== HEAP SUMMARY:
==28110== in use at exit: 1,369,122 bytes in 13,974 blocks
==28110==   total heap usage: 41,206 allocs, 27,232 frees, 3,825,855 bytes
allocated
==28110== 
==28110== LEAK SUMMARY:
==28110==definitely lost: 4,624 bytes in 9 blocks
==28110==indirectly lost: 10,288 bytes in 320 blocks
==28110==  possibly lost: 527,728 bytes in 7,594 blocks
==28110==still reachable: 826,482 bytes in 6,051 blocks
==28110== suppressed: 0 bytes in 0 blocks
==28110== Rerun with --leak-check=full to see details of leaked memory
==28110== 
  
 
==28110== For counts of detected and suppressed errors, rerun with: -v
==28110== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 16 from 9)
[NULL @ 0x7fefff760] Value 4686111960511545344.00 for parameter 'b'
out of range
[NULL @ 0x7fefff760] Value 4683532506232782848.00 for parameter 'ab'
out of range
[NULL @ 0x7fefff760] Value 4705844345939427328.00 for parameter 'bt'
out of range
[NULL @ 0x7fefff760] Value 4617315517961601024.00 for parameter
'me_method' out of range
[NULL @ 0x7fefff760] Value 4622945017495814144.00 for parameter 'g'
out of range
[NULL @ 0x7fefff760] Value 4611686018427387904.00 for parameter 'qmin'
out of range
[NULL @ 0x7fefff760] Value 4629418941960159232.00 for parameter 'qmax'
out of range
[NULL @ 0x7fefff760] Value 4613937818241073152.00 for parameter
'qdiff' out of range
[NULL @ 0x7fefff760] Value -4616189618054758400.00 for parameter
'wpredp' out of range
[NULL @ 0x7fefff760] Value 4607182418800017408.00 for parameter 'bug'
out of range
[NULL @ 0x7fefff760] Value 460718241880

Bug#694101: [Linphone-developers] Fwd: Bug#694101: linphone/3.5.2 immediate segfault without config file

2012-11-26 Thread Guillaume Beraudo
Hi,

> I've installed the linphone-dbg package and started linphone through
> gdb. The only additional info I get is this:
> 
>   Program received signal SIGSEGV, Segmentation fault.
>   0x71d5b1f5 in av_log () from 
> /usr/lib/x86_64-linux-gnu/libavutil.so.51
> 
> Seeing that it segfaults in libavutil it needs to be said, that I'm
> using Christian Marillat's libavutil from deb-multimedia.org.
> deb-multimedia.org/wheezy is in my apt sources, so whatever is
> present there overrides Debian's own packages and gets installed
> instead.
> 
> What I did next is to step through linphone in gdb. I can get to
> line 1765 in main.c (the line number is what gdb is showing me). If
> I say "step" at that line, the program segfaults.
> *t

Is it the gtk_main() call?

Could you type "bt" in gdb after a segfault?

Could you also try running linphone in valgrind?


Guillaume


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#694101: [Linphone-developers] Fwd: Bug#694101: linphone/3.5.2 immediate segfault without config file

2012-11-26 Thread Tomas Pospisek

Hello Guillaume

On Mon, 26 Nov 2012, Guillaume Beraudo wrote:


Thank you for the bug report.


Thanks a lot for replying!


I use Wheezy as my working system and couldn't reproduce the segfault.

However I never saw the "[NULL @ 0x] Value xx.00 for parameter 'b'
out  of range" before.

Could you pinpoint where the segfaulted occured with gdb?


I've installed the linphone-dbg package and started linphone through gdb. 
The only additional info I get is this:


  Program received signal SIGSEGV, Segmentation fault.
  0x71d5b1f5 in av_log () from /usr/lib/x86_64-linux-gnu/libavutil.so.51

Seeing that it segfaults in libavutil it needs to be said, that I'm using 
Christian Marillat's libavutil from deb-multimedia.org. 
deb-multimedia.org/wheezy is in my apt sources, so whatever is present 
there overrides Debian's own packages and gets installed instead.


What I did next is to step through linphone in gdb. I can get to line 1765 
in main.c (the line number is what gdb is showing me). If I say "step" at 
that line, the program segfaults.

*t


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org