Package: simutrans-makeobj Version: 99.18~0.svn1664-2 Severity: important Hi, I wanted to give some contributions to the SimuTrans project, so I wanted to look inside standard .pak files to see how they were made.
One thing I tried is: $ makeobj dump vehicle.SMPoiltruck.pak (where the .pak is the one present in /usr/share/games/simutrans/pak/) Unexpectedly, makeobj crashed: Makeobj version 49 for simutrans 99.18 nightly and higher (c) 2002-2006 V. Meyer , Hj. Malthaner, M. Pristovsek ([EMAIL PROTECTED]) File vehicle.SMPoiltruck.pak (version 1001): ROOT-node (root) 0 bytes VHCL-node (vehicle) 31 bytes TEXT-node (text) 12 bytes 'SMPoiltruck' TEXT-node (text) 7 bytes 'Simppe' XREF-node (xref) 9 bytes -> GOOD-node 'Oel' XREF-node (xref) 12 bytes -> SMOK-node '' IMG1-node (imagelist) 4 bytes IMG-node (image) 792 bytes IMG-node (image) 724 bytes IMG-node (image) 828 bytes IMG-node (image) 658 bytes IMG-node (image) 724 bytes IMG-node (image) 778 bytes IMG-node (image) 828 bytes IMG-node (image) 666 bytes XREF-node (xref) 6 bytes -> IMG1-node '' XREF-node (xref) 6 bytes -> VHCL-node '' *** glibc detected *** ./makeobj: double free or corruption (!prev): 0x0806a9a8 *** ======= Backtrace: ========= /lib/i686/cmov/libc.so.6[0xb7cd9564] /lib/i686/cmov/libc.so.6(cfree+0x96)[0xb7cdb766] /lib/i686/cmov/libc.so.6(fclose+0x144)[0xb7cc9194] ./makeobj[0x80508de] ./makeobj[0x8050929] ./makeobj(__gxx_personality_v0+0x3d6)[0x80498ee] /lib/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0xb7c81456] ./makeobj(__gxx_personality_v0+0xa9)[0x80495c1] ======= Memory map: ======== 08048000-08061000 r-xp 00000000 08:06 1495391 /home/neo/work/st/makeobj 08061000-08062000 rwxp 00019000 08:06 1495391 /home/neo/work/st/makeobj 08062000-08083000 rwxp 08062000 00:00 0 [heap] b7b00000-b7b21000 rwxp b7b00000 00:00 0 b7b21000-b7c00000 ---p b7b21000 00:00 0 b7c55000-b7c56000 rwxp b7c55000 00:00 0 b7c56000-b7c6a000 r-xp 00000000 08:01 14328 /usr/lib/libz.so.1.2.3.3 b7c6a000-b7c6b000 rwxp 00013000 08:01 14328 /usr/lib/libz.so.1.2.3.3 b7c6b000-b7dc0000 r-xp 00000000 08:01 216808 /lib/i686/cmov/libc-2.7.so b7dc0000-b7dc1000 r-xp 00155000 08:01 216808 /lib/i686/cmov/libc-2.7.so b7dc1000-b7dc3000 rwxp 00156000 08:01 216808 /lib/i686/cmov/libc-2.7.so b7dc3000-b7dc6000 rwxp b7dc3000 00:00 0 b7dc6000-b7dd2000 r-xp 00000000 08:01 206203 /lib/libgcc_s.so.1 b7dd2000-b7dd3000 rwxp 0000b000 08:01 206203 /lib/libgcc_s.so.1 b7dd3000-b7df7000 r-xp 00000000 08:01 216857 /lib/i686/cmov/libm-2.7.so b7df7000-b7df9000 rwxp 00023000 08:01 216857 /lib/i686/cmov/libm-2.7.so b7df9000-b7dfa000 rwxp b7df9000 00:00 0 b7dfa000-b7edc000 r-xp 00000000 08:01 42462 /usr/lib/libstdc++.so.6.0.10 b7edc000-b7edf000 r-xp 000e2000 08:01 42462 /usr/lib/libstdc++.so.6.0.10 b7edf000-b7ee1000 rwxp 000e5000 08:01 42462 /usr/lib/libstdc++.so.6.0.10 b7ee1000-b7ee7000 rwxp b7ee1000 00:00 0 b7ee7000-b7f09000 r-xp 00000000 08:01 16693 /usr/lib/libpng12.so.0.15.0 b7f09000-b7f0a000 rwxp 00021000 08:01 16693 /usr/lib/libpng12.so.0.15.0 b7f1e000-b7f21000 rwxp b7f1e000 00:00 0 b7f21000-b7f3b000 r-xp 00000000 08:01 568075 /lib/ld-2.7.so b7f3b000-b7f3d000 rwxp 0001a000 08:01 568075 /lib/ld-2.7.so bf96c000-bf981000 rw-p bffeb000 00:00 0 [stack] ffffe000-fffff000 r-xp 00000000 00:00 0 [vdso] Abortito (core dumped) $ I've also recompiled the debian package with debug symbols enabled (i.e. not using dh_strip), but no additional information was available. I'm sorry I can't give any more information. Thanks, David P.S.: do you know any (un-)official guide to make PAKs? :) -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.23-1-686 (SMP w/1 CPU core) Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages simutrans-makeobj depends on: ii libc6 2.7-9 GNU C Library: Shared libraries ii libgcc1 1:4.3.0-2 GCC support library ii libpng12-0 1.2.15~beta5-3 PNG library - runtime ii libstdc++6 4.3.0-2 The GNU Standard C++ Library v3 -- . ''`. Debian maintainer | http://wiki.debian.org/DavidPaleino : :' : Linuxer #334216 --|-- http://www.hanskalabs.net/ `. `'` GPG: 1392B174 ----|---- http://snipr.com/qa_page `- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
signature.asc
Description: PGP signature
_______________________________________________ Pkg-games-devel mailing list Pkg-games-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-games-devel