Issue Details (XML | Word | Printable)

Key: CORE-3150
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Alexander Peshkov
Reporter: Damyan Ivanov
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Firebird Core

segmentation fault in gbak when interrupted with Ctrl-C

Created: 29/Sep/10 12:23 PM   Updated: 23/Apr/13 11:44 AM
Component/s: GBAK
Affects Version/s: 2.5.0
Fix Version/s: 2.5.1

Time Tracking:
Not Specified

Environment: Debian GNU/Linux sid/amd64, classic build

Planning Status: Unspecified


 Description  « Hide
Most of the time when I interrupt gbak with Ctrl-C while backing up, it terminates with a segmentation fault.

The problem may be related to CORE-3143 (gstat segfaults when interrupted), but since the offending code seems to be in burp.cpp, I think a separate report is appropriate.

Classic, version 2.5.0.26074 (SVN revision 51557).

The command run was "gbak -v -b server:db stdout > /dev/null"

Here is the backtrace:

Program terminated with signal 11, Segmentation fault.
#0 0x0000000000426dc1 in BURP_print_status (status_vector=<value optimized out>,
    flagStuff=<value optimized out>) at ../src/burp/burp.cpp:1403
1403 tdgbl->uSvc->setServiceStatus(vector);
(gdb) bt
#0 0x0000000000426dc1 in BURP_print_status (status_vector=<value optimized out>,
    flagStuff=<value optimized out>) at ../src/burp/burp.cpp:1403
#1 0x000000000040558a in (anonymous namespace)::general_on_error () at ../temp/std/burp/backup.cpp:2078
#2 0x0000000000409ee5 in get_fields (relation=<value optimized out>)
    at ../temp/std/burp/backup.cpp:2384
#3 (anonymous namespace)::put_relation (relation=<value optimized out>)
    at ../temp/std/burp/backup.cpp:4342
#4 0x000000000040eda4 in (anonymous namespace)::write_relations () at ../temp/std/burp/backup.cpp:7254
#5 0x00000000004122e1 in BACKUP_backup (dbb_file=<value optimized out>,
    file_name=<value optimized out>) at ../temp/std/burp/backup.cpp:1794
#6 0x00000000004296ff in gbak (uSvc=0x7fff3514ba68) at ../src/burp/burp.cpp:1088
#7 0x000000000042d610 in main (argc=<value optimized out>, argv=<value optimized out>)
    at ../src/burp/burpMain.cpp:47

If the -v switch is dropped, the backtrace is slightly different:

Program terminated with signal 11, Segmentation fault.
#0 0x0000000000426dc1 in BURP_print_status (status_vector=<value optimized out>,
    flagStuff=<value optimized out>) at ../src/burp/burp.cpp:1403
1403 tdgbl->uSvc->setServiceStatus(vector);
(gdb) bt
#0 0x0000000000426dc1 in BURP_print_status (status_vector=<value optimized out>,
    flagStuff=<value optimized out>) at ../src/burp/burp.cpp:1403
#1 0x0000000000426ee0 in BURP_error_redirect (status_vector=0x7f33cab9e208, errcode=29, arg=...)
    at ../src/burp/burp.cpp:1253
#2 0x00000000004104fe in (anonymous namespace)::put_data (relation=<value optimized out>)
    at ../temp/std/burp/backup.cpp:3654
#3 0x000000000041268a in BACKUP_backup (dbb_file=<value optimized out>,
    file_name=<value optimized out>) at ../temp/std/burp/backup.cpp:1840
#4 0x00000000004296ff in gbak (uSvc=0x7fffeca4f228) at ../src/burp/burp.cpp:1088
#5 0x000000000042d610 in main (argc=<value optimized out>, argv=<value optimized out>)
    at ../src/burp/burpMain.cpp:47


 All   Comments   Work Log   Change History   Version Control   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Alexander Peshkov added a comment - 30/Sep/10 01:42 PM
Damyan, this is not related with CORE-3143. Quite another problem.
BTW, please in the future provide 'bt all' - all parts of firebird 2.5 are MT programs, therefore single stack is not always enough.

Damyan Ivanov added a comment - 30/Sep/10 02:36 PM
Sorry I didn't notice there are threads.

Since I have deleted the core file from yesterday, I reproduced the segfault again and this time I got a very long backtrace, seems like an endless recursion. Here it is. I used "thread apply all bt" gdb command and ideed two threads are visible.

