FixYa.com
Technical Support, Instructions & Repair Service


Tags:

JVC GC-S1 Digital Camera

Jvc digital camera

By Pasty - usenet poster


Hi, I hope somebody can help I've been trying to get the software for my
JVC GC-S1 digital camera to download pictures under wine, the program
runs but when you try to connect to the camera it gives the following errors

fixme:comm:SetupComm insize 4096 outsize 4096 unimplemented stub
fixme:comm:SetCommTimeouts (25,0x41e5f8fc):stub.
fixme:comm:SetCommBreak handle 37, stub!
fixme:comm:ClearCommBreak handle 37, stub!

any help would be much appreciated

bye for now james.

This Problem has been added to the Share Your Expertise Page under "My Work Queue".
Best Solution
posted on Aug 02, 2007
Helpful (85)

Perkins

Perkins - usenet poster

Rank:Apprentice Apprentice
Rating: 0%, 0 votes

I don't know but the bug in Wine is obvious, in comm.c it should
check if lpstat is NULL before doing a TRACE !!!
in misc/comm.c :

BOOL WINAPI ClearCommError(INT handle,LPDWORD errors,LPCOMSTAT lpStat)
{
int fd;

fd=COMM_GetReadFd(handle);
if(0 {
return FALSE;
}

if (lpStat)
{
lpStat-
if(ioctl(fd, TIOCOUTQ, &lpStat- WARN("ioctl returned error\n");

if(ioctl(fd, TIOCINQ, &lpStat- WARN("ioctl returned error\n");
}

close(fd);

TRACE("handle %d cbInQue = %ld cbOutQue = %ld\n",
handle,
lpStat- lpStat-
replace the TRACE instruction by

if (lpStat)
{
TRACE("handle %d cbInQue = %ld cbOutQue = %ld\n",
handle,
lpStat- lpStat- }

Gerard

Was this solution helpful? Show your Appreciation by rating it:

Solution #2
posted on Aug 02, 2007
Not Rated (0)

Hart

Hart - usenet poster

Rank:Apprentice Apprentice
Rating: 0%, 0 votes
Here is the full output from the debugger, are these functions used by many
programs ?

trace:comm:COMM_Init COM1 = /dev/ttyS1
trace:comm:COMM_Init LPT1 = /dev/lp0
*** failure loading resources from C:\WINDOWS\SYSTEM\shell32.dll
*** this is a hack for loading the internal and external dll at the same time
*** you can ignore it but you will miss some icons in win95 dialogs

fixme:win:DEFWND_DefWinProc Display default popup menu
err:module:BUILTIN32_LoadImage Attemp to instantiate built-in dll 'COMDLG32' twi
ce in the same address-space. Expect trouble!
err:module:BUILTIN32_LoadImage Attemp to instantiate built-in dll 'SHELL32' twic
e in the same address-space. Expect trouble!
err:module:BUILTIN32_LoadImage Attemp to instantiate built-in dll 'COMCTL32' twi
ce in the same address-space. Expect trouble!
err:commdlg:COMDLG32_DllEntryPoint comdlg32.dll instantiated twice in one addres
s space!
trace:comm:GetCommState handle 37, ptr 0x41e5f8d0
trace:comm:GetCommState OK
trace:comm:SetCommState handle 37, ptr 0x41e5f8d0
trace:comm:SetCommState bytesize 8
trace:comm:SetCommState fParity 1 Parity 1
trace:comm:SetCommState stopbits 0
trace:comm:SetCommMask handle 37, mask 0
fixme:comm:SetupComm insize 4096 outsize 4096 unimplemented stub
trace:comm:PurgeComm handle 37, flags c
fixme:comm:SetCommTimeouts (25,0x41e5f8fc):stub.
trace:comm:ClearCommError Unhandled exception: page fault on read access to 0x00
000008 in 32-bit code (0x0812a0ac).
Loading symbols: wine /usr/X11R6/lib/libSM.so.6 /usr/X11R6/lib/libICE.so.6
/usr/X11R6/lib/libXpm.so.4 /usr/lib/libMesaGL.so.3
/usr/X11R6/lib/libXext.so.6 /usr/X11R6/lib/libX11.so.6
/lib/libncurses.so.4 /lib/libm.so.6 /lib/libdl.so.2 /lib/libc.so.6
/lib/ld-linux.so.2
COMMDLG USER GDI KERNEL WINEPS WPROCS DISPLAY SYSTEM CAME~DTZ.MOD
IRTRANP.dll COMCTL32 SHELL32 ADVAPI32 WINSPOOL COMDLG32 GDI32 KBJPG.dll
KERNEL32 NTDLL USER32
In 32 bit mode.
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0337 GS:0000
EIP:0812a0ac ESP:41e5f8d0 EBP:41e5f8dc EFLAGS:00010202( R- 00 I - - 1 )
EAX:0000001a EBX:00000010 ECX:00000000 EDX:0000001a
ESI:00000000 EDI:00000025
Stack dump:
0x41e5f8d0 (CAME~DTZ.MOD..reloc+0x1078d0): 0001c200 42600a40 0000116c 41e5f958 0x41e5f8e0 (CAME~DTZ.MOD..reloc+0x1078e0): 41fb48fa 00000025 41e5f910 00000000 0x41e5f8f0 (CAME~DTZ.MOD..reloc+0x1078f0): 42600a40 314d4f43 00000000 00000064 0x41e5f900 (CAME~DTZ.MOD..reloc+0x107900): 0000012c 000001f4 0000012c 000001f4 0x41e5f910 (CAME~DTZ.MOD..reloc+0x107910): 000010c4 41fb4fe5 41e5f958 0000116c 0x41e5f920 (CAME~DTZ.MOD..reloc+0x107920): 41e5fe44 00000000 41fb2fbf 00000001 0x41e5f930 (CAME~DTZ.MOD..reloc+0x107930):

0066: sel=0337 base=4044faa4 limit=00000fff 32-bit rw-
Backtrace:
= 1 0x41fb48fa (IRTRANP.dll.DelSelDlg+0x31a) (ebp=41e5f958)
2 0x0825e4d7 (CallWindowProcA+0xa7(func=0x408c0bfc, hwnd=0x10c4, msg=0x110, wP
aram=0x116c, lParam=0x0) [winproc.c:2309]) (ebp=41e5f980)
3 0x0822cd8d (DefDlgProcA+0x5d(hwnd=0x10c4, msg=0x110, wParam=0x116c, lParam=0
x0) [defdlg.c:331]) (ebp=41e5f9ac)
4 0x0825a33b (WINPROC_CallWndProc+0x7b(proc=0x822cd30, hwnd=0x10c4, msg=0x110,
wParam=0x116c, lParam=0x0) [winproc.c:133]) (ebp=41e5f9d0)
5 0x0825e461 (CallWindowProcA+0x31(func=0x822cd30, hwnd=0x10c4, msg=0x110, wPa
ram=0x116c, lParam=0x0) [winproc.c:2294]) (ebp=41e5f9f8)
6 0x41fc18d2 (IRTRANP.dll.EntryPoint+0x8342) (ebp=41e5fa18)
7 0x41fc0e93 (IRTRANP.dll.EntryPoint+0x7903) (ebp=41e5fab8)
8 0x41fc1de4 (IRTRANP.dll.EntryPoint+0x8854) (ebp=41e5fadc)
9 0x41fc0d1b (IRTRANP.dll.EntryPoint+0x778b) (ebp=41e5fb48)
10 0x41fc1027 (IRTRANP.dll.EntryPoint+0x7a97) (ebp=41e5fb64)
11 0x0825a33b (WINPROC_CallWndProc+0x7b(proc=0x41fc0ffb, hwnd=0x10c4, msg=0x11
ebp=41e5fcac)
17 0x08241808 (SendMessageA+0x28(hwnd=0x10c4, msg=0x110, wParam=0x116c, lParam=0x0) [message.c:1741]) (ebp=41e5fcdc)
18 0x0822fe25 (DIALOG_CreateIndirect+0x4d5(hInst=0x41fb0000, dlgTemplate=0x41fd8644, win32Template=0x1, owner=0xcc0, dlgProc=0x41fc0101, param=0x0, procType=0x2) [dialog.c:644]) (ebp=41e5fd5c)
19 0x08230102 (CreateDialogIndirectParamA+0x22(hInst=0x41fb0000, dlgTemplate=0x41fd860c, owner=0xcc0, dlgProc=0x41fc0101, param=0x0) [dialog.c:888]) (ebp=41e5fd88)
20 0x41fc049d (IRTRANP.dll.EntryPoint+0x6f0d) (ebp=41e5fdf4)
21 0x41fc0723 (IRTRANP.dll.EntryPoint+0x7193) (ebp=41e5fe3c)
22 0x41fb43dd (IRTRANP.dll.ZenSumDlg+0x4d) (ebp=41e5feac)
23 0x41d1133d (CAME~DTZ.MOD..text+0x33d) (ebp=41e5fef8)
24 0x41d2e894 (CAME~DTZ.MOD.EntryPoint+0x192e4) (ebp=41e5ff0c)
25 0x41d2500c (CAME~DTZ.MOD.EntryPoint+0xfa5c) (ebp=41e5ff24)
26 0x41d1570e (CAME~DTZ.MOD.EntryPoint+0x15e) (ebp=41e5ffb8)
27 0x08212758 (PROCESS_Start+0x3a8 [process.c:380]) (ebp=41e5ffe4)
28 0x08214307 (SYSDEPS_StartThread+0x17(teb=0x4044faa4) [sysdeps.c:135]) (ebp=41e5fff4)
29 0x402c743e (thread_start+0x4 [sysctl.c]) (ebp=00000000)
*** Invalid address 0x00000000 (DateStyle)

0x0812a0ac (ClearCommError+0x12c [comm.c:1655]): movl 0x8(%esi),%eax
Wine-dbg
bye for now James.

Was this solution helpful? Show your Appreciation by rating it:

Solution #3
posted on Aug 02, 2007
Not Rated (0)

paulrmc

paulrmc - usenet poster

Rank:Apprentice Apprentice
Rating: 0%, 0 votes
The problem is that no one has implemented the functions SetupCom,
SetCommTimeouts, SetCommBreak or ClearCommBreak beyond simple stubs.

To help, (see documentation/bugreports) perhaps posting the last few
lines of wine -debugmsg +comm would help

Since it's a stub function, the best help would be to grab whatever
microsoft API docs you can find and implement the functions :
Or wait for the next release and see if it gets better.

--
Rob Latham Lehigh University
Grad Monkey, Computer Engineering Bethlehem, PA USA

Was this solution helpful? Show your Appreciation by rating it:

Can you Help with these Digital Cameras problems?

Digital Cameras
the screen is cracked and
the screen is cracked and i can... Answer This...
Digital Cameras
camera is the canon power
camera is the canon power shot... Answer This...
Digital Cameras
I HAVE OLYMPUS - DIGITAL
i have olympus - digital camera... Answer This...
Digital Cameras
The camera got wet and
The camera got wet and you can... Answer This...
JVC GC-S1 Digital Camera
JVC GR-D347U Mini DV connection...
I have a JVC digital video... Answer This...
Repair Service
Find Digital Camera Repairman Near You:

FixYa does not evaluate or guarantee the accuracy of any information provided through its proposed solutions, posts, or Expert Assistance Sessions. By entering this site you declare you read and agreed to its Terms. You may NOT copy or distribute the content that appears on this site without written permission from FixYa Inc.
© 2005-2008, FixYa, Inc. or its affiliates
When the original poster rates a solution that was given to his own problem, that rating is locked!
X

Are you sure the solution content is Inappropriate?
   
Tech buddies can communicate directly to answer questions. Become a Tech Buddy and have direct access to your favorite expert for FREE!