Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 119094
Summary: | gtkam quits after saving file(s) to disk | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Christopher Aillon <caillon> | ||||
Component: | gtkam | Assignee: | Tim Waugh <twaugh> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | David Lawrence <dkl> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rawhide | CC: | enormandy | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2004-08-19 09:25:27 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 114963, 123268 | ||||||
Attachments: |
|
Could you run it from the command line as 'gtkam -d 2>dbg.log' and attach the dbg.log file please? Created attachment 98887 [details] dbglog.tar.bz2 Here you go. Perhaps it's the CRC functions. They seem to want to exit(1) in bad situations (although they output to stderr first). Could you put a breakpoint on exit() and show me the call trace please? Thanks. #0 ?? () at ../sysdeps/unix/sysv/linux/i386/_exit.S:25 from /lib/tls/libc.so.6 #1 0x0805c773 in save_file (save=0x81d33f0, file=0x813d920, n=4294967295) at gtkam-save.c:355 #2 0x0805c888 in get_file (save=0x81d33f0, camera=0x813b5f0, folder=0x81e5ae0 "/DCIM/101CANON", name=0x81e5af8 "IMG_0157.JPG", type=4294967295, n=4294967295, context=0x82123f8) at gtkam-save.c:378 #3 0x0805cced in on_ok_clicked (button=0x80d5f28, save=0x81d33f0) at gtkam-save.c:431 #4 0x4f609691 in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0 #5 0x4f5f5160 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #6 0x4f609195 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0 #7 0x4f608157 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #8 0x4f608454 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #9 0x43c4e425 in gtk_button_clicked (button=0x80d5f28) at gtkbutton.c:718 #10 0x43c4f3bb in gtk_real_button_released (button=0x80d5f28) at gtkbutton.c:1205 #11 0x4f609691 in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0 #12 0x4f5f54f7 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0 #13 0x4f5f5160 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #14 0x4f6089be in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0 #15 0x4f608157 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #16 0x4f608454 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #17 0x43c4e375 in gtk_button_released (button=0x80d5f28) at gtkbutton.c:710 #18 0x43c4f23b in gtk_button_button_release (widget=0xffffffff, event=0xffffffff) at gtkbutton.c:1121 #19 0x43d08854 in _gtk_marshal_BOOLEAN__BOXED (closure=0x809f630, return_value=0xbfffe200, n_param_values=2, param_values=0xbfffe330, invocation_hint=0xbfffe228, marshal_data=0x43c4f200) at gtkmarshalers.c:82 #20 0x4f5f54f7 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0 #21 0x4f5f5160 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #22 0x4f608bc5 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0 #23 0x4f607f2e in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #24 0x4f608454 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #25 0x43e063b5 in gtk_widget_event_internal (widget=0x80d5f28, event=0x8128bc8) at gtkwidget.c:3563 #26 0x43d06df2 in gtk_propagate_event (widget=0x80d5f28, event=0x8128bc8) at gtkmain.c:2344 #27 0x43d05b36 in gtk_main_do_event (event=0x8128bc8) at gtkmain.c:1582 #28 0x43bba8e5 in gdk_event_dispatch (source=0xffffffff, callback=0, user_data=0x0) at gdkevents-x11.c:2133 #29 0x4f31fe4a in g_main_depth () from /usr/lib/libglib-2.0.so.0 #30 0x4f320f28 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #31 0x4f321260 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #32 0x4f3218a3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0 #33 0x43d05403 in gtk_main () at gtkmain.c:1172 #34 0x43f9f8fe in bonobo_ui_main () from /usr/lib/libbonoboui-2.so.0 #35 0x08054263 in main (argc=1, argv=0xbfffef94) at main.c:151 Also note the new versions I was using to get the above trace:
> rpm -q gtkam gphoto2
gtkam-0.1.10-4
gphoto2-2.1.4-2.1
Try 0.1.10-5. Nope, that exits right after saving too. What's #0,#1,#2 in the backtrace from 0.1.10-5? I guess it's at the 'system()' line? I am also seeing this behavior when saving photos from my Kodak DX3900. Let me know if you need additional information. I use my digital camera a lot! Does running 'MALLOC_CHECK_=2 gtkam' show anything more useful? See also bug #121317. On the off-chance that 0.1.11 (released last month) fixes the problem, please could you try this package?: ftp://people.redhat.com/twaugh/tmp/gtkam/gtkam-0.1.11-0.1.i386.rpm It works! I was just able to save the photos without the application crashing, and then delete the photos. Thanks! Great. How about bug #121326 -- do you see files saved in the wrong place with 0.1.11? Sorry for not being more responsive, I've been moving and am finally getting settled in. Yes, this does work with 0.1.11 as does bug 121326. One thing I noticed though is that the list of files to be saved no longer appears in the right hand side of the save dialog, but I'll trade that for these two bugs fixed. ;-) Files going to correct place. |
Description of problem: Using Canon PowerShot S50, if I load gtkam, and try to save any images, it quits (gdb says it exits normally, not a crash). Version-Release number of selected component (if applicable): > rpm -q gtkam gphoto2 gtkam-0.1.10-2.1 gphoto2-2.1.4-2.1 How reproducible: Always Steps to Reproduce: 1. Connect camera to USB 2. Load gtkam 3. Save images Actual results: Quit Expected results: not quit :-) Additional info: It makes no difference whether or not I save an individual file, or save all files, or anything, as soon as the save is done, it quits.