[sane-devel] xsane-0.85 available

Joachim Backes Joachim Backes <backes@rhrk.uni-kl.de>
Mon, 15 Apr 2002 08:11:29 +0200 (CEST)


Hi, Oliver,

XSane-0.85 does not run on my RH 7.2 LINUX box. It dies with
segmentation fault after searching scsi scanner devices.
(RedHat 7.2, Kernel 2.4.18).

On the other hand, version 0.84 runs without any problem.

Backtrace when xsane-0.85 dies:

Program received signal SIGSEGV, Segmentation fault.
0x08058c78 in xsane_update_param (arg=0x0) at xsane-front-gtk.c:1720
1720      if (xsane.preview->surface_unit == SANE_UNIT_MM)
(gdb) t
[Current thread is 0 (process 13612)]
(gdb) where
#0  0x08058c78 in xsane_update_param (arg=0x0) at xsane-front-gtk.c:1720
#1  0x080527f3 in xsane_back_gtk_set_option (opt_num=5, val=0xbfffee70, 
    action=SANE_ACTION_SET_VALUE) at xsane-back-gtk.c:462
#2  0x08055863 in xsane_set_resolution (well_known_option=5, resolution=75)
    at xsane-front-gtk.c:341
#3  0x08089f41 in xsane_resolution_widget_new (parent=0x817c4a0, 
    well_known_option=5, resolution=0x80b4a14, image_xpm=0x80b3530, 
    desc=0x80acf05 "Set scan resolution", 
    widget_name=0x80ace79 "GtkMenuResolution") at xsane.c:1144
#4  0x0808b2f4 in xsane_update_xsane_callback () at xsane.c:1662
#5  0x080983f1 in xsane_panel_build () at xsane.c:6537
#6  0x08099640 in xsane_device_dialog () at xsane.c:6948
#7  0x0809ac79 in xsane_interface (argc=1, argv=0xbffff994) at xsane.c:7557
#8  0x0809b32f in main (argc=1, argv=0xbffff994) at xsane.c:7743
#9  0x403d6306 in __libc_start_main (main=0x809ad04 <main>, argc=1, 
    ubp_av=0xbffff994, init=0x80505dc <_init>, fini=0x809c010 <_fini>, 
    rtld_fini=0x4000d2dc <_dl_fini>, stack_end=0xbffff98c)
    at ../sysdeps/generic/libc-start.c:129
(gdb) 

Regards

Joachim Backes

--

Joachim Backes <backes@rhrk.uni-kl.de>       | Univ. of Kaiserslautern
Computer Center, High Performance Computing  | Phone: +49-631-205-2438 
D-67653 Kaiserslautern, PO Box 3049, Germany | Fax:   +49-631-205-3056 
---------------------------------------------+------------------------
WWW: http://hlrwm.rhrk.uni-kl.de/home/staff/backes.html  



On 13-Apr-2002 Oliver Rauch wrote: 
>  
>  Hi.
>  
>  XSane-0.85 has been released.
>  
>  It can be downloaded from:
>  
>       http://www.xsane.org
>  
>  News:
>  
>   - replaced xsane_control_option by back_gtk_set_option in xsane_set_resolution.
>     if changing resolution causes a SANE_RELOAD_OPTIONS this is handled now.
>   
>   - replaced xsane_save_scaled_image by a routine that does a blur over all
>  covered pixel
>     insetad of using one pixel in the middle of the covered area
>   
>   - changed radius definition of blur and despeckle, now r=1 means nothing happens
>   
>   - extended blur routine, radius is now of type float, so you e.g. can blur with
>  a
>     radius of 1.3.
>   
>   - replaced all xsane*_scale_new* by xsane*_range_new*, the range can be
>  displayed as:
>     - slider (scale) + value on right
>     - slider (scrollbar) + value on right
>     - spinbutton
>     - scale + spinbutton
>     - scrollbar + spinbutton
>    the user can select, which disply mode he likes to use.
>   
>   - added timeout callback for xsane_resolution to set correct quantisation
>   
>   - Some people complained that the user has to accept the GPL to use the program.
>     In fact from the view of the GPL it is not necessary that the user accepts
>     the license to run the program. But it is important that the user reads
>     and accepts the "NO WARRANTY" part of the license. Due to this I created
>     two license dialogs:
>      - EULA-Dialog displays the "NO WARRANTY" part of the GPL
>      - GPL-Dialog displays the compelte GPL
>     To run the program the user has to accept the "NO WARRANTY" agreement
>     after installation and each update of xsane.
>     I hope this compromise is usable for every side. Please understand and
>     accept that it is necessary in some countries that the user accepts the
>     no warranty agreement to make sure that the authors and others do not
>     have to pay any compensation in the case of any damage
>   
>   - removed bug in scan and in preview-scan 16 bit routines when
>     sane_read returned with odd number of bytes
>   
>   - reduced maximum filename counter length from 10 digits to 9 digits.
>     (10 digits need more than long int, long long int is not portable (not ANSI
>  C))
>   
>   - update_counter_in_filename does not touch the counter when step = 0 and
>     min_length = 0
>   
>   - added preview function autoraise_scanarea (may be the name is stupid?):
>     if you select this function and click to an image then the image
>     is selected as scanarea
>   
>   - colored preview pipette icons and zoom icons
>   
>   - several changes/preparation for gtk+-2.0 - configure is not ready for gtk+-2.0
>  
>  Bye
>  Oliver
>  
>  -- 
>  Homepage:    http://www.rauch-domain.de
>  sane-umax:   http://www.rauch-domain.de/sane-umax
>  xsane:               http://www.xsane.org
>  E-Mail:              mailto:Oliver.Rauch@rauch-domain.de
>  _______________________________________________
>  Sane-devel mailing list
>  Sane-devel@www.mostang.com
>  http://www.mostang.com/mailman/listinfo/sane-devel