[ scummvm-Bugs-3612696 ] Segmentation fault on startup on Ubuntu 12.04 precise armv7l

SourceForge.net noreply at sourceforge.net
Sun May 5 19:57:44 CEST 2013


Bugs item #3612696, was opened at 2013-05-05 10:57
Message generated for change (Tracker Item Submitted) made by katiahayati
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=3612696&group_id=37116

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Unknown Crash/Other
Group: All Games
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Katia Hayati (katiahayati)
Assigned to: Nobody/Anonymous (nobody)
Summary: Segmentation fault on startup on Ubuntu 12.04 precise armv7l

Initial Comment:
This problem is present for me when I compile git master on Ubuntu precise on an armv7l processor (Samsung Chromebook running crouton).  The valgrind output is:

-----------
hayati at localhost:~/git/scummvm$ valgrind ./scummvm 
==3734== Memcheck, a memory error detector
==3734== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
==3734== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
==3734== Command: ./scummvm
==3734== 
WARNING: SDL mixer output buffer size: 1024 differs from desired: 2048!
==3734== Syscall param writev(vector[...]) points to uninitialised byte(s)
==3734==    at 0x4B02276: __libc_do_syscall (libc-do-syscall.S:47)
==3734==    by 0x4B77143: writev (writev.c:56)
==3734==    by 0x4E9DF4D: ??? (in /usr/lib/arm-linux-gnueabihf/libxcb.so.1.1.0)
==3734==  Address 0x52f63f3 is 19 bytes inside a block of size 16,384 alloc'd
==3734==    at 0x482C778: calloc (in /usr/lib/valgrind/vgpreload_memcheck-arm-linux.so)
==3734== 
WARNING: Could not find theme 'scummmodern' falling back to builtin!
==3734== Invalid read of size 4
==3734==    at 0x22F8EA: scale3x(void*, unsigned int, void const*, unsigned int, unsigned int, unsigned int, unsigned int) (scalebit.cpp:149)
==3734==  Address 0x68bb60cf is not stack'd, malloc'd or (recently) free'd
==3734== 
==3734== 
==3734== HEAP SUMMARY:
==3734==     in use at exit: 3,281,702 bytes in 2,698 blocks
==3734==   total heap usage: 17,923 allocs, 15,225 frees, 6,104,089 bytes allocated
==3734== 
==3734== LEAK SUMMARY:
==3734==    definitely lost: 24 bytes in 3 blocks
==3734==    indirectly lost: 104 bytes in 4 blocks
==3734==      possibly lost: 12 bytes in 1 blocks
==3734==    still reachable: 3,281,562 bytes in 2,690 blocks
==3734==         suppressed: 0 bytes in 0 blocks
==3734== Rerun with --leak-check=full to see details of leaked memory
==3734== 
==3734== For counts of detected and suppressed errors, rerun with: -v
==3734== Use --track-origins=yes to see where uninitialised values come from
==3734== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 2 from 1)
Segmentation fault (core dumped)
----------------

This problem also occurs when I use the precompiled binary via apt-get.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=3612696&group_id=37116




More information about the Scummvm-tracker mailing list