GNU gdb (GDB) 7.2-debian
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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 "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/gbak...Reading symbols from /usr/lib/debug/usr/bin/gbak...done.
done.
[New Thread 3456]
[New Thread 3457]
Reading symbols from /usr/lib/libfbembed.so.2.5...Reading symbols from /usr/lib/debug/usr/lib/libfbembed.so.2.5.0...done.
done.
Loaded symbols for /usr/lib/libfbembed.so.2.5
Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /usr/lib/libstdc++.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /lib/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /usr/lib/libicuuc.so.44...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libicuuc.so.44
Reading symbols from /usr/lib/libicudata.so.44...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libicudata.so.44
Reading symbols from /lib/libnss_files.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libnss_dns.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libnss_dns.so.2
Reading symbols from /lib/libresolv.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libresolv.so.2
Core was generated by `gbak -b server:db /dev/null'.
Program terminated with signal 11, Segmentation fault.
#0 Firebird::MemoryPool::allocate_nothrow (this=0x0, size=192) at ../src/common/classes/alloc.cpp:633
in ../src/common/classes/alloc.cpp

Thread 2 (Thread 3457):
#0 0x00007f85ff6fda57 in munmap () from /lib/libc.so.6
#1 0x00007f86006711bb in Firebird::MemoryPool::external_free (blk=0x7f8600b43000, size=@0x7f85fe088838, use_cache=255) at ../src/common/classes/alloc.cpp:568
#2 0x00007f8600673a04 in Firebird::MemoryPool::cleanup () at ../src/common/classes/alloc.cpp:305
#3 0x00007f860067bff3 in allClean (this=<value optimized out>, __in_chrg=<value optimized out>) at ../src/common/classes/init.cpp:74
#4 (anonymous namespace)::Cleanup::~Cleanup (this=<value optimized out>, __in_chrg=<value optimized out>) at ../src/common/classes/init.cpp:89
#5 0x00007f85ff668965 in __cxa_finalize () from /lib/libc.so.6
#6 0x00007f8600384ad6 in __do_global_dtors_aux () from /usr/lib/libfbembed.so.2.5
#7 0x0000000000000000 in ?? ()

Thread 1 (Thread 3456):
#0 Firebird::MemoryPool::allocate_nothrow (this=0x0, size=192) at ../src/common/classes/alloc.cpp:633
#1 0x00007f8600672e1d in Firebird::MemoryPool::allocate (this=0x0, size=192) at ../src/common/classes/alloc.cpp:809
#2 0x00007f860067c965 in operator new (this=0x7fffa5251690, k=1, c=335544373) at ../src/include/../common/classes/alloc.h:517
#3 Firebird::Arg::StatusVector::StatusVector (this=0x7fffa5251690, k=1, c=335544373) at ../src/common/StatusArg.cpp:66
#4 0x00007f860067cb11 in Firebird::Arg::Gds::Gds (this=0x0, s=335544373) at ../src/common/StatusArg.cpp:204
#5 0x00007f860067aaa2 in Firebird::system_error::system_error (this=0x1c16fc0, syscall=0x7f8600687d28 "pthread_mutex_lock", error_code=<value optimized out>) at ../src/common/fb_exception.cpp:351
#6 0x00007f860067abd2 in Firebird::system_call_failed::system_call_failed (this=0x0, syscall=0xc0 <Address 0xc0 out of bounds>, error_code=335544373) at ../src/common/fb_exception.cpp:379
#7 0x00007f860067acd5 in Firebird::system_call_failed::raise (syscall=0x7f8600687d28 "pthread_mutex_lock", error_code=22) at ../src/common/fb_exception.cpp:393
#8 0x00007f8600672d9e in enter (this=0x7f8600c32020, size=192) at ../src/include/../common/classes/locks.h:172
#9 Firebird::MemoryPool::allocate_nothrow (this=0x7f8600c32020, size=192) at ../src/common/classes/alloc.cpp:739
#10 0x00007f8600672e1d in Firebird::MemoryPool::allocate (this=0x0, size=192) at ../src/common/classes/alloc.cpp:809
#11 0x00007f860067c965 in operator new (this=0x7fffa5251800, k=1, c=335544373) at ../src/include/../common/classes/alloc.h:517
#12 Firebird::Arg::StatusVector::StatusVector (this=0x7fffa5251800, k=1, c=335544373) at ../src/common/StatusArg.cpp:66
#13 0x00007f860067cb11 in Firebird::Arg::Gds::Gds (this=0x0, s=335544373) at ../src/common/StatusArg.cpp:204
#14 0x00007f860067aaa2 in Firebird::system_error::system_error (this=0x1c16e80, syscall=0x7f8600687d28 "pthread_mutex_lock", error_code=<value optimized out>) at ../src/common/fb_exception.cpp:351
#15 0x00007f860067abd2 in Firebird::system_call_failed::system_call_failed (this=0x0, syscall=0xc0 <Address 0xc0 out of bounds>, error_code=335544373) at ../src/common/fb_exception.cpp:379
#16 0x00007f860067acd5 in Firebird::system_call_failed::raise (syscall=0x7f8600687d28 "pthread_mutex_lock", error_code=22) at ../src/common/fb_exception.cpp:393
#17 0x00007f8600672d9e in enter (this=0x7f8600c32020, size=192) at ../src/include/../common/classes/locks.h:172
#18 Firebird::MemoryPool::allocate_nothrow (this=0x7f8600c32020, size=192) at ../src/common/classes/alloc.cpp:739
#19 0x00007f8600672e1d in Firebird::MemoryPool::allocate (this=0x0, size=192) at ../src/common/classes/alloc.cpp:809
#20 0x00007f860067c965 in operator new (this=0x7fffa5251970, k=1, c=335544373) at ../src/include/../common/classes/alloc.h:517
#21 Firebird::Arg::StatusVector::StatusVector (this=0x7fffa5251970, k=1, c=335544373) at ../src/common/StatusArg.cpp:66
#22 0x00007f860067cb11 in Firebird::Arg::Gds::Gds (this=0x0, s=335544373) at ../src/common/StatusArg.cpp:204
#23 0x00007f860067aaa2 in Firebird::system_error::system_error (this=0x1c16d40, syscall=0x7f8600687d28 "pthread_mutex_lock", error_code=<value optimized out>) at ../src/common/fb_exception.cpp:351
#24 0x00007f860067abd2 in Firebird::system_call_failed::system_call_failed (this=0x0, syscall=0xc0 <Address 0xc0 out of bounds>, error_code=335544373) at ../src/common/fb_exception.cpp:379
#25 0x00007f860067acd5 in Firebird::system_call_failed::raise (syscall=0x7f8600687d28 "pthread_mutex_lock", error_code=22) at ../src/common/fb_exception.cpp:393
#26 0x00007f8600672d9e in enter (this=0x7f8600c32020, size=192) at ../src/include/../common/classes/locks.h:172
#27 Firebird::MemoryPool::allocate_nothrow (this=0x7f8600c32020, size=192) at ../src/common/classes/alloc.cpp:739
#28 0x00007f8600672e1d in Firebird::MemoryPool::allocate (this=0x0, size=192) at ../src/common/classes/alloc.cpp:809
#29 0x00007f860067c965 in operator new (this=0x7fffa5251ae0, k=1, c=335544373) at ../src/include/../common/classes/alloc.h:517
#30 Firebird::Arg::StatusVector::StatusVector (this=0x7fffa5251ae0, k=1, c=335544373) at ../src/common/StatusArg.cpp:66
#31 0x00007f860067cb11 in Firebird::Arg::Gds::Gds (this=0x0, s=335544373) at ../src/common/StatusArg.cpp:204
#32 0x00007f860067aaa2 in Firebird::system_error::system_error (this=0x1c16c00, syscall=0x7f8600687d28 "pthread_mutex_lock", error_code=<value optimized out>) at ../src/common/fb_exception.cpp:351
#33 0x00007f860067abd2 in Firebird::system_call_failed::system_call_failed (this=0x0, syscall=0xc0 <Address 0xc0 out of bounds>, error_code=335544373) at ../src/common/fb_exception.cpp:379
#34 0x00007f860067acd5 in Firebird::system_call_failed::raise (syscall=0x7f8600687d28 "pthread_mutex_lock", error_code=22) at ../src/common/fb_exception.cpp:393
#35 0x00007f8600672d9e in enter (this=0x7f8600c32020, size=192) at ../src/include/../common/classes/locks.h:172
#36 Firebird::MemoryPool::allocate_nothrow (this=0x7f8600c32020, size=192) at ../src/common/classes/alloc.cpp:739
#37 0x00007f8600672e1d in Firebird::MemoryPool::allocate (this=0x0, size=192) at ../src/common/classes/alloc.cpp:809
#38 0x00007f860067c965 in operator new (this=0x7fffa5251c50, k=1, c=335544373) at ../src/include/../common/classes/alloc.h:517
#39 Firebird::Arg::StatusVector::StatusVector (this=0x7fffa5251c50, k=1, c=335544373) at ../src/common/StatusArg.cpp:66
#40 0x00007f860067cb11 in Firebird::Arg::Gds::Gds (this=0x0, s=335544373) at ../src/common/StatusArg.cpp:204
#41 0x00007f860067aaa2 in Firebird::system_error::system_error (this=0x1c16ac0, syscall=0x7f8600687d28 "pthread_mutex_lock", error_code=<value optimized out>) at ../src/common/fb_exception.cpp:351
#42 0x00007f860067abd2 in Firebird::system_call_failed::system_call_failed (this=0x0, syscall=0xc0 <Address 0xc0 out of bounds>, error_code=335544373) at ../src/common/fb_exception.cpp:379
#43 0x00007f860067acd5 in Firebird::system_call_failed::raise (syscall=0x7f8600687d28 "pthread_mutex_lock", error_code=22) at ../src/common/fb_exception.cpp:393
#44 0x00007f8600672d9e in enter (this=0x7f8600c32020, size=192) at ../src/include/../common/classes/locks.h:172
#45 Firebird::MemoryPool::allocate_nothrow (this=0x7f8600c32020, size=192) at ../src/common/classes/alloc.cpp:739
#46 0x00007f8600672e1d in Firebird::MemoryPool::allocate (this=0x0, size=192) at ../src/common/classes/alloc.cpp:809
#47 0x00007f860067c965 in operator new (this=0x7fffa5251dc0, k=1, c=335544373) at ../src/include/../common/classes/alloc.h:517
#48 Firebird::Arg::StatusVector::StatusVector (this=0x7fffa5251dc0, k=1, c=335544373) at ../src/common/StatusArg.cpp:66
#49 0x00007f860067cb11 in Firebird::Arg::Gds::Gds (this=0x0, s=335544373) at ../src/common/StatusArg.cpp:204
#50 0x00007f860067aaa2 in Firebird::system_error::system_error (this=0x1c16980, syscall=0x7f8600687d28 "pthread_mutex_lock", error_code=<value optimized out>) at ../src/common/fb_exception.cpp:351
#51 0x00007f860067abd2 in Firebird::system_call_failed::system_call_failed (this=0x0, syscall=0xc0 <Address 0xc0 out of bounds>, error_code=335544373) at ../src/common/fb_exception.cpp:379
#52 0x00007f860067acd5 in Firebird::system_call_failed::raise (syscall=0x7f8600687d28 "pthread_mutex_lock", error_code=22) at ../src/common/fb_exception.cpp:393
#53 0x00007f8600672d9e in enter (this=0x7f8600c32020, size=192) at ../src/include/../common/classes/locks.h:172
#54 Firebird::MemoryPool::allocate_nothrow (this=0x7f8600c32020, size=192) at ../src/common/classes/alloc.cpp:739
#55 0x00007f8600672e1d in Firebird::MemoryPool::allocate (this=0x0, size=192) at ../src/common/classes/alloc.cpp:809
#56 0x00007f860067c965 in operator new (this=0x7fffa5251f30, k=1, c=335544373) at ../src/include/../common/classes/alloc.h:517
#57 Firebird::Arg::StatusVector::StatusVector (this=0x7fffa5251f30, k=1, c=335544373) at ../src/common/StatusArg.cpp:66
#58 0x00007f860067cb11 in Firebird::Arg::Gds::Gds (this=0x0, s=335544373) at ../src/common/StatusArg.cpp:204
#59 0x00007f860067aaa2 in Firebird::system_error::system_error (this=0x1c16840, syscall=0x7f8600687d28 "pthread_mutex_lock", error_code=<value optimized out>) at ../src/common/fb_exception.cpp:351
#60 0x00007f860067abd2 in Firebird::system_call_failed::system_call_failed (this=0x0, syscall=0xc0 <Address 0xc0 out of bounds>, error_code=335544373) at ../src/common/fb_exception.cpp:379
#61 0x00007f860067acd5 in Firebird::system_call_failed::raise (syscall=0x7f8600687d28 "pthread_mutex_lock", error_code=22) at ../src/common/fb_exception.cpp:393
#62 0x00007f8600672d9e in enter (this=0x7f8600c32020, size=192) at ../src/include/../common/classes/locks.h:172
#63 Firebird::MemoryPool::allocate_nothrow (this=0x7f8600c32020, size=192) at ../src/common/classes/alloc.cpp:739
#64 0x00007f8600672e1d in Firebird::MemoryPool::allocate (this=0x0, size=192) at ../src/common/classes/alloc.cpp:809
#65 0x00007f860067c965 in operator new (this=0x7fffa52520a0, k=1, c=335544373) at ../src/include/../common/classes/alloc.h:517
#66 Firebird::Arg::StatusVector::StatusVector (this=0x7fffa52520a0, k=1, c=335544373) at ../src/common/StatusArg.cpp:66
#67 0x00007f860067cb11 in Firebird::Arg::Gds::Gds (this=0x0, s=335544373) at ../src/common/StatusArg.cpp:204
#68 0x00007f860067aaa2 in Firebird::system_error::system_error (this=0x1c16700, syscall=0x7f8600687d28 "pthread_mutex_lock", error_code=<value optimized out>) at ../src/common/fb_exception.cpp:351
#69 0x00007f860067abd2 in Firebird::system_call_failed::system_call_failed (this=0x0, syscall=0xc0 <Address 0xc0 out of bounds>, error_code=335544373) at ../src/common/fb_exception.cpp:379
#70 0x00007f860067acd5 in Firebird::system_call_failed::raise (syscall=0x7f8600687d28 "pthread_mutex_lock", error_code=22) at ../src/common/fb_exception.cpp:393
#71 0x00007f8600672d9e in enter (this=0x7f8600c32020, size=192) at ../src/include/../common/classes/locks.h:172
#72 Firebird::MemoryPool::allocate_nothrow (this=0x7f8600c32020, size=192) at ../src/common/classes/alloc.cpp:739
#73 0x00007f8600672e1d in Firebird::MemoryPool::allocate (this=0x0, size=192) at ../src/common/classes/alloc.cpp:809
#74 0x00007f860067c965 in operator new (this=0x7fffa5252210, k=1, c=335544373) at ../src/include/../common/classes/alloc.h:517
#75 Firebird::Arg::StatusVector::StatusVector (this=0x7fffa5252210, k=1, c=335544373) at ../src/common/StatusArg.cpp:66
#76 0x00007f860067cb11 in Firebird::Arg::Gds::Gds (this=0x0, s=335544373) at ../src/common/StatusArg.cpp:204
#77 0x00007f860067aaa2 in Firebird::system_error::system_error (this=0x1c165c0, syscall=0x7f8600687d28 "pthread_mutex_lock", error_code=<value optimized out>) at ../src/common/fb_exception.cpp:351
#78 0x00007f860067abd2 in Firebird::system_call_failed::system_call_failed (this=0x0, syscall=0xc0 <Address 0xc0 out of bounds>, error_code=335544373) at ../src/common/fb_exception.cpp:379
#79 0x00007f860067acd5 in Firebird::system_call_failed::raise (syscall=0x7f8600687d28 "pthread_mutex_lock", error_code=22) at ../src/common/fb_exception.cpp:393
#80 0x00007f8600672d9e in enter (this=0x7f8600c32020, size=192) at ../src/include/../common/classes/locks.h:172
#81 Firebird::MemoryPool::allocate_nothrow (this=0x7f8600c32020, size=192) at ../src/common/classes/alloc.cpp:739
#82 0x00007f8600672e1d in Firebird::MemoryPool::allocate (this=0x0, size=192) at ../src/common/classes/alloc.cpp:809
#83 0x00007f860067c965 in operator new (this=0x7fffa5252380, k=1, c=335544373) at ../src/include/../common/classes/alloc.h:517
#84 Firebird::Arg::StatusVector::StatusVector (this=0x7fffa5252380, k=1, c=335544373) at ../src/common/StatusArg.cpp:66
#85 0x00007f860067cb11 in Firebird::Arg::Gds::Gds (this=0x0, s=335544373) at ../src/common/StatusArg.cpp:204
#86 0x00007f860067aaa2 in Firebird::system_error::system_error (this=0x1c16480, syscall=0x7f8600687d28 "pthread_mutex_lock", error_code=<value optimized out>) at ../src/common/fb_exception.cpp:351
#87 0x00007f860067abd2 in Firebird::system_call_failed::system_call_failed (this=0x0, syscall=0xc0 <Address 0xc0 out of bounds>, error_code=335544373) at ../src/common/fb_exception.cpp:379
#88 0x00007f860067acd5 in Firebird::system_call_failed::raise (syscall=0x7f8600687d28 "pthread_mutex_lock", error_code=22) at ../src/common/fb_exception.cpp:393
#89 0x00007f8600672d9e in enter (this=0x7f8600c32020, size=192) at ../src/include/../common/classes/locks.h:172
#90 Firebird::MemoryPool::allocate_nothrow (this=0x7f8600c32020, size=192) at ../src/common/classes/alloc.cpp:739
#91 0x00007f8600672e1d in Firebird::MemoryPool::allocate (this=0x0, size=192) at ../src/common/classes/alloc.cpp:809
#92 0x00007f860067c965 in operator new (this=0x7fffa52524f0, k=1, c=335544373) at ../src/include/../common/classes/alloc.h:517
#93 Firebird::Arg::StatusVector::StatusVector (this=0x7fffa52524f0, k=1, c=335544373) at ../src/common/StatusArg.cpp:66
#94 0x00007f860067cb11 in Firebird::Arg::Gds::Gds (this=0x0, s=335544373) at ../src/common/StatusArg.cpp:204
#95 0x00007f860067aaa2 in Firebird::system_error::system_error (this=0x1c16340, syscall=0x7f8600687d28 "pthread_mutex_lock", error_code=<value optimized out>) at ../src/common/fb_exception.cpp:351
#96 0x00007f860067abd2 in Firebird::system_call_failed::system_call_failed (this=0x0, syscall=0xc0 <Address 0xc0 out of bounds>, error_code=335544373) at ../src/common/fb_exception.cpp:379
#97 0x00007f860067acd5 in Firebird::system_call_failed::raise (syscall=0x7f8600687d28 "pthread_mutex_lock", error_code=22) at ../src/common/fb_exception.cpp:393
#98 0x00007f8600672d9e in enter (this=0x7f8600c32020, size=192) at ../src/include/../common/classes/locks.h:172
#99 Firebird::MemoryPool::allocate_nothrow (this=0x7f8600c32020, size=192) at ../src/common/classes/alloc.cpp:739
#100 0x00007f8600672e1d in Firebird::MemoryPool::allocate (this=0x0, size=192) at ../src/common/classes/alloc.cpp:809
#101 0x00007f860067c965 in operator new (this=0x7fffa5252660, k=1, c=335544373) at ../src/include/../common/classes/alloc.h:517
#102 Firebird::Arg::StatusVector::StatusVector (this=0x7fffa5252660, k=1, c=335544373) at ../src/common/StatusArg.cpp:66
#103 0x00007f860067cb11 in Firebird::Arg::Gds::Gds (this=0x0, s=335544373) at ../src/common/StatusArg.cpp:204
#104 0x00007f860067aaa2 in Firebird::system_error::system_error (this=0x1c16200, syscall=0x7f8600687d28 "pthread_mutex_lock", error_code=<value optimized out>) at ../src/common/fb_exception.cpp:351
#105 0x00007f860067abd2 in Firebird::system_call_failed::system_call_failed (this=0x0, syscall=0xc0 <Address 0xc0 out of bounds>, error_code=335544373) at ../src/common/fb_exception.cpp:379
#106 0x00007f860067acd5 in Firebird::system_call_failed::raise (syscall=0x7f8600687d28 "pthread_mutex_lock", error_code=22) at ../src/common/fb_exception.cpp:393
#107 0x00007f8600672d9e in enter (this=0x7f8600c32020, size=192) at ../src/include/../common/classes/locks.h:172
#108 Firebird::MemoryPool::allocate_nothrow (this=0x7f8600c32020, size=192) at ../src/common/classes/alloc.cpp:739
#109 0x00007f8600672e1d in Firebird::MemoryPool::allocate (this=0x0, size=192) at ../src/common/classes/alloc.cpp:809
#110 0x00007f860067c965 in operator new (this=0x7fffa52527d0, k=1, c=335544373) at ../src/include/../common/classes/alloc.h:517
#111 Firebird::Arg::StatusVector::StatusVector (this=0x7fffa52527d0, k=1, c=335544373) at ../src/common/StatusArg.cpp:66
#112 0x00007f860067cb11 in Firebird::Arg::Gds::Gds (this=0x0, s=335544373) at ../src/common/StatusArg.cpp:204
#113 0x00007f860067aaa2 in Firebird::system_error::system_error (this=0x1c160c0, syscall=0x7f8600687d28 "pthread_mutex_lock", error_code=<value optimized out>) at ../src/common/fb_exception.cpp:351
#114 0x00007f860067abd2 in Firebird::system_call_failed::system_call_failed (this=0x0, syscall=0xc0 <Address 0xc0 out of bounds>, error_code=335544373) at ../src/common/fb_exception.cpp:379
#115 0x00007f860067acd5 in Firebird::system_call_failed::raise (syscall=0x7f8600687d28 "pthread_mutex_lock", error_code=22) at ../src/common/fb_exception.cpp:393
#116 0x00007f8600672d9e in enter (this=0x7f8600c32020, size=192) at ../src/include/../common/classes/locks.h:172
#117 Firebird::MemoryPool::allocate_nothrow (this=0x7f8600c32020, size=192) at ../src/common/classes/alloc.cpp:739
#118 0x00007f8600672e1d in Firebird::MemoryPool::allocate (this=0x0, size=192) at ../src/common/classes/alloc.cpp:809
#119 0x00007f860067c965 in operator new (this=0x7fffa5252940, k=1, c=335544373) at ../src/include/../common/classes/alloc.h:517
#120 Firebird::Arg::StatusVector::StatusVector (this=0x7fffa5252940, k=1, c=335544373) at ../src/common/StatusArg.cpp:66
#121 0x00007f860067cb11 in Firebird::Arg::Gds::Gds (this=0x0, s=335544373) at ../src/common/StatusArg.cpp:204
#122 0x00007f860067aaa2 in Firebird::system_error::system_error (this=0x1c15f80, syscall=0x7f8600687d28 "pthread_mutex_lock", error_code=<value optimized out>) at ../src/common/fb_exception.cpp:351
#123 0x00007f860067abd2 in Firebird::system_call_failed::system_call_failed (this=0x0, syscall=0xc0 <Address 0xc0 out of bounds>, error_code=335544373) at ../src/common/fb_exception.cpp:379
#124 0x00007f860067acd5 in Firebird::system_call_failed::raise (syscall=0x7f8600687d28 "pthread_mutex_lock", error_code=22) at ../src/common/fb_exception.cpp:393
#125 0x00007f8600672d9e in enter (this=0x7f8600c32020, size=192) at ../src/include/../common/classes/locks.h:172
#126 Firebird::MemoryPool::allocate_nothrow (this=0x7f8600c32020, size=192) at ../src/common/classes/alloc.cpp:739
#127 0x00007f8600672e1d in Firebird::MemoryPool::allocate (this=0x0, size=192) at ../src/common/classes/alloc.cpp:809
#128 0x00007f860067c965 in operator new (this=0x7fffa5252ab0, k=1, c=335544373) at ../src/include/../common/classes/alloc.h:517
#129 Firebird::Arg::StatusVector::StatusVector (this=0x7fffa5252ab0, k=1, c=335544373) at ../src/common/StatusArg.cpp:66
#130 0x00007f860067cb11 in Firebird::Arg::Gds::Gds (this=0x0, s=335544373) at ../src/common/StatusArg.cpp:204
#131 0x00007f860067aaa2 in Firebird::system_error::system_error (this=0x1c15e40, syscall=0x7f8600687d28 "pthread_mutex_lock", error_code=<value optimized out>) at ../src/common/fb_exception.cpp:351
#132 0x00007f860067abd2 in Firebird::system_call_failed::system_call_failed (this=0x0, syscall=0xc0 <Address 0xc0 out of bounds>, error_code=335544373) at ../src/common/fb_exception.cpp:379
#133 0x00007f860067acd5 in Firebird::system_call_failed::raise (syscall=0x7f8600687d28 "pthread_mutex_lock", error_code=22) at ../src/common/fb_exception.cpp:393
#134 0x00007f8600672d9e in enter (this=0x7f8600c32020, size=192) at ../src/include/../common/classes/locks.h:172
#135 Firebird::MemoryPool::allocate_nothrow (this=0x7f8600c32020, size=192) at ../src/common/classes/alloc.cpp:739
#136 0x00007f8600672e1d in Firebird::MemoryPool::allocate (this=0x0, size=192) at ../src/common/classes/alloc.cpp:809
#137 0x00007f860067c965 in operator new (this=0x7fffa5252c20, k=1, c=335544373) at ../src/include/../common/classes/alloc.h:517
#138 Firebird::Arg::StatusVector::StatusVector (this=0x7fffa5252c20, k=1, c=335544373) at ../src/common/StatusArg.cpp:66
#139 0x00007f860067cb11 in Firebird::Arg::Gds::Gds (this=0x0, s=335544373) at ../src/common/StatusArg.cpp:204
#140 0x00007f860067aaa2 in Firebird::system_error::system_error (this=0x1c15d00, syscall=0x7f8600687d28 "pthread_mutex_lock", error_code=<value optimized out>) at ../src/common/fb_exception.cpp:351
#141 0x00007f860067abd2 in Firebird::system_call_failed::system_call_failed (this=0x0, syscall=0xc0 <Address 0xc0 out of bounds>, error_code=335544373) at ../src/common/fb_exception.cpp:379
#142 0x00007f860067acd5 in Firebird::system_call_failed::raise (syscall=0x7f8600687d28 "pthread_mutex_lock", error_code=22) at ../src/common/fb_exception.cpp:393
#143 0x00007f8600672d9e in enter (this=0x7f8600c32020, size=192) at ../src/include/../common/classes/locks.h:172
#144 Firebird::MemoryPool::allocate_nothrow (this=0x7f8600c32020, size=192) at ../src/common/classes/alloc.cpp:739
#145 0x00007f8600672e1d in Firebird::MemoryPool::allocate (this=0x0, size=192) at ../src/common/classes/alloc.cpp:809
#146 0x00007f860067c965 in operator new (this=0x7fffa5252d90, k=1, c=335544373) at ../src/include/../common/classes/alloc.h:517
#147 Firebird::Arg::StatusVector::StatusVector (this=0x7fffa5252d90, k=1, c=335544373) at ../src/common/StatusArg.cpp:66
#148 0x00007f860067cb11 in Firebird::Arg::Gds::Gds (this=0x0, s=335544373) at ../src/common/StatusArg.cpp:204
#149 0x00007f860067aaa2 in Firebird::system_error::system_error (this=0x1c15bc0, syscall=0x7f8600687d28 "pthread_mutex_lock", error_code=<value optimized out>) at ../src/common/fb_exception.cpp:351
#150 0x00007f860067abd2 in Firebird::system_call_failed::system_call_failed (this=0x0, syscall=0xc0 <Address 0xc0 out of bounds>, error_code=335544373) at ../src/common/fb_exception.cpp:379
#151 0x00007f860067acd5 in Firebird::system_call_failed::raise (syscall=0x7f8600687d28 "pthread_mutex_lock", error_code=22) at ../src/common/fb_exception.cpp:393
#152 0x00007f8600672d9e in enter (this=0x7f8600c32020, size=192) at ../src/include/../common/classes/locks.h:172
#153 Firebird::MemoryPool::allocate_nothrow (this=0x7f8600c32020, size=192) at ../src/common/classes/alloc.cpp:739
#154 0x00007f8600672e1d in Firebird::MemoryPool::allocate (this=0x0, size=192) at ../src/common/classes/alloc.cpp:809
#155 0x00007f860067c965 in operator new (this=0x7fffa5252f00, k=1, c=335544373) at ../src/include/../common/classes/alloc.h:517
#156 Firebird::Arg::StatusVector::StatusVector (this=0x7fffa5252f00, k=1, c=335544373) at ../src/common/StatusArg.cpp:66
#157 0x00007f860067cb11 in Firebird::Arg::Gds::Gds (this=0x0, s=335544373) at ../src/common/StatusArg.cpp:204
#158 0x00007f860067aaa2 in Firebird::system_error::system_error (this=0x1c15a80, syscall=0x7f8600687d28 "pthread_mutex_lock", error_code=<value optimized out>) at ../src/common/fb_exception.cpp:351
#159 0x00007f860067abd2 in Firebird::system_call_failed::system_call_failed (this=0x0, syscall=0xc0 <Address 0xc0 out of bounds>, error_code=335544373) at ../src/common/fb_exception.cpp:379
#160 0x00007f860067acd5 in Firebird::system_call_failed::raise (syscall=0x7f8600687d28 "pthread_mutex_lock", error_code=22) at ../src/common/fb_exception.cpp:393
#161 0x00007f8600672d9e in enter (this=0x7f8600c32020, size=192) at ../src/include/../common/classes/locks.h:172
#162 Firebird::MemoryPool::allocate_nothrow (this=0x7f8600c32020, size=192) at ../src/common/classes/alloc.cpp:739
#163 0x00007f8600672e1d in Firebird::MemoryPool::allocate (this=0x0, size=192) at ../src/common/classes/alloc.cpp:809
#164 0x00007f860067c965 in operator new (this=0x7fffa5253070, k=1, c=335544373) at ../src/include/../common/classes/alloc.h:517
#165 Firebird::Arg::StatusVector::StatusVector (this=0x7fffa5253070, k=1, c=335544373) at ../src/common/StatusArg.cpp:66
#166 0x00007f860067cb11 in Firebird::Arg::Gds::Gds (this=0x0, s=335544373) at ../src/common/StatusArg.cpp:204
#167 0x00007f860067aaa2 in Firebird::system_error::system_error (this=0x1c15940, syscall=0x7f8600687d28 "pthread_mutex_lock", error_code=<value optimized out>) at ../src/common/fb_exception.cpp:351
#168 0x00007f860067abd2 in Firebird::system_call_failed::system_call_failed (this=0x0, syscall=0xc0 <Address 0xc0 out of bounds>, error_code=335544373) at ../src/common/fb_exception.cpp:379
#169 0x00007f860067acd5 in Firebird::system_call_failed::raise (syscall=0x7f8600687d28 "pthread_mutex_lock", error_code=22) at ../src/common/fb_exception.cpp:393
#170 0x00007f8600672d9e in enter (this=0x7f8600c32020, size=192) at ../src/include/../common/classes/locks.h:172
#171 Firebird::MemoryPool::allocate_nothrow (this=0x7f8600c32020, size=192) at ../src/common/classes/alloc.cpp:739
#172 0x00007f8600672e1d in Firebird::MemoryPool::allocate (this=0x0, size=192) at ../src/common/classes/alloc.cpp:809
#173 0x00007f860067c965 in operator new (this=0x7fffa52531e0, k=1, c=335544373) at ../src/include/../common/classes/alloc.h:517
#174 Firebird::Arg::StatusVector::StatusVector (this=0x7fffa52531e0, k=1, c=335544373) at ../src/common/StatusArg.cpp:66
#175 0x00007f860067cb11 in Firebird::Arg::Gds::Gds (this=0x0, s=335544373) at ../src/common/StatusArg.cpp:204
#176 0x00007f860067aaa2 in Firebird::system_error::system_error (this=0x1c15800, syscall=0x7f8600687d28 "pthread_mutex_lock", error_code=<value optimized out>) at ../src/common/fb_exception.cpp:351
#177 0x00007f860067abd2 in Firebird::system_call_failed::system_call_failed (this=0x0, syscall=0xc0 <Address 0xc0 out of bounds>, error_code=335544373) at ../src/common/fb_exception.cpp:379
#178 0x00007f860067acd5 in Firebird::system_call_failed::raise (syscall=0x7f8600687d28 "pthread_mutex_lock", error_code=22) at ../src/common/fb_exception.cpp:393
#179 0x00007f8600672d9e in enter (this=0x7f8600c32020, size=192) at ../src/include/../common/classes/locks.h:172
#180 Firebird::MemoryPool::allocate_nothrow (this=0x7f8600c32020, size=192) at ../src/common/classes/alloc.cpp:739
#181 0x00007f8600672e1d in Firebird::MemoryPool::allocate (this=0x0, size=192) at ../src/common/classes/alloc.cpp:809
#182 0x00007f860067c965 in operator new (this=0x7fffa5253350, k=1, c=335544373) at ../src/include/../common/classes/alloc.h:517
#183 Firebird::Arg::StatusVector::StatusVector (this=0x7fffa5253350, k=1, c=335544373) at ../src/common/StatusArg.cpp:66
#184 0x00007f860067cb11 in Firebird::Arg::Gds::Gds (this=0x0, s=335544373) at ../src/common/StatusArg.cpp:204
#185 0x00007f860067aaa2 in Firebird::system_error::system_error (this=0x1c156c0, syscall=0x7f8600687d28 "pthread_mutex_lock", error_code=<value optimized out>) at ../src/common/fb_exception.cpp:351
#186 0x00007f860067abd2 in Firebird::system_call_failed::system_call_failed (this=0x0, syscall=0xc0 <Address 0xc0 out of bounds>, error_code=335544373) at ../src/common/fb_exception.cpp:379
#187 0x00007f860067acd5 in Firebird::system_call_failed::raise (syscall=0x7f8600687d28 "pthread_mutex_lock", error_code=22) at ../src/common/fb_exception.cpp:393
#188 0x00007f8600672d9e in enter (this=0x7f8600c32020, size=192) at ../src/include/../common/classes/locks.h:172
#189 Firebird::MemoryPool::allocate_nothrow (this=0x7f8600c32020, size=192) at ../src/common/classes/alloc.cpp:739
#190 0x00007f8600672e1d in Firebird::MemoryPool::allocate (this=0x0, size=192) at ../src/common/classes/alloc.cpp:809
#191 0x00007f860067c965 in operator new (this=0x7fffa52534c0, k=1, c=335544373) at ../src/include/../common/classes/alloc.h:517
#192 Firebird::Arg::StatusVector::StatusVector (this=0x7fffa52534c0, k=1, c=335544373) at ../src/common/StatusArg.cpp:66
#193 0x00007f860067cb11 in Firebird::Arg::Gds::Gds (this=0x0, s=335544373) at ../src/common/StatusArg.cpp:204
#194 0x00007f860067aaa2 in Firebird::system_error::system_error (this=0x1c15580, syscall=0x7f8600687d28 "pthread_mutex_lock", error_code=<value optimized out>) at ../src/common/fb_exception.cpp:351
#195 0x00007f860067abd2 in Firebird::system_call_failed::system_call_failed (this=0x0, syscall=0xc0 <Address 0xc0 out of bounds>, error_code=335544373) at ../src/common/fb_exception.cpp:379
#196 0x00007f860067acd5 in Firebird::system_call_failed::raise (syscall=0x7f8600687d28 "pthread_mutex_lock", error_code=22) at ../src/common/fb_exception.cpp:393
#197 0x00007f8600672d9e in enter (this=0x7f8600c32020, size=192) at ../src/include/../common/classes/locks.h:172
#198 Firebird::MemoryPool::allocate_nothrow (this=0x7f8600c32020, size=192) at ../src/common/classes/alloc.cpp:739
#199 0x00007f8600672e1d in Firebird::MemoryPool::allocate (this=0x0, size=192) at ../src/common/classes/alloc.cpp:809
#200 0x00007f860067c965 in operator new (this=0x7fffa5253630, k=1, c=335544373) at ../src/include/../common/classes/alloc.h:517
#201 Firebird::Arg::StatusVector::StatusVector (this=0x7fffa5253630, k=1, c=335544373) at ../src/common/StatusArg.cpp:66
#202 0x00007f860067cb11 in Firebird::Arg::Gds::Gds (this=0x0, s=335544373) at ../src/common/StatusArg.cpp:204
#203 0x00007f860067aaa2 in Firebird::system_error::system_error (this=0x1c15440, syscall=0x7f8600687d28 "pthread_mutex_lock", error_code=<value optimized out>) at ../src/common/fb_exception.cpp:351
#204 0x00007f860067abd2 in Firebird::system_call_failed::system_call_failed (this=0x0, syscall=0xc0 <Address 0xc0 out of bounds>, error_code=335544373) at ../src/common/fb_exception.cpp:379
#205 0x00007f860067acd5 in Firebird::system_call_failed::raise (syscall=0x7f8600687d28 "pthread_mutex_lock", error_code=22) at ../src/common/fb_exception.cpp:393
#206 0x00007f8600672d9e in enter (this=0x7f8600c32020, size=192) at ../src/include/../common/classes/locks.h:172
#207 Firebird::MemoryPool::allocate_nothrow (this=0x7f8600c32020, size=192) at ../src/common/classes/alloc.cpp:739
#208 0x00007f8600672e1d in Firebird::MemoryPool::allocate (this=0x0, size=192) at ../src/common/classes/alloc.cpp:809
#209 0x00007f860067c965 in operator new (this=0x7fffa52537a0, k=1, c=335544373) at ../src/include/../common/classes/alloc.h:517
#210 Firebird::Arg::StatusVector::StatusVector (this=0x7fffa52537a0, k=1, c=335544373) at ../src/common/StatusArg.cpp:66
#211 0x00007f860067cb11 in Firebird::Arg::Gds::Gds (this=0x0, s=335544373) at ../src/common/StatusArg.cpp:204
#212 0x00007f860067aaa2 in Firebird::system_error::system_error (this=0x1c15300, syscall=0x7f8600687d28 "pthread_mutex_lock", error_code=<value optimized out>) at ../src/common/fb_exception.cpp:351
#213 0x00007f860067abd2 in Firebird::system_call_failed::system_call_failed (this=0x0, syscall=0xc0 <Address 0xc0 out of bounds>, error_code=335544373) at ../src/common/fb_exception.cpp:379
#214 0x00007f860067acd5 in Firebird::system_call_failed::raise (syscall=0x7f8600687d28 "pthread_mutex_lock", error_code=22) at ../src/common/fb_exception.cpp:393
#215 0x00007f8600672d9e in enter (this=0x7f8600c32020, size=192) at ../src/include/../common/classes/locks.h:172
#216 Firebird::MemoryPool::allocate_nothrow (this=0x7f8600c32020, size=192) at ../src/common/classes/alloc.cpp:739
#217 0x00007f8600672e1d in Firebird::MemoryPool::allocate (this=0x0, size=192) at ../src/common/classes/alloc.cpp:809
#218 0x00007f860067c965 in operator new (this=0x7fffa5253910, k=1, c=335544373) at ../src/include/../common/classes/alloc.h:517
#219 Firebird::Arg::StatusVector::StatusVector (this=0x7fffa5253910, k=1, c=335544373) at ../src/common/StatusArg.cpp:66
#220 0x00007f860067cb11 in Firebird::Arg::Gds::Gds (this=0x0, s=335544373) at ../src/common/StatusArg.cpp:204
#221 0x00007f860067aaa2 in Firebird::system_error::system_error (this=0x1c151c0, syscall=0x7f8600687d28 "pthread_mutex_lock", error_code=<value optimized out>) at ../src/common/fb_exception.cpp:351
#222 0x00007f860067abd2 in Firebird::system_call_failed::system_call_failed (this=0x0, syscall=0xc0 <Address 0xc0 out of bounds>, error_code=335544373) at ../src/common/fb_exception.cpp:379
#223 0x00007f860067acd5 in Firebird::system_call_failed::raise (syscall=0x7f8600687d28 "pthread_mutex_lock", error_code=22) at ../src/common/fb_exception.cpp:393
#224 0x00007f8600672d9e in enter (this=0x7f8600c32020, size=192) at ../src/include/../common/classes/locks.h:172
#225 Firebird::MemoryPool::allocate_nothrow (this=0x7f8600c32020, size=192) at ../src/common/classes/alloc.cpp:739
#226 0x00007f8600672e1d in Firebird::MemoryPool::allocate (this=0x0, size=192) at ../src/common/classes/alloc.cpp:809
#227 0x00007f860067c965 in operator new (this=0x7fffa5253a80, k=1, c=335544373) at ../src/include/../common/classes/alloc.h:517
#228 Firebird::Arg::StatusVector::StatusVector (this=0x7fffa5253a80, k=1, c=335544373) at ../src/common/StatusArg.cpp:66
#229 0x00007f860067cb11 in Firebird::Arg::Gds::Gds (this=0x0, s=335544373) at ../src/common/StatusArg.cpp:204
#230 0x00007f860067aaa2 in Firebird::system_error::system_error (this=0x1c15080, syscall=0x7f8600687d28 "pthread_mutex_lock", error_code=<value optimized out>) at ../src/common/fb_exception.cpp:351
#231 0x00007f860067abd2 in Firebird::system_call_failed::system_call_failed (this=0x0, syscall=0xc0 <Address 0xc0 out of bounds>, error_code=335544373) at ../src/common/fb_exception.cpp:379
#232 0x00007f860067acd5 in Firebird::system_call_failed::raise (syscall=0x7f8600687d28 "pthread_mutex_lock", error_code=22) at ../src/common/fb_exception.cpp:393
#233 0x00007f8600672d9e in enter (this=0x7f8600c32020, size=32) at ../src/include/../common/classes/locks.h:172
#234 Firebird::MemoryPool::allocate_nothrow (this=0x7f8600c32020, size=32) at ../src/common/classes/alloc.cpp:739
#235 0x00007f8600672e1d in Firebird::MemoryPool::allocate (this=0x0, size=192) at ../src/common/classes/alloc.cpp:809
#236 0x00007f8600607172 in operator new (request=<value optimized out>, msg_type=<value optimized out>) at ../src/remote/../remote/../jrd/../common/classes/alloc.h:537
#237 receive_after_start (request=<value optimized out>, msg_type=<value optimized out>) at ../src/remote/interface.cpp:6014
#238 0x00007f860060944f in REM_start_request (user_status=0x7fffa5254db0, req_handle=<value optimized out>, rtr_handle=0x14000035, level=0) at ../src/remote/interface.cpp:4234
#239 0x00007f860039956f in isc_start_request (user_status=<value optimized out>, req_handle=<value optimized out>, tra_handle=<value optimized out>, level=0) at ../src/jrd/why.cpp:4818
#240 0x0000000000410122 in (anonymous namespace)::put_data (relation=<value optimized out>) at ../temp/std/burp/backup.cpp:3627
#241 0x000000000041268a in BACKUP_backup (dbb_file=<value optimized out>, file_name=<value optimized out>) at ../temp/std/burp/backup.cpp:1840
#242 0x00000000004296ff in gbak (uSvc=0x0) at ../src/burp/burp.cpp:1088
#243 0x000000000042d610 in main (argc=<value optimized out>, argv=<value optimized out>) at ../src/burp/burpMain.cpp:47
(gdb) quit

Damyan Ivanov added a comment - 30/Sep/10 02:56 PM
Here is the multi-threaded backtrace of the original segfault, only 5 frames. No mater what debug packages I install for libstdc++ or libicu, the ???? frames stay that way.

GNU gdb (GDB) 7.2-debian
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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 "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/gbak...Reading symbols from /usr/lib/debug/usr/bin/gbak...done.
done.
[New Thread 5458]
[New Thread 5459]
Reading symbols from /usr/lib/libfbembed.so.2.5...Reading symbols from /usr/lib/debug/usr/lib/libfbembed.so.2.5.0...done.
done.
Loaded symbols for /usr/lib/libfbembed.so.2.5
Reading symbols from /lib/libdl.so.2...Reading symbols from /usr/lib/debug/lib/libdl-2.11.2.so...done.
done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /usr/lib/libstdc++.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /lib/libm.so.6...Reading symbols from /usr/lib/debug/lib/libm-2.11.2.so...done.
done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libgcc_s.so.1...Reading symbols from /usr/lib/debug/lib/libgcc_s.so.1...done.
done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/libc.so.6...Reading symbols from /usr/lib/debug/lib/libc-2.11.2.so...done.
done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug/lib/ld-2.11.2.so...done.
done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /lib/libpthread.so.0...Reading symbols from /usr/lib/debug/lib/libpthread-2.11.2.so...done.
done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /usr/lib/libicuuc.so.44...Reading symbols from /usr/lib/debug/usr/lib/libicuuc.so.44.1...done.
done.
Loaded symbols for /usr/lib/libicuuc.so.44
Reading symbols from /usr/lib/libicudata.so.44...Reading symbols from /usr/lib/debug/usr/lib/libicudata.so.44.1...(no debugging symbols found)...done.
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libicudata.so.44
Reading symbols from /lib/libnss_files.so.2...Reading symbols from /usr/lib/debug/lib/libnss_files-2.11.2.so...done.
done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libnss_dns.so.2...Reading symbols from /usr/lib/debug/lib/libnss_dns-2.11.2.so...done.
done.
Loaded symbols for /lib/libnss_dns.so.2
Reading symbols from /lib/libresolv.so.2...Reading symbols from /usr/lib/debug/lib/libresolv-2.11.2.so...done.
done.
Loaded symbols for /lib/libresolv.so.2
Core was generated by `gbak -b server:db /dev/null'.
Program terminated with signal 11, Segmentation fault.
#0 0x0000000000426dc1 in BURP_print_status (status_vector=<value optimized out>,
    flagStuff=<value optimized out>) at ../src/burp/burp.cpp:1403
in ../src/burp/burp.cpp

Thread 2 (Thread 5459):
#0 0x00007f3ddedc823c in memmove (dest=0x7f3de034a1d0, src=0x7f3de034a190, len=16) at memmove.c:109
#1 0x00007f3ddd7a04c0 in ?? ()
#2 0x0000000000000008 in ?? ()
#3 0x00007f3ddd7a04a0 in ?? ()
#4 0x00007f3ddfd8cc22 in Firebird::BePlusTree<Firebird::BlockInfo, unsigned long, Firebird::MemoryPool::InternalAllocator, Firebird::BlockInfo, Firebird::DefaultComparator<unsigned long> >::add (this=0x7f3de034a138, item=..., accessor=<value optimized out>) at ../src/include/../common/classes/tree.h:704
#5 0x0000000000000000 in ?? ()

Thread 1 (Thread 5458):
#0 0x0000000000426dc1 in BURP_print_status (status_vector=<value optimized out>, flagStuff=<value optimized out>) at ../src/burp/burp.cpp:1403
#1 0x0000000000426ee0 in BURP_error_redirect (status_vector=0x7f3de0348208, errcode=29, arg=...) at ../src/burp/burp.cpp:1253
#2 0x00000000004104fe in (anonymous namespace)::put_data (relation=<value optimized out>) at ../temp/std/burp/backup.cpp:3654
#3 0x000000000041268a in BACKUP_backup (dbb_file=<value optimized out>, file_name=<value optimized out>) at ../temp/std/burp/backup.cpp:1840
#4 0x00000000004296ff in gbak (uSvc=0x0) at ../src/burp/burp.cpp:1088
#5 0x000000000042d610 in main (argc=<value optimized out>, argv=<value optimized out>) at ../src/burp/burpMain.cpp:47
(gdb) quit