Ticket #758: btfull

File btfull, 15.4 KB (added by perepujal, 11 years ago)

Full backtrace , svn 2011-feb-03 plus the patch

Line 
1pere@x1000:~/Tomtom/Navegadors/navit/navit$ ./navit -c /mnt/sdcard/navit/share/navit.xml2
2Running from source directory
3config file n is set to `/mnt/sdcard/navit/share/navit.xml2'
4vehicle_file:vehicle_file_new_file:on_eof=0
5vehicle_file:vehicle_file_new_file:Failed to open 'file:/var/run/gpspipe'
6
7(process:11100): GLib-WARNING **: /build/buildd-glib2.0_2.24.0-1-i386-o5zIuQ/glib2.0-2.24.0/glib/giounix.c:406Error while getting flags for FD: El descriptor de fitxer no és vàlid (9)
8
9vehicle_file:vehicle_file_new_file:on_eof=0
10map_binfile:map_binfile_zip_setup:num_disk 0
11map_binfile:map_binfile_zip_setup:num_disk 0
12navit:main_real:Using '/mnt/sdcard/navit/share/navit.xml2'
13navit:osd_set_std_graphic:accesskey (null)
14navit:osd_set_std_graphic:accesskey (null)
15navit:osd_set_std_graphic:accesskey (null)
16navit:osd_set_std_graphic:accesskey (null)
17navit:osd_set_std_graphic:accesskey (null)
18navit:osd_set_std_graphic:accesskey (null)
19navit:osd_set_std_graphic:accesskey (null)
20navit:osd_set_std_graphic:accesskey (null)
21navit:osd_set_std_graphic:accesskey (null)
22navit:osd_set_std_graphic:accesskey (null)
23navit:osd_set_std_graphic:accesskey (null)
24navit:osd_set_std_graphic:accesskey (null)
25GNU gdb 6.8-debian
26Copyright (C) 2008 Free Software Foundation, Inc.
27License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
28This is free software: you are free to change and redistribute it.
29There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
30and "show warranty" for details.
31This GDB was configured as "i486-linux-gnu"...
32Attaching to program: /home/pere/Tomtom/Navegadors/navit/navit/navit, process 11100
33Reading symbols from /usr/lib/libgthread-2.0.so.0...done.
34Loaded symbols for /usr/lib/libgthread-2.0.so.0
35Reading symbols from /usr/lib/libgmodule-2.0.so.0...done.
36Loaded symbols for /usr/lib/libgmodule-2.0.so.0
37Reading symbols from /lib/i686/cmov/librt.so.1...Reading symbols from /usr/lib/debug/lib/i686/cmov/librt-2.11.2.so...done.
38done.
39Loaded symbols for /lib/i686/cmov/librt.so.1
40Reading symbols from /lib/libglib-2.0.so.0...done.
41Loaded symbols for /lib/libglib-2.0.so.0
42Reading symbols from /usr/lib/libz.so.1...done.
43Loaded symbols for /usr/lib/libz.so.1
44Reading symbols from /lib/i686/cmov/libm.so.6...Reading symbols from /usr/lib/debug/lib/i686/cmov/libm-2.11.2.so...done.
45done.
46Loaded symbols for /lib/i686/cmov/libm.so.6
47Reading symbols from /lib/i686/cmov/libpthread.so.0...Reading symbols from /usr/lib/debug/lib/i686/cmov/libpthread-2.11.2.so...done.
48[Thread debugging using libthread_db enabled]
49[New Thread 0xb7ce6a00 (LWP 11100)]
50done.
51Loaded symbols for /lib/i686/cmov/libpthread.so.0
52Reading symbols from /lib/i686/cmov/libc.so.6...Reading symbols from /usr/lib/debug/lib/i686/cmov/libc-2.11.2.so...done.
53done.
54Loaded symbols for /lib/i686/cmov/libc.so.6
55Reading symbols from /usr/lib/libpcre.so.3...done.
56Loaded symbols for /usr/lib/libpcre.so.3
57Reading symbols from /lib/i686/cmov/libdl.so.2...Reading symbols from /usr/lib/debug/lib/i686/cmov/libdl-2.11.2.so...done.
58done.
59Loaded symbols for /lib/i686/cmov/libdl.so.2
60Reading symbols from /lib/ld-linux.so.2...Reading symbols from /usr/lib/debug/lib/ld-2.11.2.so...done.
61done.
62Loaded symbols for /lib/ld-linux.so.2
63Reading symbols from /home/pere/Tomtom/Navegadors/navit/navit/map/textfile/.libs/libmap_textfile.so...done.
64Loaded symbols for /home/pere/Tomtom/Navegadors/navit/navit/map/textfile/.libs/libmap_textfile.so
65Reading symbols from /home/pere/Tomtom/Navegadors/navit/navit/graphics/sdl/.libs/libgraphics_sdl.so...done.
66Loaded symbols for /home/pere/Tomtom/Navegadors/navit/navit/graphics/sdl/.libs/libgraphics_sdl.so
67Reading symbols from /usr/lib/libSDL-1.2.so.0...done.
68Loaded symbols for /usr/lib/libSDL-1.2.so.0
69Reading symbols from /usr/lib/libSDL_image-1.2.so.0...done.
70Loaded symbols for /usr/lib/libSDL_image-1.2.so.0
71Reading symbols from /usr/lib/libfreetype.so.6...done.
72Loaded symbols for /usr/lib/libfreetype.so.6
73Reading symbols from /usr/lib/libfontconfig.so.1...done.
74Loaded symbols for /usr/lib/libfontconfig.so.1
75Reading symbols from /usr/lib/libasound.so.2...done.
76Loaded symbols for /usr/lib/libasound.so.2
77Reading symbols from /usr/lib/libdirectfb-1.2.so.0...done.
78Loaded symbols for /usr/lib/libdirectfb-1.2.so.0
79Reading symbols from /usr/lib/libfusion-1.2.so.0...done.
80Loaded symbols for /usr/lib/libfusion-1.2.so.0
81Reading symbols from /usr/lib/libdirect-1.2.so.0...done.
82Loaded symbols for /usr/lib/libdirect-1.2.so.0
83Reading symbols from /usr/lib/libvga.so.1...done.
84Loaded symbols for /usr/lib/libvga.so.1
85Reading symbols from /usr/lib/libtiff.so.4...done.
86Loaded symbols for /usr/lib/libtiff.so.4
87Reading symbols from /usr/lib/libjpeg.so.62...done.
88Loaded symbols for /usr/lib/libjpeg.so.62
89Reading symbols from /usr/lib/libexpat.so.1...done.
90Loaded symbols for /usr/lib/libexpat.so.1
91Reading symbols from /lib/libx86.so.1...done.
92Loaded symbols for /lib/libx86.so.1
93Reading symbols from /home/pere/Tomtom/Navegadors/navit/navit/font/freetype/.libs/libfont_freetype.so...done.
94Loaded symbols for /home/pere/Tomtom/Navegadors/navit/navit/font/freetype/.libs/libfont_freetype.so
95Reading symbols from /usr/lib/libfribidi.so.0...done.
96Loaded symbols for /usr/lib/libfribidi.so.0
97Reading symbols from /usr/lib/libX11.so.6...done.
98Loaded symbols for /usr/lib/libX11.so.6
99Reading symbols from /usr/lib/libxcb.so.1...done.
100Loaded symbols for /usr/lib/libxcb.so.1
101Reading symbols from /usr/lib/libXau.so.6...done.
102Loaded symbols for /usr/lib/libXau.so.6
103Reading symbols from /usr/lib/libXdmcp.so.6...done.
104Loaded symbols for /usr/lib/libXdmcp.so.6
105Reading symbols from /usr/lib/libXext.so.6...done.
106Loaded symbols for /usr/lib/libXext.so.6
107Reading symbols from /usr/lib/libXrender.so.1...done.
108Loaded symbols for /usr/lib/libXrender.so.1
109Reading symbols from /usr/lib/libXrandr.so.2...done.
110Loaded symbols for /usr/lib/libXrandr.so.2
111Reading symbols from /usr/lib/libXcursor.so.1...done.
112Loaded symbols for /usr/lib/libXcursor.so.1
113Reading symbols from /usr/lib/libXfixes.so.3...done.
114Loaded symbols for /usr/lib/libXfixes.so.3
115Reading symbols from /home/pere/Tomtom/Navegadors/navit/navit/gui/internal/.libs/libgui_internal.so...done.
116Loaded symbols for /home/pere/Tomtom/Navegadors/navit/navit/gui/internal/.libs/libgui_internal.so
117Reading symbols from /home/pere/Tomtom/Navegadors/navit/navit/osd/core/.libs/libosd_core.so...done.
118Loaded symbols for /home/pere/Tomtom/Navegadors/navit/navit/osd/core/.libs/libosd_core.so
119Reading symbols from /home/pere/Tomtom/Navegadors/navit/navit/vehicle/file/.libs/libvehicle_file.so...done.
120Loaded symbols for /home/pere/Tomtom/Navegadors/navit/navit/vehicle/file/.libs/libvehicle_file.so
121Reading symbols from /home/pere/Tomtom/Navegadors/navit/navit/speech/cmdline/.libs/libspeech_cmdline.so...done.
122Loaded symbols for /home/pere/Tomtom/Navegadors/navit/navit/speech/cmdline/.libs/libspeech_cmdline.so
123Reading symbols from /home/pere/Tomtom/Navegadors/navit/navit/map/binfile/.libs/libmap_binfile.so...done.
124Loaded symbols for /home/pere/Tomtom/Navegadors/navit/navit/map/binfile/.libs/libmap_binfile.so
125Reading symbols from /lib/libpng12.so.0...done.
126Loaded symbols for /lib/libpng12.so.0
1270xb7fad424 in __kernel_vsyscall ()
128#0  0xb7fad424 in __kernel_vsyscall ()
129#1  0xb7db32a3 in __waitpid_nocancel () at ../sysdeps/unix/syscall-template.S:82
130#2  0xb7d54ee3 in do_system (line=<value optimized out>) at ../sysdeps/posix/system.c:149
131#3  0xb7e723bd in system (line=0xbf7ca810 "gdb -ex bt ./navit 11100") at pt-system.c:29
132#4  0x080607f8 in sigsegv (sig=11) at debug.c:80
133#5  <signal handler called>
134#6  0x08062f5e in draw_circle (pnt=0xbf7cb980, diameter=291, scale=5, start=1244, len=-512, res=0xbf7caed0, pos=0xfffffe85, dir=-1) at graphics.c:1129
135#7  0x080649e2 in graphics_draw_polyline_as_polygon (gra=0x857d388, gc=0x8751ed8, pnt=0xbf7cb740, count=73, width=0xbf7cb600, step=1) at graphics.c:1312
136#8  0x08065338 in graphics_draw_polyline_clipped (gra=0x857d388, gc=0x8751ed8, pa=0xbf7cba50, count=73, width=0xbf7eba60, step=1, poly=1)
137    at graphics.c:1470
138#9  0x08066271 in displayitem_draw (di=0x874df98, dummy=<value optimized out>, dc=0x8578014) at graphics.c:1719
139#10 0x08066a99 in graphics_displaylist_draw (gra=0x857d388, displaylist=0x8578000, trans=0x8572b88, l=0x8618420, flags=<value optimized out>)
140    at graphics.c:1828
141#11 0x08066d95 in do_draw (displaylist=0x8578000, cancel=0, flags=1) at graphics.c:2069
142#12 0x0805d9d7 in callback_call (cb=0x8757f60, pcount=0, p=0xbf81bd10) at callback.c:175
143#13 0x0805dcc8 in callback_call_args (cb=0x8757f60, count=0) at callback.c:202
144#14 0x0805b0b8 in event_glib_call_idle (ev=0x8696db8) at event_glib.c:139
145#15 0xb7ef1361 in ?? () from /lib/libglib-2.0.so.0
146#16 0x08696db8 in ?? ()
147#17 0x086a11a8 in ?? ()
148#18 0xbf81bd88 in ?? ()
149#19 0xb7f80228 in ?? () from /lib/libglib-2.0.so.0
150#20 0xb7f80228 in ?? () from /lib/libglib-2.0.so.0
151#21 0xb7f80228 in ?? () from /lib/libglib-2.0.so.0
152#22 0xbf81bde8 in ?? ()
153#23 0xb7ef32e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
154Backtrace stopped: frame did not save the PC
155(gdb) bt full
156#0  0xb7fad424 in __kernel_vsyscall ()
157No symbol table info available.
158#1  0xb7db32a3 in __waitpid_nocancel () at ../sysdeps/unix/syscall-template.S:82
159No locals.
160#2  0xb7d54ee3 in do_system (line=<value optimized out>) at ../sysdeps/posix/system.c:149
161        __result = -512
162        _buffer = {__routine = 0xb7d55280 <cancel_handler>, __arg = 0xbf7ca7d4, __canceltype = 0, __prev = 0x0}
163        _avail = 1
164        status = <value optimized out>
165        save = <value optimized out>
166        pid = 11101
167        sa = {__sigaction_handler = {sa_handler = 0x1, sa_sigaction = 0x1}, sa_mask = {__val = {65536, 0 <repeats 31 times>}}, sa_flags = 0,
168  sa_restorer = 0xbf7ca778}
169        omask = {__val = {1024, 0, 3086527176, 0, 3212617620, 3212617768, 3085332713, 0, 4294967295, 0, 134547808, 0, 0, 0, 3212617864, 0, 3084413362,
170    3084002212, 3086527872, 3212617652, 4294967295, 3086786548, 3085332713, 1, 3212617680, 3086726838, 3086527616, 3085319408, 1, 1, 0, 1}}
171#3  0xb7e723bd in system (line=0xbf7ca810 "gdb -ex bt ./navit 11100") at pt-system.c:29
172No locals.
173#4  0x080607f8 in sigsegv (sig=11) at debug.c:80
174        buffer = "gdb -ex bt ./navit 11100\000\001\000\000]\000\000\000ï¿œ\001\000\000f\000\000\000ï¿œ\001\000\000\200ï¿œ\225Xï¿œ\001\000\000|\000\000\000\000ᅵᅵᅵ ï¿œ\t\bï¿œC\t\b\006\000\000\000xï¿œ|ï¿œmï¿œ\005\b0ï¿œV\bᅵᅵ|ᅵᅵᅵ|ï¿œ\204\\\t\bKï¿œ\005\b ï¿œ\t\bᅵᅵ|ᅵᅵᅵ\005\bᅵᅵ|ï¿œ\204\\\t\bï¿œC\t\bï¿œm\t\b\201\000\000\000\024\000\000\000\205\000\000\000\227ï¿œ\005\bnavit:transform\000ï¿œ\233u\b\001\000\000\000\b\000\000\000ᅵᅵԷᅵ\233u\b`ï¿œ|ᅵᅵᅵ|ᅵ΢Էᅵᅵ|ᅵᅵᅵ|ï¿œ"...
175#5  <signal handler called>
176No symbol table info available.
177#6  0x08062f5e in draw_circle (pnt=0xbf7cb980, diameter=291, scale=5, start=1244, len=-512, res=0xbf7caed0, pos=0xfffffe85, dir=-1) at graphics.c:1129
178        end = 732
179        i = <value optimized out>
180        step = 1
181#7  0x080649e2 in graphics_draw_polyline_as_polygon (gra=0x857d388, gc=0x8751ed8, pnt=0xbf7cb740, count=73, width=0xbf7cb600, step=1) at graphics.c:1312
182        pos = {x = -406, y = 2332}
183        poso = {x = -267, y = 1937}
184        neg = {x = -127, y = 2411}
185        nego = {x = -34, y = 1995}
186        i = 72
187        dx = -116
188        dy = 406
189        l = 6752
190        dxo = 116
191        dyo = -406
192---Type <return> to continue, or q <return> to quit---
193        o = {px = -40, py = 139, nx = 39, ny = -140}
194        oo = {px = -40, py = 139, nx = 39, ny = -140}
195        fow = 732
196        fowo = 732
197        delta = 2
198        wi = 291
199        ppos = 170
200        npos = -2
201        state = 2
202        lscale = 16
203        __PRETTY_FUNCTION__ = "graphics_draw_polyline_as_polygon"
204#8  0x08065338 in graphics_draw_polyline_clipped (gra=0x857d388, gc=0x8751ed8, pa=0xbf7cba50, count=73, width=0xbf7eba60, step=1, poly=1)
205    at graphics.c:1470
206        i = 72
207        code = 5
208        out = 73
209        wmax = <value optimized out>
210#9  0x08066271 in displayitem_draw (di=0x874df98, dummy=<value optimized out>, dc=0x8578014) at graphics.c:1719
211        i = <value optimized out>
212        count = 73
213        mindist = 11
214        gra = (struct graphics *) 0x857d388
215        gc = (struct graphics_gc *) 0x8751ed8
216        e = (struct element *) 0x862c620
217        img = (struct graphics_image *) 0x0
218        p = {x = -1082147960, y = 134624664}
219        path = <value optimized out>
220        __PRETTY_FUNCTION__ = "displayitem_draw"
221#10 0x08066a99 in graphics_displaylist_draw (gra=0x857d388, displaylist=0x8578000, trans=0x8572b88, l=0x8618420, flags=<value optimized out>)
222    at graphics.c:1828
223        order = 14
224#11 0x08066d95 in do_draw (displaylist=0x8578000, cancel=0, flags=1) at graphics.c:2069
225        item = (struct item *) 0x0
226        count = 0
227        max = 16384
228        workload = 12
229        attr = {type = attr_label, u = {str = 0x8762404 "", data = 0x8762404, num = 141960196, item = 0x8762404, item_type = 141960196,
230    projection = 141960196, numd = 0x8762404, color = 0x8762404, coord_geo = 0x8762404, navit = 0x8762404, callback = 0x8762404,
231---Type <return> to continue, or q <return> to quit---
232    callback_list = 0x8762404, vehicle = 0x8762404, layout = 0x8762404, layer = 0x8762404, map = 0x8762404, mapset = 0x8762404, log = 0x8762404,
233    route = 0x8762404, navigation = 0x8762404, coord = 0x8762404, pcoord = 0x8762404, gui = 0x8762404, graphics = 0x8762404, tracking = 0x8762404,
234    itemgra = 0x8762404, plugin = 0x8762404, plugins = 0x8762404, polygon = 0x8762404, polyline = 0x8762404, circle = 0x8762404, text = 0x8762404,
235    icon = 0x8762404, image = 0x8762404, arrows = 0x8762404, element = 0x8762404, speech = 0x8762404, cursor = 0x8762404, displaylist = 0x8762404,
236    transformation = 0x8762404, vehicleprofile = 0x8762404, roadprofile = 0x8762404, bookmarks = 0x8762404, range = {min = 9220, max = 2166},
237    dash = 0x8762404, item_types = 0x8762404, attr_types = 0x8762404, num64 = 0x8762404, attrs = 0x8762404}}
238        attr2 = {type = 134813848, u = {str = 0xd <Address 0xd out of bounds>, data = 0xd, num = 13, item = 0xd, item_type = 13, projection = 13,
239    numd = 0xd, color = 0xd, coord_geo = 0xd, navit = 0xd, callback = 0xd, callback_list = 0xd, vehicle = 0xd, layout = 0xd, layer = 0xd, map = 0xd,
240    mapset = 0xd, log = 0xd, route = 0xd, navigation = 0xd, coord = 0xd, pcoord = 0xd, gui = 0xd, graphics = 0xd, tracking = 0xd, itemgra = 0xd,
241    plugin = 0xd, plugins = 0xd, polygon = 0xd, polyline = 0xd, circle = 0xd, text = 0xd, icon = 0xd, image = 0xd, arrows = 0xd, element = 0xd,
242    speech = 0xd, cursor = 0xd, displaylist = 0xd, transformation = 0xd, vehicleprofile = 0xd, roadprofile = 0xd, bookmarks = 0xd, range = {min = 13,
243      max = 0}, dash = 0xd, item_types = 0xd, attr_types = 0xd, num64 = 0xd, attrs = 0xd}}
244        pro = projection_mg
245        __PRETTY_FUNCTION__ = "do_draw"
246#12 0x0805d9d7 in callback_call (cb=0x8757f60, pcount=0, p=0xbf81bd10) at callback.c:175
247        i = <value optimized out>
248        pf = {0x8578000, 0x0, 0x1, 0x87584c8, 0xb7f1d07e, 0xb7fa8284, 0xb7fa816b, 0x4d49e2c1}
249        __PRETTY_FUNCTION__ = "callback_call"
250#13 0x0805dcc8 in callback_call_args (cb=0x8757f60, count=0) at callback.c:202
251        i = -2
252#14 0x0805b0b8 in event_glib_call_idle (ev=0x8696db8) at event_glib.c:139
253No locals.
254#15 0xb7ef1361 in ?? () from /lib/libglib-2.0.so.0
255No symbol table info available.
256#16 0x08696db8 in ?? ()
257No symbol table info available.
258#17 0x086a11a8 in ?? ()
259No symbol table info available.
260#18 0xbf81bd88 in ?? ()
261No symbol table info available.
262#19 0xb7f80228 in ?? () from /lib/libglib-2.0.so.0
263No symbol table info available.
264#20 0xb7f80228 in ?? () from /lib/libglib-2.0.so.0
265No symbol table info available.
266#21 0xb7f80228 in ?? () from /lib/libglib-2.0.so.0
267No symbol table info available.
268#22 0xbf81bde8 in ?? ()
269No symbol table info available.
270---Type <return> to continue, or q <return> to quit---
271#23 0xb7ef32e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
272No symbol table info available.
273Backtrace stopped: frame did not save the PC
274(gdb)