Web lists-archives.com

Re: [Spca50x-devs] [Ekiga-devel-list] ekiga + libs trunk, in ~XVWindow at xvwindow.cpp:318 crash




fixed on x86_64, too. random device index assignment of gspca driver made ekiga access a busy dvb card 
instead of the camera ;)

will fix driver load priority with /etc/modprobe.d/gspca config, assuring gspca is loaded last in time.

Matthias, can we do device lookup/config by v4l device NAME instead of device index?

pls CC me, have yet unidentified mailinglist problems with new gmail account :(

y
tom

Oct 24 21:31:47 tom1 kernel: ekiga[8678]: segfault at 0000000000000018 rip 00002ba9101d2581 rsp 00007fff9ef66470 error 4
Oct 24 21:32:22 tom1 kernel: ekiga: page allocation failure. order:0, mode:0x4
Oct 24 21:32:22 tom1 kernel:
Oct 24 21:32:22 tom1 kernel: Call Trace:
Oct 24 21:32:22 tom1 kernel:  [<ffffffff8025d4c8>] __alloc_pages+0x288/0x330
Oct 24 21:32:22 tom1 kernel:  [<ffffffff8026fd89>] __vmalloc_area_node+0xd9/0x170
Oct 24 21:32:22 tom1 kernel:  [<ffffffff8825eb4a>] :gspca:rvmalloc+0x1a/0x60
Oct 24 21:32:22 tom1 kernel:  [<ffffffff88271f15>] :gspca:spca5xx_open+0xf5/0xa00
Oct 24 21:32:22 tom1 kernel:  [<ffffffff8807774a>] :videodev:video_open+0x10a/0x230
Oct 24 21:32:22 tom1 kernel:  [<ffffffff802840a3>] chrdev_open+0x113/0x250
Oct 24 21:32:22 tom1 kernel:  [<ffffffff80283f90>] chrdev_open+0x0/0x250
Oct 24 21:32:22 tom1 kernel:  [<ffffffff8027ea6d>] __dentry_open+0x11d/0x270
Oct 24 21:32:22 tom1 kernel:  [<ffffffff8027ecca>] do_filp_open+0x3a/0x50
Oct 24 21:32:22 tom1 kernel:  [<ffffffff8027e910>] get_unused_fd+0xe0/0x120
Oct 24 21:32:22 tom1 kernel:  [<ffffffff8027ed3a>] do_sys_open+0x5a/0x100
Oct 24 21:32:22 tom1 kernel:  [<ffffffff80209abe>] system_call+0x7e/0x83
Oct 24 21:32:22 tom1 kernel:
Oct 24 21:32:22 tom1 kernel: Mem-info:
Oct 24 21:32:22 tom1 kernel: DMA per-cpu:
Oct 24 21:32:22 tom1 kernel: CPU    0: Hot: hi:    0, btch:   1 usd:   0   Cold: hi:    0, btch:   1 usd:   0
Oct 24 21:32:22 tom1 kernel: DMA32 per-cpu:
Oct 24 21:32:22 tom1 kernel: CPU    0: Hot: hi:  186, btch:  31 usd:  30   Cold: hi:   62, btch:  15 usd:  61
Oct 24 21:32:22 tom1 kernel: Active:100111 inactive:50474 dirty:284 writeback:0 unstable:0
Oct 24 21:32:22 tom1 kernel:  free:1441 slab:11245 mapped:23647 pagetables:4585 bounce:0
Oct 24 21:32:22 tom1 kernel: DMA free:2992kB min:36kB low:44kB high:52kB active:5996kB inactive:0kB present:8600kB pages_scanned:160 all_unreclaimable? no
Oct 24 21:32:22 tom1 kernel: lowmem_reserve[]: 0 741 741
Oct 24 21:32:22 tom1 kernel: DMA32 free:2772kB min:3464kB low:4328kB high:5196kB active:394448kB inactive:201896kB present:759332kB pages_scanned:10 all_unreclaimable? no
Oct 24 21:32:22 tom1 kernel: lowmem_reserve[]: 0 0 0
Oct 24 21:32:22 tom1 kernel: DMA: 0*4kB 0*8kB 1*16kB 1*32kB 0*64kB 1*128kB 1*256kB 1*512kB 0*1024kB 1*2048kB 0*4096kB = 2992kB
Oct 24 21:32:22 tom1 kernel: DMA32: 15*4kB 9*8kB 3*16kB 1*32kB 0*64kB 0*128kB 0*256kB 1*512kB 0*1024kB 1*2048kB 0*4096kB = 2772kB
Oct 24 21:32:22 tom1 kernel: Swap cache: add 0, delete 0, find 0/0, race 0+0
Oct 24 21:32:22 tom1 kernel: Free swap  = 996020kB
Oct 24 21:32:22 tom1 kernel: Total swap = 996020kB
Oct 24 21:32:22 tom1 kernel: Free swap:       996020kB
Oct 24 21:32:22 tom1 kernel: 196560 pages of RAM
Oct 24 21:32:22 tom1 kernel: 5277 reserved pages
Oct 24 21:32:22 tom1 kernel: 170279 pages shared
Oct 24 21:32:22 tom1 kernel: 0 pages swap cached
Oct 24 21:32:22 tom1 kernel: ekiga: page allocation failure. order:0, mode:0x4
Oct 24 21:32:22 tom1 kernel:
Oct 24 21:32:22 tom1 kernel: Call Trace:
Oct 24 21:32:22 tom1 kernel:  [<ffffffff8025d4c8>] __alloc_pages+0x288/0x330
Oct 24 21:32:22 tom1 kernel:  [<ffffffff8026fd89>] __vmalloc_area_node+0xd9/0x170
Oct 24 21:32:22 tom1 kernel:  [<ffffffff8825eb4a>] :gspca:rvmalloc+0x1a/0x60
Oct 24 21:32:22 tom1 kernel:  [<ffffffff88271f15>] :gspca:spca5xx_open+0xf5/0xa00
Oct 24 21:32:22 tom1 kernel:  [<ffffffff80279e9e>] shmem_check_acl+0x2e/0x80
Oct 24 21:32:22 tom1 kernel:  [<ffffffff8807774a>] :videodev:video_open+0x10a/0x230
Oct 24 21:32:22 tom1 kernel:  [<ffffffff802840a3>] chrdev_open+0x113/0x250
Oct 24 21:32:22 tom1 kernel:  [<ffffffff80283f90>] chrdev_open+0x0/0x250
Oct 24 21:32:22 tom1 kernel:  [<ffffffff8027ea6d>] __dentry_open+0x11d/0x270
Oct 24 21:32:22 tom1 kernel:  [<ffffffff8027ecca>] do_filp_open+0x3a/0x50
Oct 24 21:32:22 tom1 kernel:  [<ffffffff8027e910>] get_unused_fd+0xe0/0x120
Oct 24 21:32:22 tom1 kernel:  [<ffffffff8027ed3a>] do_sys_open+0x5a/0x100
Oct 24 21:32:22 tom1 kernel:  [<ffffffff80209abe>] system_call+0x7e/0x83
Oct 24 21:32:22 tom1 kernel:
Oct 24 21:32:22 tom1 kernel: Mem-info:
Oct 24 21:32:22 tom1 kernel: DMA per-cpu:
Oct 24 21:32:22 tom1 kernel: CPU    0: Hot: hi:    0, btch:   1 usd:   0   Cold: hi:    0, btch:   1 usd:   0
Oct 24 21:32:22 tom1 kernel: DMA32 per-cpu:
Oct 24 21:32:22 tom1 kernel: CPU    0: Hot: hi:  186, btch:  31 usd:  36   Cold: hi:   62, btch:  15 usd:  57
Oct 24 21:32:22 tom1 kernel: Active:100022 inactive:50494 dirty:286 writeback:0 unstable:0
Oct 24 21:32:22 tom1 kernel:  free:1421 slab:11249 mapped:23654 pagetables:4585 bounce:0
Oct 24 21:32:22 tom1 kernel: DMA free:2992kB min:36kB low:44kB high:52kB active:5996kB inactive:0kB present:8600kB pages_scanned:0 all_unreclaimable? no
Oct 24 21:32:22 tom1 kernel: lowmem_reserve[]: 0 741 741
Oct 24 21:32:22 tom1 kernel: DMA32 free:2692kB min:3464kB low:4328kB high:5196kB active:394092kB inactive:201976kB present:759332kB pages_scanned:10 all_unreclaimable? no
Oct 24 21:32:22 tom1 kernel: lowmem_reserve[]: 0 0 0
Oct 24 21:32:22 tom1 kernel: DMA: 0*4kB 0*8kB 1*16kB 1*32kB 0*64kB 1*128kB 1*256kB 1*512kB 0*1024kB 1*2048kB 0*4096kB = 2992kB
Oct 24 21:32:22 tom1 kernel: DMA32: 19*4kB 5*8kB 1*16kB 0*32kB 0*64kB 0*128kB 0*256kB 1*512kB 0*1024kB 1*2048kB 0*4096kB = 2692kB
Oct 24 21:32:22 tom1 kernel: Swap cache: add 0, delete 0, find 0/0, race 0+0
Oct 24 21:32:22 tom1 kernel: Free swap  = 996020kB
Oct 24 21:32:22 tom1 kernel: Total swap = 996020kB
Oct 24 21:32:22 tom1 kernel: Free swap:       996020kB
Oct 24 21:32:22 tom1 kernel: 196560 pages of RAM
Oct 24 21:32:22 tom1 kernel: 5277 reserved pages
Oct 24 21:32:22 tom1 kernel: 170281 pages shared
Oct 24 21:32:22 tom1 kernel: 0 pages swap cached
Oct 24 21:32:23 tom1 kernel: /usr/src/gspcav1-20070508/Sunplus-jpeg/sp5xxfw2.h: [spca50x_GetFirmware:662] FirmWare : 3 0 0 5 6
Oct 24 21:32:23 tom1 kernel: /usr/src/gspcav1-20070508/gspca_core.c: [spca5xx_set_light_freq:1889] Sensor currently not support light frequency banding filters.
Oct 24 21:32:23 tom1 kernel: /usr/src/gspcav1-20070508/gspca_core.c: [gspca_set_isoc_ep:903] ISO EndPoint found 0x81 AlternateSet 7
Oct 24 21:32:23 tom1 kernel: /usr/src/gspcav1-20070508/Sunplus-jpeg/sp5xxfw2.h: [spca50x_GetFirmware:662] FirmWare : 3 0 0 5 6
Oct 24 21:32:23 tom1 kernel: /usr/src/gspcav1-20070508/gspca_core.c: [spca5xx_set_light_freq:1889] Sensor currently not support light frequency banding filters.
Oct 24 21:32:23 tom1 kernel: /usr/src/gspcav1-20070508/gspca_core.c: [gspca_set_isoc_ep:903] ISO EndPoint found 0x81 AlternateSet 7
Oct 24 21:32:24 tom1 kernel: /usr/src/gspcav1-20070508/Sunplus-jpeg/sp5xxfw2.h: [spca50x_GetFirmware:662] FirmWare : 3 0 0 5 6
Oct 24 21:32:24 tom1 kernel: /usr/src/gspcav1-20070508/gspca_core.c: [spca5xx_set_light_freq:1889] Sensor currently not support light frequency banding filters.
Oct 24 21:32:24 tom1 kernel: /usr/src/gspcav1-20070508/gspca_core.c: [gspca_set_isoc_ep:903] ISO EndPoint found 0x81 AlternateSet 7
Oct 24 21:32:24 tom1 kernel: /usr/src/gspcav1-20070508/Sunplus-jpeg/sp5xxfw2.h: [spca50x_GetFirmware:662] FirmWare : 3 0 0 5 6
Oct 24 21:32:24 tom1 kernel: /usr/src/gspcav1-20070508/gspca_core.c: [spca5xx_set_light_freq:1889] Sensor currently not support light frequency banding filters.
Oct 24 21:32:24 tom1 kernel: /usr/src/gspcav1-20070508/gspca_core.c: [gspca_set_isoc_ep:903] ISO EndPoint found 0x81 AlternateSet 7
Oct 24 21:32:24 tom1 kernel: /usr/src/gspcav1-20070508/Sunplus-jpeg/sp5xxfw2.h: [spca50x_GetFirmware:662] FirmWare : 3 0 0 5 6
Oct 24 21:32:24 tom1 kernel: /usr/src/gspcav1-20070508/gspca_core.c: [spca5xx_set_light_freq:1889] Sensor currently not support light frequency banding filters.
Oct 24 21:32:24 tom1 kernel: /usr/src/gspcav1-20070508/gspca_core.c: [gspca_set_isoc_ep:903] ISO EndPoint found 0x81 AlternateSet 7
Oct 24 21:32:25 tom1 kernel: /usr/src/gspcav1-20070508/Sunplus-jpeg/sp5xxfw2.h: [spca50x_GetFirmware:662] FirmWare : 3 0 0 5 6
Oct 24 21:32:25 tom1 kernel: /usr/src/gspcav1-20070508/gspca_core.c: [spca5xx_set_light_freq:1889] Sensor currently not support light frequency banding filters.
Oct 24 21:32:25 tom1 kernel: /usr/src/gspcav1-20070508/gspca_core.c: [gspca_set_isoc_ep:903] ISO EndPoint found 0x81 AlternateSet 7
Oct 24 21:32:25 tom1 kernel: /usr/src/gspcav1-20070508/Sunplus-jpeg/sp5xxfw2.h: [spca50x_GetFirmware:662] FirmWare : 3 0 0 5 6
Oct 24 21:32:25 tom1 kernel: /usr/src/gspcav1-20070508/gspca_core.c: [spca5xx_set_light_freq:1889] Sensor currently not support light frequency banding filters.
Oct 24 21:32:25 tom1 kernel: /usr/src/gspcav1-20070508/gspca_core.c: [gspca_set_isoc_ep:903] ISO EndPoint found 0x81 AlternateSet 7




Matthias Schneider wrote:
> Hi Thomas,
> could you send a -d 4 output where it freezes on x84_64?
> Matthias
> p.s. The video output is in ekiga, not opal...
> 
> --- thomas schorpp <thomas.schorpp@xxxxxxxxxxxxxx> schrieb:
> 
>> ok on i386 platform. not ok on x86_64 (gui stalls on video preview button, defunct process,
>> restartsys, 
>> wenn Dir dafür kein Grund einfällt, dann sinds mal wieder alte .so, die opal make ned aufgeräumt
>> hat, 
>> crasht auch schon beim hauptmenü anklicken :/ )
>>
>> y
>> tom
>>
>> Matthias Schneider wrote:
>>> Hi Thomas,
>>> could you please verify the fix I checked in this morning? 
>>> Matthias
>>>
>>> --- thomas schorpp <thomas.schorpp@xxxxxxxxxxxxxx> schrieb:
>>>
>>>> - call ma echo server or call 2.0.1 peer, it will crash on incoming video. 
>>>>
>>>> XVdestructor call on SetupFrameDisplay() ???
>>>>
>>>> Program received signal SIGSEGV, Segmentation fault.
>>>> [Switching to Thread 0xb4b32b90 (LWP 6162)]
>>>> 0x08107ae3 in ~XVWindow (this=0x89be528) at xvwindow.cpp:318
>>>> 318           if (_XVImage->data)
>>>> (gdb) bt full
>>>> #0  0x08107ae3 in ~XVWindow (this=0x89be528) at xvwindow.cpp:318
>>>> No locals.
>>>> #1  0x080dd8d7 in GMVideoDisplay_XV::SetupFrameDisplay (this=0x863a5f8, display=3,
>> lf_width=0,
>>>>     lf_height=0, rf_width=176, rf_height=0, zoom=1) at devices/videooutput_xv.cpp:226
>>>>         main_window = <value optimized out>
>>>>         image = (GtkWidget *) 0x84162a8
>>>>         ret = 1
>>>>         stay_on_top = 0
>>>> #2  0x080dbfb4 in GMVideoDisplay_GDK::Redraw (this=0x863a5f8) at
>> devices/videooutput_gdk.cpp:535
>>>>         ret = 1
>>>> #3  0x080db1ad in GMVideoDisplay_GDK::Main (this=0x863a5f8) at
>> devices/videooutput_gdk.cpp:122
>>>> No locals.
>>>> #4  0xb725e03d in PThread::PX_ThreadStart (arg=0x863a5f8) at tlibthrd.cxx:1361
>>>>         __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {-1221745292, 134955588,
>>>>         -1263326320, -1263328312, 1917239447, 1606347408}, __mask_was_saved = 0}}, __pad = {
>>>>     0xb4b32480, 0x0, 0x0, 0xb6366e90}}
>>>>         __cancel_routine = (void (*)(void *)) 0xb725f4c4 <PThread::PX_ThreadEnd(void*)>
>>>>         __cancel_arg = (void *) 0x863a5f8
>>>>         not_first_call = 0
>>>>         thread = (PThread *) 0x863a5f8
>>>> #5  0xb65c246b in start_thread () from /lib/i686/cmov/libpthread.so.0
>>>> No symbol table info available.
>>>> #6  0xb62f64de in clone () from /lib/i686/cmov/libc.so.6
>>>> No symbol table info available.
>>>> _______________________________________________
>>>> Ekiga-devel-list mailing list
>>>> Ekiga-devel-list@xxxxxxxxx
>>>> http://mail.gnome.org/mailman/listinfo/ekiga-devel-list

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Spca50x-devs mailing list
Spca50x-devs@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/spca50x-devs