maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [FIXED] Sygic Mobile Maps 9/10 Segmentation fault (https://talk.maemo.org/showthread.php?t=65313)

Metalov 2010-11-08 22:45

[FIXED] Sygic Mobile Maps 9/10 Segmentation fault
 
I've had a problem with my Sygic Mobile Maps 9 since a few months ago that it occasionally crashes. Reinstalling and, more recently, updating to 10 didn't change anything.
I decided to run it through the terminal to see what's happening. Here's the output:

~ $ /opt/sygic/Drive/Maemo/drive -cwd=/home/user/MyDocs/Drive/Maemo -rfull
> set_stream 'ALSA Playback'
Stack info:
#0 /opt/sygic/Drive/Maemo/drive [0x254890]
#1 /lib/libc.so.6 [0x40a4d218]
#2 /lib/libc.so.6(__libc_malloc+0xb8) [0x40a4e878]
#3 /opt/sygic/Drive/Maemo/drive [0x213264]
Segmentation fault
~ $

What's exactly happening and what can I possibly do about it?

Metalov 2010-11-09 12:32

Re: Sygic Mobile Maps 9/10 Segmentation fault
 
Bump
10 characters

Metalov 2010-11-10 14:58

Re: Sygic Mobile Maps 9/10 Segmentation fault
 
Bump... any help?:x

kinggo 2010-11-11 20:21

Re: Sygic Mobile Maps 9/10 Segmentation fault
 
Well, I believe that your installation is somehow broken or something because segmentation fault usually appears when permissions are wrong. So ether you can't read from that location or you can't write to that location or something like that.

Metalov 2010-11-12 07:20

Re: Sygic Mobile Maps 9/10 Segmentation fault
 
Do you suggest I should play around with libc.so.6's and drive's permissions?
What does that stack info mean anyway?

Thanks in advance.

Edit: chmod 777 drive didn't help, still segfaulting.The segfault doesn't happen immediately upon start, it happens only while in certain locations (either navigating or zooming the map). What I mean is I can force it to segfault.... example: zooming in and out of Warsaw. It always segfaults. However, it never happens in Berlin or London for instance.

Edit2: just got it to segfault and display more info:

/ $ /opt/sygic/Drive/Maemo/drive -cwd=/home/user/MyDocs/Drive/Maemo -rfull
> set_stream 'ALSA Playback'
*** glibc detected *** /opt/sygic/Drive/Maemo/drive: munmap_chunk(): invalid pointer: 0x009d83b0 ***
======= Backtrace: =========
/lib/libc.so.6[0x40a4b23c]
/lib/libc.so.6[0x40a4c090]
/lib/libc.so.6(cfree+0x150)[0x40a4c880]
/usr/lib/libstdc++.so.6(_ZdlPv+0x14)[0x4092c0dc]
/usr/lib/libstdc++.so.6(_ZdaPv+0xc)[0x4092c104]
/opt/sygic/Drive/Maemo/drive[0x224074]
[0x0]
/opt/sygic/Drive/Maemo/drive[0x392b84]
======= Memory map: ========
00008000-0037f000 r-xp 00000000 b3:0a 115027 /opt/sygic/Drive/Maemo/drive
00386000-00394000 rw-p 00376000 b3:0a 115027 /opt/sygic/Drive/Maemo/drive
00394000-00e31000 rw-p 00394000 00:00 0 [heap]
40000000-4001c000 r-xp 00000000 fe:01 407693 /lib/ld-2.5.so
4001c000-40023000 rw-p 4001c000 00:00 0
40023000-40025000 rw-p 0001b000 fe:01 407693 /lib/ld-2.5.so
40025000-40028000 r--s 00000000 fe:01 413323 /usr/lib/gconv/gconv-modules.cache
40028000-40029000 rw-p 40028000 00:00 0
40030000-40114000 r-xp 00000000 fe:01 254580 /usr/lib/libX11.so.6.2.0
40114000-4011b000 ---p 000e4000 fe:01 254580 /usr/lib/libX11.so.6.2.0
4011b000-4011f000 rw-p 000e3000 fe:01 254580 /usr/lib/libX11.so.6.2.0
4011f000-40134000 r-xp 00000000 fe:01 407695 /lib/libpthread-2.5.so
40134000-4013b000 ---p 00015000 fe:01 407695 /lib/libpthread-2.5.so
4013b000-4013c000 r--p 00014000 fe:01 407695 /lib/libpthread-2.5.so
4013c000-4013d000 rw-p 00015000 fe:01 407695 /lib/libpthread-2.5.so
4013d000-4013f000 rw-p 4013d000 00:00 0
4013f000-40159000 r-xp 00000000 fe:01 408341 /usr/lib/libdbus-glib-1.so.2.1.0
40159000-40161000 ---p 0001a000 fe:01 408341 /usr/lib/libdbus-glib-1.so.2.1.0
40161000-40162000 rw-p 0001a000 fe:01 408341 /usr/lib/libdbus-glib-1.so.2.1.0
40162000-401e6000 r-xp 00000000 fe:01 408557 /usr/lib/libgdk-x11-2.0.so.0.1400.7
401e6000-401ed000 ---p 00084000 fe:01 408557 /usr/lib/libgdk-x11-2.0.so.0.1400.7
401ed000-401f0000 rw-p 00083000 fe:01 408557 /usr/lib/libgdk-x11-2.0.so.0.1400.7
401f0000-4055c000 r-xp 00000000 fe:01 408556 /usr/lib/libgtk-x11-2.0.so.0.1400.7
4055c000-40564000 ---p 0036c000 fe:01 408556 /usr/lib/libgtk-x11-2.0.so.0.1400.7
40564000-4056a000 rw-p 0036c000 fe:01 408556 /usr/lib/libgtk-x11-2.0.so.0.1400.7
4056a000-4056b000 rw-p 4056a000 00:00 0
4056b000-40582000 r-xp 00000000 fe:01 408558 /usr/lib/libgdk_pixbuf-2.0.so.0.1400.7
40582000-40589000 ---p 00017000 fe:01 408558 /usr/lib/libgdk_pixbuf-2.0.so.0.1400.7
40589000-4058a000 rw-p 00016000 fe:01 408558 /usr/lib/libgdk_pixbuf-2.0.so.0.1400.7
4058a000-40593000 r-xp 00000000 fe:01 254688 /usr/lib/libpangocairo-1.0.so.0.2400.2
40593000-4059a000 ---p 00009000 fe:01 254688 /usr/lib/libpangocairo-1.0.so.0.2400.2
4059a000-4059b000 rw-p 00008000 fe:01 254688 /usr/lib/libpangocairo-1.0.so.0.2400.2
4059b000-405d9000 r-xp 00000000 fe:01 254702 /usr/lib/libpango-1.0.so.0.2400.2
405d9000-405e0000 ---p 0003e000 fe:01 254702 /usr/lib/libpango-1.0.so.0.2400.2
405e0000-405e2000 rw-p 0003d000 fe:01 254702 /usr/lib/libpango-1.0.so.0.2400.2
405e2000-40641000 r-xp 00000000 fe:01 254596 /usr/lib/libcairo.so.2.10800.8
40641000-40649000 ---p 0005f000 fe:01 254596 /usr/lib/libcairo.so.2.10800.8
40649000-4064b000 rw-p 0005f000 fe:01 254596 /usr/lib/libcairo.so.2.10800.8
4064b000-4068b000 r-xp 00000000 fe:01 254106 /usr/lib/libgobject-2.0.so.0.2000.3
4068b000-4068c000 rw-p 00040000 fe:01 254106 /usr/lib/libgobject-2.0.so.0.2000.3
4068c000-406fd000 r-xp 00000000 fe:01 408621 /usr/lib/libhildon-1.so.0.18.7
406fd000-40704000 ---p 00071000 fe:01 408621 /usr/lib/libhildon-1.so.0.18.7
40704000-40707000 rw-p 00070000 fe:01 408621 /usr/lib/libhildon-1.so.0.18.7
40707000-4071b000 r-xp 00000000 fe:01 409269 /usr/lib/libhildondesktop-1.so.0.0.0
4071b000-40722000 ---p 00014000 fe:01 409269 /usr/lib/libhildondesktop-1.so.0.0.0
40722000-40723000 rw-p 00013000 fe:01 409269 /usr/lib/libhildondesktop-1.so.0.0.0
40723000-4072b000 r-xp 00000000 fe:01 259896 /usr/lib/liblocation.so.0.0.0
4072b000-40732000 ---p 00008000 fe:01 259896 /usr/lib/liblocation.so.0.0.0
40732000-40733000 rw-p 00007000 fe:01 259896 /usr/lib/liblocation.so.0.0.0
40733000-40741000 r-xp 00000000 fe:01 408650 /usr/lib/libosso.so.1.3.0
40741000-40749000 ---p 0000e000 fe:01 408650 /usr/lib/libosso.so.1.3.0
40749000-4074a000 rw-p 0000e000 fe:01 408650 /usr/lib/libosso.so.1.3.0
4074a000-40751000 r-xp 00000000 fe:01 2552Aborted
/ $

kinggo 2010-11-12 11:36

Re: Sygic Mobile Maps 9/10 Segmentation fault
 
well, invalid pointer is pretty much what the name suggests. So if this happens only on certain maps maybe your problem is that some of the maps are broken somehow.
How did you install sygic? From ovi? When you were upgrading did you remove everything from v9? First uninstalled V9 and then removed Drive, Res and Maps from MyDocs?

biteableniles 2010-11-12 14:26

Re: Sygic Mobile Maps 9/10 Segmentation fault
 
I had a similar error when I first installed Sygic 10 on PR1.3; turns out I was trying to use the program with maps from Sygic 9. It kept crashing out until I re-downloaded the (Sygic 10) maps and put them onto the device.

kinggo 2010-11-12 16:32

Re: Sygic Mobile Maps 9/10 Segmentation fault
 
kinda like broken maps ;)

Metalov 2010-11-12 18:38

Re: Sygic Mobile Maps 9/10 Segmentation fault
 
I've just uninstalled the application, removed Res, Drive and Maps, installed it again and copied the stuff back. Still segfaulting. Could a file system corruption be possibly causing this?

kinggo 2010-11-12 21:51

Re: Sygic Mobile Maps 9/10 Segmentation fault
 
Yes, but unlikely. Have you tried to run sygic without maps? Of course, it will tell you that there are no maps loaded but it should start normally. Or try to find some other maps, maybe those you have are corrupted.


All times are GMT. The time now is 15:03.

vBulletin® Version 3.8.8