[argyllcms] Re: V0.70 Beta 3 Mac OSX bus error

Hope that's better!
Sorry I'm not a programer.

$ gdb ./dispwin
GNU gdb 6.1-20040303 (Apple version gdb-437) (Fri Jan 13 18:45:48 GMT 2006)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or 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. This GDB was configured as "i386-apple-darwin"...Reading symbols for shared libraries ..... done

(gdb) run
Starting program: /Users/ot521andrejj/Desktop/Bris/argyll_dev_src/ spectro/dispwin Reading symbols for shared libraries .............................................................. ... done
Reading symbols for shared libraries . done
Found 1 screens

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
0x00001f15 in get_displays () at dispwin.c:299
299 if (strcmp(k, "en_US") == 0) { /* We're assuming english only */
(gdb) bt
#0  0x00001f15 in get_displays () at dispwin.c:299
#1  0x000021be in get_a_display (ix=0) at dispwin.c:489
#2  0x00003f64 in main (argc=1, argv=0xbffff9d0) at dispwin.c:1892






------------------------------------------------------------------
Andrej Javoršek univ. dipl. inž.
Laboratorij za barvno upravljanje
NTF - Oddelek za tektilstvo
Katedra za informacijsko in grafično tehnologijo
Snežniška 5
1000 Ljubljana
Slovenija

Telefon: +386 1 200 32 63
E-pošta: andrej.javorsek@xxxxxxxxxxxxx
------------------------------------------------------------------



On 2007.4.20, at 14:02, Graeme Gill wrote:

Andrej Javoršek wrote:
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
0x00002589 in get_displays ()
(gdb) bt
#0  0x00002589 in get_displays ()
#1  0x00002989 in get_a_display ()
#2  0x00003f6b in main ()
(gdb) quit
The program is running.  Exit anyway? (y or n) y
Hope this suffice!

Sorry, no, it's not much good because there's no line numbers.
It needs to be a debug compile to show line numbers,
the code offsets don't help much, since they depend on
too many details of the particular build (platform, compiler
version etc.)

Graeme Gill.

Other related posts: