Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Apr 1998 16:48:21 -0700
From:      Amancio Hasty <hasty@rah.star-gate.com>
To:        tomppa@fidata.fi
Cc:        freebsd-multimedia@FreeBSD.ORG
Subject:   Re: problem capturing video with BT848/Haughpage Win/Tv 
Message-ID:  <199804192348.QAA03334@rah.star-gate.com>
In-Reply-To: Your message of "Mon, 20 Apr 1998 02:36:59 %2B0300." <13626.35483.87697.62123@zeta.fidata.fi> 

next in thread | previous in thread | raw e-mail | index | archive | help
Thats a good clue. Perhaps your shared memory segment is not big enough or
the kernel failed to allocate such a big memory segment.
Play with SHMMAXPGS options...

>From LINT:
options         "SHMMAX=(SHMMAXPGS*PAGE_SIZE+1)"
options         SHMMAXPGS=1025

The other possibility is that your login defaults are too small:

{hasty} limits
Resource limits (current):
  cputime          infinity secs
  filesize         infinity kb
  datasize           524288 kb
  stacksize           65536 kb
  coredumpsize     infinity kb
  memoryuse-cur       32768 kb
  memorylocked     infinity kb
  maxprocesses-cur       64
  openfiles            1000

your /etc/login.conf dictates your limits.

And why you didn't report this earlier??


	Amancio



> Amancio Hasty writes:
>  > Do we have any other PAL users experiencing core dumps when a
>  > full-size fxtv window is moved around?
>  > 
> I don't even have to move window.  It's enough just to put another
> window over fxtv and fxtv starts using ximages.  Full size PAL window
> will give core dump every time.  Maximum size for window is about
> 702x583 and 716x595 is too big.
> 
>   Tomppa
> 
> tick:~/src/fxtv/work/fxtv-0.46(11)# gdb ./fxtv
> fxtv       fxtv.core
> tick:~/src/fxtv/work/fxtv-0.46(11)# gdb ./fxtv fxtv.core
> GDB is free software and you are welcome to 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.
> GDB 4.16 (i386-unknown-freebsd),
> Copyright 1996 Free Software Foundation, Inc...
> Core was generated by xtv'.
> Program terminated with signal 11, Segmentation fault.
> Cannot access memory at address 0x20039080.
> #0  0x20215562 in ?? ()
> (gdb) bt
> #0  0x20215562 in ?? ()
> #1  0xefbfd6cc in ?? ()
> #2  0xd636 in TVNewFrameHdlr (img=0xefbfd6c8) at tv.c:178
> #3  0xfc4b in TVCAPTUREWorkProc () at tvcapture.c:183
> #4  0xd575 in TVWorkProcTimeoutCB (cl_data=0x0, timer=0xefbfd720) at
> tv.c:141
> #5  0x200e2843 in ?? ()
> #6  0x200e2a14 in ?? ()
> #7  0xf2fa in main (argc=1, argv=0xefbfd7f0) at tv.c:665
> (gdb) q
> tick:~/src/fxtv/work/fxtv-0.46(12)#
> 
> --
> SUN Microsystems Oy PL 102, Niittymäentie 9, 02201 ESPOO, Finland
> Tomi Vainio (System Support Engineer)             +358 9 52556300 hotline
> email: Tomi.Vainio@Sun.COM                        +358 9 52556252 fax



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804192348.QAA03334>