jeroen@elmer /dev/shm/O1/portage/app-arch/lzma-utils-4.32.6/work/lzma-4.32.6/src/lzma $ gdb ./lzma GNU gdb 6.8 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "hppa2.0-unknown-linux-gnu"... (gdb) run -c < in > out Starting program: /dev/shm/O1/portage/app-arch/lzma-utils-4.32.6/work/lzma-4.32.6/src/lzma/lzma -c < in > out Program received signal SIGSEGV, Segmentation fault. 0x00024408 in NCompress::NLZMA::CEncoder::Create (this=0x4000a008) at ../../../Common/MyCom.h:32 32 p->AddRef(); (gdb) info args this = (class NCompress::NLZMA::CEncoder * const) 0x4000a008 (gdb) info locals No locals. (gdb) info catch print_frame_label_vars disabled. (gdb) bt full #0 0x00024408 in NCompress::NLZMA::CEncoder::Create (this=0x4000a008) at ../../../Common/MyCom.h:32 No locals. #1 0x00024704 in NCompress::NLZMA::CEncoder::SetStreams (this=0x33060, inStream=0x1, outStream=0xffffffd3, inSize=0x12, outSize=0x0) at LZMAEncoder.cpp:1251 __result_ = #2 0x000299c8 in NCompress::NLZMA::CEncoder::CodeReal (this=0x33060, inStream=0x1, outStream=0xffffffd3, inSize=0x12, outSize=0x0, progress=0x8f80c960) at LZMAEncoder.cpp:1229 __result_ = #3 0x00029b50 in NCompress::NLZMA::CEncoder::Code (this=0x33060, inStream=0x1, outStream=0xffffffd3, inSize=0x12, outSize=0x0, progress=0x0) at LZMAEncoder.cpp:1455 No locals. #4 0x000178b8 in lzma::encode (encoderSpec=0x4000a008, inStream=@0xfb0123a0, outStream=@0xfb01239c, encoder_options= {compression_mode = 2, dictionary = 23, fast_bytes = 128, match_finder = 0x2bc48, literal_context_bits = 3, literal_pos_bits = 0, pos_bits = 2}, fileSize=18446744073709551615) at lzmp.cpp:434 result = #5 0x0001a3d0 in main (argc=, argv=0xfb012018) at lzmp.cpp:865 encoderSpec = (class NCompress::NLZMA::CEncoder *) 0x4000a008 options = {compression_mode = 2, dictionary = 23, fast_bytes = 128, match_finder = 0x2bc48, literal_context_bits = 3, literal_pos_bits = 0, pos_bits = 2} outStream = {_p = 0x33050} outhandle = 1 out_stats = {st_dev = 4294967295, __pad1 = 65535, __st_ino = 1, st_mode = 0, st_nlink = 73532, st_uid = 1074895568, st_gid = 4211155784, st_rdev = 4628570515195403400, __pad2 = 0, st_size = 12801089560, st_blksize = -83812316, st_blocks = 382097470720796, st_atim = {tv_sec = 0, tv_nsec = 843936}, st_mtim = {tv_sec = 712704, tv_nsec = 0}, st_ctim = {tv_sec = 0, tv_nsec = 882368}, st_ino = 4294967296} inStream = {_p = 0x33040} fileSize = 18446744073709551615 inhandle = 0 in_stats = {st_dev = 0, __pad1 = 16401, __st_ino = 0, st_mode = 0, st_nlink = 1074796279, st_uid = 1083179008, st_gid = 0, st_rdev = 1180429911144267777, __pad2 = 0, st_size = 4294967296, st_blksize = 1, st_blocks = 4616641312249088760, st_atim = {tv_sec = 1074891000, tv_nsec = 1076325716}, st_mtim = {tv_sec = 174627, tv_nsec = 1074810803}, st_ctim = {tv_sec = 1074893128, tv_nsec = 0}, st_ino = 4211155968} in_stats_ok = output_filename = {static npos = 4294967295, _M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x31574 ""}} out_stats_ok = i = 0 filenames = {, std::allocator >,std::allocator, std::allocator > > >> = { _M_impl = {, std::allocator > >> = {<__gnu_cxx::new_allocator, std::allocator > >> = {}, }, _M_start = 0x33030, _M_finish = 0x33034, _M_end_of_storage = 0x33034}}, } warning = false (gdb) info f Stack level 0, frame at 0xfb012880: pc = 0x24408 in NCompress::NLZMA::CEncoder::Create() (../../../Common/MyCom.h:32); saved pc 0x24704 called by frame at 0xfb012800 source language c++. Arglist at 0xfb012880, args: this=0x4000a008 Locals at 0xfb012880, Previous frame's sp is 0xfb012880 Saved registers: rp at 0xfb01286c, r3 at 0xfb01288c, r4 at 0xfb012888, r5 at 0xfb012884, r6 at 0xfb012880, pcoqh at 0xfb01286c (gdb)