[prev in list] [next in list] [prev in thread] [next in thread]
List: gphoto
Subject: [gphoto] gphoto2 segfault
From: James Lund <jiml () stanford ! edu>
Date: 2001-11-19 23:30:26
[Download RAW message or body]
I had gphoto2 working from compiled daily CVS, but a changed something
(new CVS update, gtkam install, I wasn't paying close attention), and now
it segfaults.
The setup is RH 7.1, 2.4.2-2 kernal, JamCam 3.0 on a USB port,
libusb-0.1.4 installed, gphoto-2.0beta3.
When I try to grab the first picture, it segfaults:
gphoto2 --port usb --camera "KBGear JamCam" -p 1
Status: Initializing 'KBGear JamCam'...
Segmentation fault (core dumped)
When I run it with --debug, here's the output right before the crash:
---------------------------------------------------
gphoto2-port(2): Writing message (request=0xa5 value=0x6 index=0x0
size=0=0x0)...
gphoto2-port(3): No hexdump (NULL buffer)
gphoto2-port(2): Writing message (request=0xa5 value=0x5 index=0x0
size=0=0x0)...
gphoto2-port(3): No hexdump (NULL buffer)
jamcam(1): * jamcam_set_usb_mem_pointer
jamcam(1): *** position: 1074265088 (0x4007fc00)
gphoto2-port(2): Writing message (request=0xa1 value=0xfc00 index=0x4007
size=0=0x0)...
gphoto2-port(3): No hexdump (NULL buffer)
gphoto2-port(2): Reading message (request=0xa0 value=0x0 index=0x0
size=4=0x4)...
gphoto2-port(3): Hexdump of 4 = 0x4 bytes follows:
0000 00 fc 07 40 - ...@
gphoto2-port(2): Reading 16=0x10 bytes from port...
gphoto2-port(3): Hexdump of 16 = 0x10 bytes follows:
0000 3c 63 41 68 41 61 3f 5d-00 00 00 00 00 00 00 00 <cAhAa?]........
jamcam(1): * jamcam_set_usb_mem_pointer
jamcam(1): *** position: 1074265096 (0x4007fc08)
gphoto2-port(2): Writing message (request=0xa1 value=0xfc08 index=0x4007
size=0=0x0)...
gphoto2-port(3): No hexdump (NULL buffer)
gphoto2-port(2): Reading message (request=0xa0 value=0x0 index=0x0
size=4=0x4)...
gphoto2-port(3): Hexdump of 4 = 0x4 bytes follows:
0000 08 fc 07 40 - ...@
gphoto2-port(2): Reading 512=0x200 bytes from port...
gphoto2-port(3): Hexdump of 512 = 0x200 bytes follows:
0000 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
0010 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
0020 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
0030 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
0040 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
0050 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
0060 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
0070 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
0080 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
0090 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
00a0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
00b0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
00c0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
00d0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
00e0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
00f0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
0100 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
0110 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
0120 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
0130 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
0140 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
0150 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
0160 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
0170 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
0180 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
0190 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
01a0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
01b0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
01c0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
01d0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
01e0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
01f0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
gphoto2-port(2): Writing message (request=0xa5 value=0x6 index=0x0
size=0=0x0)...
gphoto2-port(3): No hexdump (NULL buffer)
Segmentation fault (core dumped)
---------------------------------------------------
Any idea what's going wrong?
Jim Lund
jiml@stanford.edu
---------------------------------------------------------------------------
Nobel Prize in Chemistry 1937:
The prize was divided equally between:
HAWORTH, Sir WALTER NORMAN, Great Britain, Birmingham University, b. 1883,
d. 1950:
"for his investigations on carbohydrates and vitamin C" KARRER, PAUL,
Switzerland, Zurich University, b. 1889, d. 1971: "for his investigations on
carotenoids, flavins and vitamins A and B2"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic